%define tagver %(echo %version | tr . _) Name: packagekit-qt Epoch: 1 Version: 0.9.5 Release: 2mamba Summary: Qt bindings for PackageKit Group: System/Management Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.packagekit.org ## GITSOURCE git://gitorious.org/packagekit/packagekit-qt.git Source0: https://github.com/hughsie/PackageKit-Qt.git/QPACKAGEKIT_%{tagver}/PackageKit-Qt-%{version}.tar.bz2 Patch0: packagekit-qt-20130306git-revert-to-tag-QPACKAGEKIT_0_8_7.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: PackageKit-devel >= 0.9 BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Qt bindings for PackageKit. %package -n libpackagekitqt4 Summary: Shared libraries for %{name} Group: System/Libraries Provides: PackageKit-qt Obsoletes: PackageKit-qt Provides: PackageKit-qt2 Obsoletes: PackageKit-qt2 Provides: libpackagekit-qt2 Obsoletes: libpackagekit-qt2 Requires: PackageKit >= 0.9 %description -n libpackagekitqt4 Qt bindings for PackageKit. %package -n libpackagekitqt4-devel Summary: Development files for %{name} Group: Development/Libraries Requires: libpackagekitqt4 = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config Provides: PackageKit-qt-devel Obsoletes: PackageKit-qt-devel Provides: PackageKit-qt2-devel Obsoletes: PackageKit-qt2-devel Provides: libpackagekit-qt2-devel Obsoletes: libpackagekit-qt2-devel %description -n libpackagekitqt4-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n PackageKit-Qt-%{version} #%patch0 -p1 %build %cmake -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n libpackagekitqt4 -p /sbin/ldconfig %postun -n libpackagekitqt4 -p /sbin/ldconfig %files -n libpackagekitqt4 %defattr(-,root,root) %{_libdir}/libpackagekitqt4.so.* %doc AUTHORS COPYING %files -n libpackagekitqt4-devel %defattr(-,root,root) %dir %{_includedir}/packagekitqt4 %dir %{_includedir}/packagekitqt4/PackageKit %{_includedir}/packagekitqt4/PackageKit/* %dir %{_libdir}/cmake/packagekitqt4 %{_libdir}/cmake/packagekitqt4/*.cmake %{_libdir}/libpackagekitqt4.so %{_libdir}/pkgconfig/packagekitqt4.pc %doc NEWS TODO %changelog * Sat Aug 15 2015 Silvan Calarco 0.9.5-2mamba - fix requirements of libpackagekitqt4-devel * Fri Aug 14 2015 Silvan Calarco 0.9.5-1mamba - update to 0.9.5 * Mon Jul 01 2013 Silvan Calarco 0.8.8-1mamba - update to 0.8.8 - libpackagekit-qt2: require PackageKit - bump epoch up * Wed Mar 06 2013 Silvan Calarco 20130306git-1mamba - package created by silvan using the webbuild interface