From e9b72fac6472d29f3b27ed7b7135774bf0aaa6bd Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 6 Jan 2024 00:40:28 +0100 Subject: [PATCH] standardize the specfile add some missing build requirements [release 5.9.0-2mamba;Wed May 06 2015] --- kbookmarks.spec | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/kbookmarks.spec b/kbookmarks.spec index 9d26ca8..69d4139 100644 --- a/kbookmarks.spec +++ b/kbookmarks.spec @@ -1,7 +1,8 @@ %define majver %(echo %version | cut -d. -f1-2) + Name: kbookmarks Version: 5.9.0 -Release: 1mamba +Release: 2mamba Summary: Lets you access and manipulate bookmarks stored using the XBEL format Group: System/Libraries Vendor: openmamba @@ -25,6 +26,8 @@ BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake +BuildRequires: extra-cmake-modules +BuildRequires: rpm-macros-kde5 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -52,14 +55,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 %{name} || touch %{name}.lang +%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -67,25 +70,24 @@ 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} +%files -n lib%{name} -f %{name}5_qt.lang %defattr(-,root,root) -%{_libdir}/libKF5Bookmarks.so.* -%{_datadir}/locale/*/LC_MESSAGES/kbookmarks5_qt.qm +%{_kde5_libdir}/libKF5Bookmarks.so.* %doc COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/KF5/KBookmarks -%{_includedir}/KF5/KBookmarks/* -%{_includedir}/KF5/kbookmarks_version.h -%dir %{_libdir}/cmake/KF5Bookmarks -%{_libdir}/cmake/KF5Bookmarks/KF5Bookmarks*.cmake -%{_libdir}/libKF5Bookmarks.so -/usr/mkspecs/modules/qt_KBookmarks.pri +%{_kde5_includedir}/KBookmarks +%{_kde5_includedir}/kbookmarks_version.h +%{_kde5_libdir}/cmake/KF5Bookmarks +%{_kde5_libdir}/libKF5Bookmarks.so +%{_kde5_mkspecsdir}/qt_KBookmarks.pri %doc README.md - %changelog +* Wed May 06 2015 Davide Madrisan 5.9.0-2mamba +- standardize the specfile add some missing build requirements + * Sun Apr 19 2015 Automatic Build System 5.9.0-1mamba - automatic version update by autodist