sync with 22.03 sp1 branch
This commit is contained in:
parent
bf990966c5
commit
365b18d371
14
ukwm.spec
14
ukwm.spec
@ -1,8 +1,6 @@
|
|||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ukwm
|
Name: ukwm
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: lightweight GTK+ window manager
|
Summary: lightweight GTK+ window manager
|
||||||
License: GPL-2+ LGPL-2+ MIT~OldStyle+LegalDisclaimer Expat SGI-B-2.0
|
License: GPL-2+ LGPL-2+ MIT~OldStyle+LegalDisclaimer Expat SGI-B-2.0
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
@ -159,7 +157,7 @@ Ukwm is a small window manager, using GTK+ and Clutter to do
|
|||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
%define gettext_version %(dnf info gettext |grep Version |awk '{print $3}'| awk -F "." 'BEGIN {OFS = FS} {print $1,$2}')
|
%define gettext_version %(dnf info gettext |grep Version |awk '{print $3}'| awk -F "." 'BEGIN {OFS = FS} {print $1,$2}'| grep awk 'NR==1')
|
||||||
sed -i "/GETTEXT_MACRO_VERSION/s/0.19/%{gettext_version}/g" po/Makefile.in.in
|
sed -i "/GETTEXT_MACRO_VERSION/s/0.19/%{gettext_version}/g" po/Makefile.in.in
|
||||||
|
|
||||||
make
|
make
|
||||||
@ -190,7 +188,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
update-alternatives --remove x-window-manager \
|
update-alternatives --remove x-window-manager \
|
||||||
/usr/bin/ukwm
|
/usr/bin/ukwm &> /dev/null || :
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-alternatives --install /usr/bin/x-window-manager \
|
update-alternatives --install /usr/bin/x-window-manager \
|
||||||
@ -231,6 +229,12 @@ update-alternatives --install /usr/bin/x-window-manager \
|
|||||||
%exclude %{_datadir}/ukui
|
%exclude %{_datadir}/ukui
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 20 2023 douyan <douyan@kylinos.cn> - 1.2.1-3
|
||||||
|
- fix uninstall issue
|
||||||
|
|
||||||
|
* Fri Dec 2 2022 douyan <douyan@kylinos.cn> - 1.2.1-2
|
||||||
|
- fix 22.03 sp1 build error
|
||||||
|
|
||||||
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 1.2.1-1
|
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 1.2.1-1
|
||||||
- update to upstream version 1.2.1
|
- update to upstream version 1.2.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user