standardize the specfile add some missing build requirements

move kiconfinder5 to the main package [release 5.9.0-2mamba;Sun Apr 26 2015]
This commit is contained in:
Davide Madrisan 2024-01-06 01:41:42 +01:00
parent 12392c20d7
commit 928fbc2d51

View File

@ -1,7 +1,8 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: kiconthemes Name: kiconthemes
Version: 5.9.0 Version: 5.9.0
Release: 1mamba Release: 2mamba
Summary: Icon GUI utilities Summary: Icon GUI utilities
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba Vendor: openmamba
@ -25,6 +26,16 @@ BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake 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} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -52,14 +63,14 @@ This package contains libraries and header files for developing applications tha
%setup -q %setup -q
%build %build
%cmake -d build %cmake_kde5 -d build
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%find_lang kiconthemes5 %find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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 %post -n lib%{name} -p /sbin/ldconfig
%postun -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) %defattr(-,root,root)
%{_libdir}/libKF5IconThemes.so.* %{_kde5_bindir}/kiconfinder5
%{_kde5_libdir}/libKF5IconThemes.so.*
%doc COPYING.LIB %doc COPYING.LIB
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/kiconfinder5 %{_kde5_includedir}/KIconThemes
%dir %{_includedir}/KF5/KIconThemes %{_kde5_includedir}/%{name}_version.h
%{_includedir}/KF5/KIconThemes/* %{_kde5_libdir}/cmake/KF5IconThemes
%{_includedir}/KF5/kiconthemes_version.h %{_kde5_libdir}/libKF5IconThemes.so
%dir %{_libdir}/cmake/KF5IconThemes %{_kde5_mkspecsdir}/qt_KIconThemes.pri
%{_libdir}/cmake/KF5IconThemes/KF5IconThemes*.cmake
%{_libdir}/libKF5IconThemes.so
/usr/mkspecs/modules/qt_KIconThemes.pri
%doc README.md %doc README.md
%changelog %changelog
* Sun Apr 26 2015 Davide Madrisan <davide.madrisan@gmail.com> 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 <autodist@mambasoft.it> 5.9.0-1mamba * Thu Apr 16 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist - automatic version update by autodist