standardize the specfile add some missing build requirements [release 5.9.0-2mamba;Wed May 06 2015]
This commit is contained in:
parent
33990fa643
commit
e9b72fac64
@ -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 <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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user