SHA256
1
0
forked from pool/kcoreaddons
Hrvoje Senjan
2014-02-19 23:29:48 +00:00
committed by Git OBS Bridge
parent f6e2eabd9c
commit ac81535d66
2 changed files with 17 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 19 23:32:50 UTC 2014 - hrvoje.senjan@gmail.com
- Create a separate (binary) kcoreaddons package, so library
package adheres to shlib policy
-------------------------------------------------------------------
Sat Feb 8 02:17:39 UTC 2014 - hrvoje.senjan@gmail.com

View File

@@ -43,6 +43,7 @@ replacement, accessing user information and many more.
Summary: Utilities for core application functionality and accessing the OS
Group: System/GUI/KDE
Requires: shared-mime-info
Requires: %{name} = %{version}
%description -n %lname
KCoreAddons provides classes built on top of QtCore to perform various tasks
@@ -54,6 +55,7 @@ replacement, accessing user information and many more.
Summary: Utilities for core application functionality and accessing the OS
Group: Development/Libraries/KDE
Requires: %lname = %{version}
Requires: %{name} = %{version}
Requires: extra-cmake-modules
Requires: pkgconfig(Qt5Core) >= 5.2.0
@@ -74,20 +76,24 @@ replacement, accessing user information and many more. Development files.
%kf5_makeinstall -C build
%fdupes -s %{buildroot}
%post -n %lname
/sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%post
%{_bindir}/update-mime-database %{_kf5_datadir}/mime &> /dev/null || :
%postun -n %lname
/sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%postun
%{_bindir}/update-mime-database %{_kf5_datadir}/mime &> /dev/null || :
%files -n %lname
%files
%defattr(-,root,root)
%doc COPYING* README*
%dir %{_kf5_datadir}/mime
%dir %{_kf5_datadir}/mime/packages
%{_kf5_appsdir}/mime/packages/kde5.xml
%files -n %lname
%{_kf5_libdir}/libKF5CoreAddons.so.*
%files devel