Accepting request 244769 from KDE:Frameworks5
Update to 5.0.1 OBS-URL: https://build.opensuse.org/request/show/244769 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kde-cli-tools5?expand=0&rev=6
This commit is contained in:
commit
b1c24e3304
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ccf1f0c460ffe5148c8dbc12caad2be6a1c40fee27eab75ecd6c88c338be6c8b
|
||||
size 467180
|
3
kde-cli-tools-5.0.1.tar.xz
Normal file
3
kde-cli-tools-5.0.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a0d48278e0bec794ff7ec520bb66ccce3d71896d201663d6f302f7721ef43b7
|
||||
size 467124
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 8 17:31:10 UTC 2014 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Update to 5.0.1
|
||||
* Translation updates
|
||||
- Install kdesu via update-alternatives
|
||||
- Require kdbusaddons-tools package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 11 18:33:06 UTC 2014 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: kde-cli-tools5
|
||||
Version: 5.0.0
|
||||
Version: 5.0.1
|
||||
Release: 0
|
||||
Summary: Additional CLI tools for KDE applications
|
||||
License: GPL-2.0+
|
||||
@ -39,6 +39,10 @@ BuildRequires: pkgconfig(Qt5Test) >= 5.3.0
|
||||
BuildRequires: pkgconfig(Qt5Widgets) >= 5.3.0
|
||||
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.3.0
|
||||
BuildRequires: pkgconfig(x11)
|
||||
# for kquitapp5
|
||||
Requires: kdbusaddons-tools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -46,7 +50,6 @@ Additional CLI tools for KDE applications and workspaces.
|
||||
|
||||
%prep
|
||||
%setup -q -n kde-cli-tools-%{version}
|
||||
sed -i '/^add_subdirectory(doc)/d' CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build -- -DBUILD_po=OFF
|
||||
@ -55,12 +58,31 @@ sed -i '/^add_subdirectory(doc)/d' CMakeLists.txt
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
# create a dummy target for /etc/alternatives/kdesu
|
||||
install -d -m 755 %{buildroot}%{_sysconfdir}/alternatives/
|
||||
touch %{buildroot}%{_sysconfdir}/alternatives/kdesu
|
||||
chmod +x %{buildroot}%{_sysconfdir}/alternatives/kdesu
|
||||
ln -s -f %{_sysconfdir}/alternatives/kdesu %{buildroot}%{_kf5_bindir}/kdesu
|
||||
touch %{buildroot}%{_sysconfdir}/alternatives/kdesu.1%{?ext_man}
|
||||
mv %{buildroot}%{_kf5_mandir}/man1/kdesu.1 %{buildroot}%{_kf5_mandir}/man1/kdesu-5.1
|
||||
ln -s -f %{_sysconfdir}/alternatives/kdesu.1%{?ext_man} %{buildroot}%{_kf5_mandir}/man1/kdesu.1%{?ext_man}
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_kf5_bindir}/kdesu kdesu %{_kf5_libdir}/libexec/kdesu 15 \
|
||||
--slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu-5.1%{?ext_man}
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
%{_sbindir}/update-alternatives --remove kdesu \
|
||||
%{_kf5_libdir}/libexec/kdesu
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_kf5_bindir}/kdesu
|
||||
%{_kf5_bindir}/kcmshell5
|
||||
%{_kf5_bindir}/kdecp5
|
||||
%{_kf5_bindir}/kdemv5
|
||||
@ -74,8 +96,10 @@ sed -i '/^add_subdirectory(doc)/d' CMakeLists.txt
|
||||
%{_kf5_servicesdir}/
|
||||
%{_kf5_libdir}/libkdeinit5_kcmshell5.so
|
||||
%{_kf5_libdir}/libexec/
|
||||
%ghost %{_sysconfdir}/alternatives/kdesu
|
||||
%{_kf5_plugindir}/
|
||||
#doc %{_kf5_htmldir}/
|
||||
#{_kf5_mandir}/man1/kdesu.*
|
||||
%ghost %{_sysconfdir}/alternatives/kdesu.1%{?ext_man}
|
||||
%doc %{_kf5_htmldir}/
|
||||
%{_kf5_mandir}/man1/kdesu*.*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user