Name: polkit-qt5-1 Version: 0.112.0 Release: 1%{?dist} Summary: Qt5 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 ## upstream patches Patch1: 0001-do-not-use-global-static-systembus-instance.patch Patch2: 0002-fix-build-with-Qt4-which-doesn-t-have-QStringLiteral.patch Patch3: 0003-Fix-QDBusArgument-assertion.patch Patch5: 0005-Add-wrapper-for-polkit_system_bus_name_get_user_sync.patch Patch6: 0006-Drop-use-of-deprecated-Qt-functions.patch Patch7: 0007-Fix-compilation-with-Qt5.6.patch Patch8: 0008-Allow-compilation-with-older-polkit-versions.patch Source10: macros.polkit-qt BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: pkgconfig(polkit-agent-1) pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets) pkgconfig(Qt5Xml) %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 Provides: polkit-qt5-devel = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %autosetup -n polkit-qt-1-%{version} -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. \ -DUSE_QT4:BOOL=OFF -DUSE_QT5:BOOL=ON \ -DBUILD_EXAMPLES:BOOL=OFF \ -DDATA_INSTALL_DIR:PATH=%{_datadir} popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} ## skip (for now, may conflicts with el core polkit-qt) #install -p -m644 -D %{SOURCE10} %{buildroot}%{rpm_macros_dir}/macros.polkit-qt %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS README %license COPYING %{_libdir}/libpolkit-qt5-core-1.so.1* %{_libdir}/libpolkit-qt5-gui-1.so.1* %{_libdir}/libpolkit-qt5-agent-1.so.1* %files devel #{rpm_macros_dir}/macros.polkit-qt %{_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 * Tue Apr 05 2016 Rex Dieter - 0.112.0-1 - sync latest goodies from fedora polkit-qt module * Sun Aug 17 2014 Fedora Release Engineering - 0.103.0-4.20130415gitbac771e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 15 2014 Lubomir Rintel - 0.103.0-3.20130415gitbac771e - Update to upstream GIT snapshot, drop custom qt5 support patches * Wed Jun 11 2014 Rex Dieter - 0.103.0-3 - -devel: Provides: polkit-qt5-devel - switch to pkgconfig-style build deps * Sat Jun 07 2014 Fedora Release Engineering - 0.103.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * 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