diff --git a/kiconthemes.spec b/kiconthemes.spec index 233b30f..9774add 100644 --- a/kiconthemes.spec +++ b/kiconthemes.spec @@ -1,7 +1,8 @@ %define majver %(echo %version | cut -d. -f1-2) + Name: kiconthemes Version: 5.9.0 -Release: 1mamba +Release: 2mamba Summary: Icon GUI utilities Group: Graphical Desktop/Applications/Utilities Vendor: openmamba @@ -25,6 +26,16 @@ BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake +BuildRequires: extra-cmake-modules +BuildRequires: rpm-macros-kde5 +BuildRequires: libQt5Core +BuildRequires: libQt5Gui +BuildRequires: libQt5Widgets +BuildRequires: libQt5Svg +BuildRequires: libQt5DBus +BuildRequires: libQt5Test +BuildRequires: gettext +BuildRequires: python Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -52,14 +63,14 @@ This package contains libraries and header files for developing applications tha %setup -q %build -%cmake -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -%find_lang kiconthemes5 +%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -67,25 +78,26 @@ This package contains libraries and header files for developing applications tha %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig -%files -n lib%{name} -f kiconthemes5.lang +%files -n lib%{name} -f %{name}5_qt.lang %defattr(-,root,root) -%{_libdir}/libKF5IconThemes.so.* +%{_kde5_bindir}/kiconfinder5 +%{_kde5_libdir}/libKF5IconThemes.so.* %doc COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) -%{_bindir}/kiconfinder5 -%dir %{_includedir}/KF5/KIconThemes -%{_includedir}/KF5/KIconThemes/* -%{_includedir}/KF5/kiconthemes_version.h -%dir %{_libdir}/cmake/KF5IconThemes -%{_libdir}/cmake/KF5IconThemes/KF5IconThemes*.cmake -%{_libdir}/libKF5IconThemes.so -/usr/mkspecs/modules/qt_KIconThemes.pri +%{_kde5_includedir}/KIconThemes +%{_kde5_includedir}/%{name}_version.h +%{_kde5_libdir}/cmake/KF5IconThemes +%{_kde5_libdir}/libKF5IconThemes.so +%{_kde5_mkspecsdir}/qt_KIconThemes.pri %doc README.md - %changelog +* Sun Apr 26 2015 Davide Madrisan 5.9.0-2mamba +- standardize the specfile add some missing build requirements +- move kiconfinder5 to the main package + * Thu Apr 16 2015 Automatic Build System 5.9.0-1mamba - automatic version update by autodist @@ -96,4 +108,4 @@ This package contains libraries and header files for developing applications tha - automatic version update by autodist * Sat Feb 14 2015 Silvan Calarco 5.6.0-1mamba -- package created using the webbuild interface +- package created using the webbuild interface \ No newline at end of file