Name: polkit-qt Version: 0.103.0 Release: 10%{?dist} Summary: Qt bindings for PolicyKit License: GPLv2+ URL: https://projects.kde.org/projects/kdesupport/polkit-qt-1 Source0: http://download.kde.org/stable/apps/KDE4.x/admin/polkit-qt-1-%{version}.tar.bz2 Source1: Doxyfile Patch0: polkit-qt-0.95.1-install-cmake-find.patch ## upstream patches Patch101: 0001-Sync-FindGObject.cmake-with-the-one-in-kdelibs.patch Patch102: 0002-Normalize-connect-using-Qt-s-normalize.patch # security patches Patch200: polkit-qt-0.103-CVE-2014-5033.patch Source10: macros.polkit-qt BuildRequires: automoc4 BuildRequires: cmake BuildRequires: polkit-devel >= 0.98 BuildRequires: qt4-devel BuildRequires: doxygen Obsoletes: polkit-qt-examples < 0.10 Provides: polkit-qt-1 = %{version}-%{release} %description Polkit-qt is a library that lets developers use the PolicyKit API through a nice Qt-styled API. %package devel Summary: Development files for PolicyKit Qt bindings Group: Development/Libraries Provides: polkit-qt-1-devel = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. %package doc Summary: Doxygen documentation for the PolkitQt API Group: Documentation BuildArch: noarch %description doc %{summary}. %prep %setup -q -n %{name}-1-%{version} # temporary patch - installs FindPolkitQt-1.cmake until we decide how to deal with cmake # module installation %patch0 -p1 -b .install-cmake-find %patch101 -p1 -b .0001 %patch102 -p1 -b .0002 %patch200 -p1 -b .cve-2014-5033 %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} \ -DBUILD_EXAMPLES:BOOL=0 \ -DDATA_INSTALL_DIR:PATH=%{_datadir} \ .. popd make %{?_smp_mflags} -C %{_target_platform} doxygen %{SOURCE1} # Remove installdox file - it is not necessary here rm -fv html/installdox %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} install -p -m644 -D %{SOURCE10} %{buildroot}%{_sysconfdir}/rpm/macros.polkit-qt %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS COPYING README %{_libdir}/libpolkit-qt-core-1.so.1* %{_libdir}/libpolkit-qt-gui-1.so.1* %{_libdir}/libpolkit-qt-agent-1.so.1* %files devel %{_sysconfdir}/rpm/macros.polkit-qt %{_includedir}/polkit-qt-1/ %{_libdir}/libpolkit-qt-core-1.so %{_libdir}/libpolkit-qt-gui-1.so %{_libdir}/libpolkit-qt-agent-1.so %{_libdir}/pkgconfig/polkit-qt-1.pc %{_libdir}/pkgconfig/polkit-qt-core-1.pc %{_libdir}/pkgconfig/polkit-qt-gui-1.pc %{_libdir}/pkgconfig/polkit-qt-agent-1.pc %{_libdir}/cmake/PolkitQt-1/ %{_datadir}/cmake/Modules/*.cmake %files doc %doc html/* %changelog * Mon Sep 29 2014 Lukáš Tinkl - 0.103.0-10 - Resolves: #1147368 (CVE-2014-5033) * Fri Jan 24 2014 Daniel Mach - 0.103.0-9 - Mass rebuild 2014-01-24 * Fri Dec 27 2013 Daniel Mach - 0.103.0-8 - Mass rebuild 2013-12-27 * 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