standardize the specfile add some missing build requirements [release 5.9.0-2mamba;Wed May 06 2015]

This commit is contained in:
Davide Madrisan 2024-01-06 00:40:28 +01:00
parent 33990fa643
commit e9b72fac64

View File

@ -1,7 +1,8 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: kbookmarks Name: kbookmarks
Version: 5.9.0 Version: 5.9.0
Release: 1mamba Release: 2mamba
Summary: Lets you access and manipulate bookmarks stored using the XBEL format Summary: Lets you access and manipulate bookmarks stored using the XBEL format
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -25,6 +26,8 @@ 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
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 +55,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 %{name} || touch %{name}.lang %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 +70,24 @@ 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} %files -n lib%{name} -f %{name}5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libKF5Bookmarks.so.* %{_kde5_libdir}/libKF5Bookmarks.so.*
%{_datadir}/locale/*/LC_MESSAGES/kbookmarks5_qt.qm
%doc COPYING.LIB %doc COPYING.LIB
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/KF5/KBookmarks %{_kde5_includedir}/KBookmarks
%{_includedir}/KF5/KBookmarks/* %{_kde5_includedir}/kbookmarks_version.h
%{_includedir}/KF5/kbookmarks_version.h %{_kde5_libdir}/cmake/KF5Bookmarks
%dir %{_libdir}/cmake/KF5Bookmarks %{_kde5_libdir}/libKF5Bookmarks.so
%{_libdir}/cmake/KF5Bookmarks/KF5Bookmarks*.cmake %{_kde5_mkspecsdir}/qt_KBookmarks.pri
%{_libdir}/libKF5Bookmarks.so
/usr/mkspecs/modules/qt_KBookmarks.pri
%doc README.md %doc README.md
%changelog %changelog
* Wed May 06 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-2mamba
- standardize the specfile add some missing build requirements
* Sun Apr 19 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba * Sun Apr 19 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist - automatic version update by autodist