Search
SailfishOS Open Build Service
>
Projects
>
home:tangtao77
>
PackageKit-Qt5
> PackageKit-Qt5.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File PackageKit-Qt5.spec of Package PackageKit-Qt5
Summary: Qt support library for PackageKit Name: PackageKit-Qt5 Version: 0.8.8+nemo5 Release: 1.1.9 License: GPLv2+ Group: System/Libraries URL: http://www.packagekit.org Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz Requires: PackageKit >= 0.8.9 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: cmake >= 2.8.7 BuildRequires: PackageKit >= 0.8.9 %description PackageKit-qt is a Qt support library for PackageKit %package devel Summary: Development headers for PackageKit-Qt License: LGPLv2+ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig # These requirements are because of the line: # Requires: Qt5Core, Qt5DBus, Qt5Sql, Qt5Xml # in the pkg-config file from: # PackageKit-Qt/src/packagekit-qt5.pc.in Requires: pkgconfig(Qt5Core) Requires: pkgconfig(Qt5DBus) Requires: pkgconfig(Qt5Sql) Requires: pkgconfig(Qt5Xml) %description devel Development headers and libraries for PackageKit-Qt. %prep %setup -q -n %{name}-%{version}/PackageKit-Qt %build rm -f CMakeCache.txt && mkdir -p build && cd build cmake -DUSE_QT5=ON .. make %{?jobs:-j%jobs} %install rm -rf %{buildroot} cd build make DESTDIR=%{buildroot} install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS %{_libdir}/*packagekit-qt5.so.* %files devel %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS %{_libdir}/libpackagekit-qt*.so %{_libdir}/pkgconfig/packagekit-qt5.pc %dir %{_includedir}/PackageKit/packagekit-qt5 %{_includedir}/PackageKit/packagekit-qt5/* %dir %{_libdir}/cmake/packagekit-qt5 %{_libdir}/cmake/packagekit-qt5/*.cmake %changelog * Fri Apr 11 2014 Thomas Perl <thomas.perl@jolla.com> - 0.8.8+nemo5-1 - [packaging] PackageKit-Qt5 0.8.8+nemo5-1 - [packaging] Version 0.8.8+nemo4 - [spec] Add missing build-time dependencies for -devel package - [transaction] Added method for retrieving the package name by desktop file using the desktop cache. - [transaction] Don't use QSqlQuery::size because it may not be supported by all platforms/databases * Tue Feb 18 2014 Thomas Perl <thomas.perl@jolla.com> - 0.8.8+nemo4-1 - [packaging] Version 0.8.8+nemo4 - [transaction] Added method for retrieving the package name by desktop file using the desktop cache. - [transaction] Don't use QSqlQuery::size because it may not be supported by all platforms/databases * Mon Oct 28 2013 Thomas Perl <thomas.perl@jollamobile.com> - 0.8.8+nemo2-nemo1 - [nemo] Bump version to re-tag release * Fri Jul 19 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.8.8-nemo1 - [packaging] Add patches and packaging for qt5 build * Fri Jul 19 2013 Bernd Wachter <bernd.wachter@jollamobile.com> - 0.8.8 - [import] Initial import of 0.8.8 - [packaging] Add initial packaging for qt4