Name: polkit-qt5-1 Version: 0.103.0 Release: 1%{?dist} Summary: Qt5 bindings for PolicyKit License: GPLv2+ URL: https://projects.kde.org/projects/kdesupport/polkit-qt-1 # git clone git://anongit.kde.org/polkit-qt-1 # cd polkit-qt-1 # git archive --prefix=polkit-qt5-1/ 3a5f879 |gzip -9 >polkit-qt5-1.tar.gz Source0: %{name}.tar.gz Source1: Doxyfile # Hawaii-patches Patch1: 0001-Include-moc-generated-files.patch Patch2: 0002-Full-Qt-5-port.patch Patch3: 0003-Check-for-Qt5DBus-and-Qt5Xml.patch Patch4: 0001-Rename-polkit-qt-1-to-polkit-qt5-1.patch Patch5: 0001-Fix-include-libdir-paths-when-they-re-absolute.patch BuildRequires: automoc4 BuildRequires: cmake BuildRequires: polkit-devel >= 0.98 BuildRequires: extra-cmake-modules BuildRequires: qt5-qtbase-devel %description Polkit-qt5-1 is a library that lets developers use the PolicyKit API through a nice Qt5-styled API. %package devel Summary: Development files for PolicyKit Qt5 bindings Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %setup -q -n %{name} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build %{cmake} . make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS COPYING README %{_libdir}/libpolkit-qt5-core-1.so.1* %{_libdir}/libpolkit-qt5-gui-1.so.1* %{_libdir}/libpolkit-qt5-agent-1.so.1* %files devel %{_includedir}/polkit-qt5-1/ %{_libdir}/libpolkit-qt5-core-1.so %{_libdir}/libpolkit-qt5-gui-1.so %{_libdir}/libpolkit-qt5-agent-1.so %{_libdir}/pkgconfig/polkit-qt5-1.pc %{_libdir}/pkgconfig/polkit-qt5-core-1.pc %{_libdir}/pkgconfig/polkit-qt5-gui-1.pc %{_libdir}/pkgconfig/polkit-qt5-agent-1.pc %{_libdir}/cmake/PolkitQt5-1 %changelog * Wed Feb 05 2014 Lubomir Rintel - 0.103.0-1 - polkit-qt5-1 based on polkit-qt, the Qt5 port * Sat Feb 01 2014 Rex Dieter - 0.103.0-10 - -devel: use %%_rpmconfigdir/macros.d (where supported) - .spec cleanup * Thu Dec 19 2013 Rex Dieter 0.103.0-9 - pull in some more upstream fixes (from mbriza) * Sun Aug 04 2013 Fedora Release Engineering - 0.103.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Mar 11 2013 Rex Dieter - 0.103.0-7 - pull in some upstream patches - .spec cleanup * Thu Feb 14 2013 Fedora Release Engineering - 0.103.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Oct 09 2012 Than Ngo - 0.103.0-5 - fix url * Sat Jul 21 2012 Fedora Release Engineering - 0.103.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Apr 20 2012 Than Ngo - 0.103.0-3 - fix build issue with doxygen-1.8.0 * Sat Jan 14 2012 Fedora Release Engineering - 0.103.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Dec 15 2011 Jaroslav Reznik 0.103.0-1 - polkit-qt-1-0.103.0 * Mon Dec 12 2011 Rex Dieter 0.99.0-3 - upstream crash patch (kde#258916,#684625) - pull a couple more upstream patches - -devel: drop Req: polkit-devel * Wed Feb 09 2011 Fedora Release Engineering - 0.99.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 09 2010 Jaroslav Reznik - 0.99.0-1 - polkit-qt-1-0.99.0 * Sat Nov 20 2010 Rex Dieter - 0.98.1-1.20101120 - polkit-qt-1-0.98.1-20101120 snapshot * Fri Oct 15 2010 Radek Novacek - 0.96.1-4 - Next attempt of fix-deprecated-warnings patch * Thu Oct 14 2010 Jaroslav Reznik - 0.96.1-3 - Revert fix-deprecated-warnings as it causes kde#254150 * Thu Oct 07 2010 Radek Novacek 0.96.1-2 - Fixed deprecation warning with polkit-0.98 - Fixed typo in url - Null checking patch (might be fix for #637064) * Tue Sep 07 2010 Rex Dieter - 0.96.1-1 - polkit-qt-1-0.96.1 * Thu Jan 14 2010 Rex Dieter - 0.95.1-3 - macros.polkit-qt : %%_polkit_qt_policydir, %%_polkit_qt * Thu Jan 14 2010 Jaroslav Reznik - 0.95.1-2 - Installs FindPolkitQt-1.cmake * Tue Jan 05 2010 Jaroslav Reznik - 0.95.1-1 - Update to release version * Sun Dec 27 2009 Rex Dieter - 0.95-0.3.20091119svn - Provides: polkit-qt-1(-devel) ... - doc: make noarch * Wed Dec 09 2009 Kevin Kofler - 0.95-0.2.20091119svn - Obsoletes: polkit-qt-examples < 0.10 for upgrade path * Mon Nov 23 2009 Radek Novacek - 0.95-0.1.20091119svn - Added -doc subpackage - Added command to obtaining the source code * Fri Nov 20 2009 Jaroslav Reznik - 0.95-0.1.20091119svn - SPEC file fixes - removed -examples subpackage * Thu Nov 19 2009 Radek Novacek - 0.1.20091119svn - Initial build of snapshot from svn