Name: PackageKit Version: 0.8.17 Release: 1mamba Summary: A system designed to make installing and updating software on your computer easier Group: System/Management Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.packagekit.org Source: http://www.freedesktop.org/software/PackageKit/releases/PackageKit-%{version}.tar.xz Patch0: %{name}-0.6.6-openmamba-groups.patch Patch1: %{name}-0.8.17-openmamba-Vendor.conf.patch Patch2: %{name}-0.6.9-command_not_found_raise_timeout.patch Patch3: %{name}-0.7.3-smart-what_provides.patch Patch4: %{name}-0.6.13-smartBackend_fix_best_package.patch Patch5: %{name}-0.6.13-smartBackend_fix_Changelog.patch Patch6: %{name}-0.6.13-qt_fix_searchGroups.patch Patch7: %{name}-0.6.13-pk-transaction_fix_crash.patch Patch8: %{name}-0.8.7-smartBackend-fix_trust_and_upgrade.patch Patch9: %{name}-0.6.21-xulrunner-7.patch Patch10: %{name}-0.6.21-revert_utf8_for_smart.patch Patch11: PackageKit-0.6.22-display_smart_errors_as_html.patch Patch12: PackageKit-0.8.11-smartBackend-fix-remove-packages.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libdw-devel BuildRequires: libexpat-devel BuildRequires: libffi-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgpg-error-devel BuildRequires: libgraphite2-devel BuildRequires: libgstreamer010-devel BuildRequires: libgtk-devel BuildRequires: libgtk2-devel BuildRequires: libharfbuzz-devel BuildRequires: liblzma-devel BuildRequires: libnspr-devel BuildRequires: libpango-devel BuildRequires: libpng-devel BuildRequires: libpolkit-devel BuildRequires: libpython-devel BuildRequires: libselinux-devel BuildRequires: libsqlite-devel BuildRequires: libsystemd-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: gobject-introspection-devel BuildRequires: pm-utils-devel BuildRequires: libcppunit-devel %systemd_requires BuildRoot: %{_tmppath}/%{name}-%{version}-root %description PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package contains static libraries and header files need for development. %package glib Summary: glib interface library for %{name} Group: System/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description glib PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package contains the glib interface library for %{name}. %package glib-devel Summary: Devel package for %{name}-glib Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-glib = %{?epoch:%epoch:}%{version}-%{release} %description glib-devel PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package contains static libraries and header files need for development. %package gtk Summary: Gtk interface library for %{name} Group: System/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-glib = %{?epoch:%epoch:}%{version}-%{release} %description gtk PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package contains the Gtk interface library for %{name}. %package gtk2 Summary: Gtk 2 interface library for %{name} Group: System/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-glib = %{?epoch:%epoch:}%{version}-%{release} %description gtk2 PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package contains the Gtk 2 interface library for %{name}. %package mozilla Summary: Mozilla plugin for %{name} Group: System/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description mozilla PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package contains the Mozilla plugin for %{name}. %package qt2 Summary: New QT interface library for %{name} Group: System/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: %{name}-qt %description qt2 PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package contains the new QT interface library for %{name}. %package qt2-devel Summary: Devel package for %{name}-qt2 Group: Development/Libraries Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-qt2 = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-gtk = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-gtk2 = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: %{name}-qt-devel %description qt2-devel PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. This package contains static libraries and header files need for development. %debug_package %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 #%patch6 -p1 #%patch7 -p1 %patch8 -p1 #%patch9 -p1 #%patch10 -p1 %patch11 -p1 %patch12 -p1 #sed -i "s|/usr/bin/python$|/usr/bin/python%{python27_version}|" backends/smart/smartBackend.py %build %configure \ --enable-smart \ --enable-pm-utils \ --with-default-backend=smart \ --enable-introspection \ --enable-networkmanager \ PYTHON=%{__python} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -f %{buildroot}/var/lib/PackageKit/transactions.db %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post %systemd_post %preun %systemd_preun %postun %systemd_postun %files -f %{name}.lang %defattr(-,root,root) %{_sysconfdir}/PackageKit/*.conf %{_sysconfdir}/cron.daily/packagekit-background.cron %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf %{_sysconfdir}/profile.d/PackageKit.sh %{_sysconfdir}/PackageKit/events/post-transaction.d/README %{_sysconfdir}/PackageKit/events/pre-transaction.d/README %config(noreplace) %{_sysconfdir}/sysconfig/packagekit-background %{_bindir}/packagekit-bugreport.sh %{_bindir}/pk-debuginfo-install %{_bindir}/pkcon #%{_bindir}/pkgenpack %{_bindir}/pkmon #%{_sbindir}/pk-device-rebind %dir %{_libdir}/packagekit-backend %{_libdir}/packagekit-backend/libpk_backend_* %dir %{_libdir}/packagekit-plugins %{_libdir}/packagekit-plugins/libpk_plugin* #%{_libdir}/pm-utils/sleep.d/95packagekit %{_libdir}/girepository-1.0/PackageKitPlugin-1.0.typelib %{_unitdir}/packagekit.service %{_unitdir}/packagekit-offline-update.service %{_libexecdir}/pk-clear-offline-update %{_libexecdir}/pk-offline-update %{_libexecdir}/pk-trigger-offline-update %{_libexecdir}/packagekitd %{_libexecdir}/pk-command-not-found %{_libexecdir}/pk-gstreamer-install %{_datadir}/bash-completion/completions/pkcon %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service #%{_datadir}/mime/packages/packagekit-*.xml %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy %{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules %{_datadir}/PackageKit/helpers %{_datadir}/PackageKit/pk-upgrade-distro.sh %dir %{python_sitelib}/packagekit %{python_sitelib}/packagekit/* %dir /var/lib/PackageKit %{_mandir}/man1/pkcon.1* %{_mandir}/man1/pk-debuginfo-install.1* #%{_mandir}/man1/pk-device-rebind.1* #%{_mandir}/man1/pkgenpack.1* %{_mandir}/man1/pkmon.1* %doc AUTHORS COPYING %files gtk %defattr(-,root,root) %{_libdir}/gtk-3.0/modules/libpk-gtk-module.* %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop %files gtk2 %defattr(-,root,root) %{_libdir}/gtk-2.0/modules/libpk-gtk-module.* %if "%{stage1}" != "1" %files mozilla %defattr(-,root,root) %{_libdir}/mozilla/plugins/packagekit-plugin.* %endif #%files qt2 #%defattr(-,root,root) #%{_libdir}/libpackagekit-qt2.so.* #%files qt2-devel #%defattr(-,root,root) #%{_includedir}/PackageKit/packagekit-qt2/* #%{_libdir}/libpackagekit-qt2.a #%{_libdir}/libpackagekit-qt2.la #%{_libdir}/libpackagekit-qt2.so #%{_libdir}/pkgconfig/packagekit-qt2.pc #%{_libdir}/cmake/packagekit-qt2/packagekit-qt2-config-version.cmake #%{_libdir}/cmake/packagekit-qt2/packagekit-qt2-config.cmake %files glib %defattr(-,root,root) %{_libdir}/libpackagekit-glib2.so.* %{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib #%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.gtk-modules-packagekit.gschema.xml %files glib-devel %defattr(-,root,root) %{_includedir}/PackageKit/packagekit-glib2/*.h %{_libdir}/libpackagekit-glib2.a %{_libdir}/libpackagekit-glib2.la %{_libdir}/libpackagekit-glib2.so %{_datadir}/gir-1.0/PackageKitGlib-1.0.gir %{_libdir}/pkgconfig/packagekit-glib2.pc %files devel %defattr(-,root,root) #%dir %{_includedir}/PackageKit/backend #%{_includedir}/PackageKit/backend/*.h %dir %{_includedir}/PackageKit/plugin %{_includedir}/PackageKit/plugin/*.h %{_datadir}/gtk-doc/html/PackageKit %{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir %{_libdir}/pkgconfig/packagekit-plugin.pc #%doc ChangeLog NEWS README TODO %changelog * Wed Oct 08 2014 Silvan Calarco 0.8.17-1mamba - update to 0.8.17 * Mon Sep 23 2013 Silvan Calarco 0.8.11-2mamba - smart backend: added a patch to fix remove-packages function * Sun Sep 08 2013 Automatic Build System 0.8.11-1mamba - automatic update by autodist * Tue Aug 06 2013 Silvan Calarco 0.8.9-2mamba - git typelib files moved from -devel to main packages * Sun Jun 30 2013 Automatic Build System 0.8.9-1mamba - automatic version update by autodist * Wed Mar 06 2013 Silvan Calarco 0.8.7-3mamba - reapply smartbackend patch to disable packages trust and fix upgrade - also port patch to display errors as html in apper * Wed Mar 06 2013 Silvan Calarco 0.8.7-2mamba - rebuilt using python 2.7 * Sat Mar 02 2013 Automatic Build System 0.8.7-1mamba - automatic version update by autodist * Fri Dec 07 2012 Automatic Build System 0.7.6-1mamba - automatic version update by autodist * Tue Aug 21 2012 Silvan Calarco 0.7.4-1mamba - update to 0.7.4 * Tue Aug 07 2012 Silvan Calarco 0.6.22-1mamba - update to 0.6.22 * Mon Apr 09 2012 Silvan Calarco 0.6.21-3mamba - rebuilt after moving libattr * Mon Dec 12 2011 Silvan Calarco 0.6.21-2mamba - cleaned some debugging code in the smart backend patches - revert utf-8 changes in backend.py to workaround smart backend not working anymore * Mon Dec 12 2011 Silvan Calarco 0.6.21-1mamba - update to 0.6.21 * Mon Dec 12 2011 Silvan Calarco 0.6.19-1mamba - update to 0.6.19 * Mon Dec 12 2011 Silvan Calarco 0.6.20-1mamba - update to 0.6.20 * Mon Jul 25 2011 Automatic Build System 0.6.16-1mamba - update to 0.6.16 * Sun Jun 19 2011 Automatic Build System 0.6.15-1mamba - automatic update by autodist * Wed May 04 2011 Silvan Calarco 0.6.14-1mamba - update to 0.6.14 - added PackageKit-qt2 from upstream - split devel packages - rebuild with NetworkManager and instrospection support * Mon Apr 25 2011 Silvan Calarco 0.6.13-3mamba - SmartBackend: added patch to fix upgrade and disable trust check because it is not supported * Sun Apr 24 2011 Silvan Calarco 0.6.13-2mamba - smart backend: revert a patch that disables What-Provides function (http://cgit.freedesktop.org/packagekit/patch/?id=1184745dd4e4597839b5e595d23b0816ff54c3d0) - smartBackend.py: added patch to fix best install choice by preferring already installed packages for virtual provides - smartBackend.py: added patch to fix error on ChangeLog parsing - packagekit-qt: added upstream patch to fix searchGroups function * Sun Apr 24 2011 Silvan Calarco 0.6.13-1mamba - update to 0.6.13 * Sat Mar 05 2011 Silvan Calarco 0.6.12-1mamba - update to 0.6.12 * Wed Jan 12 2011 Automatic Build System 0.6.9-2mamba - automatic update by autodist * Thu Oct 07 2010 Silvan Calarco 0.6.9-1mamba - update to 0.6.9 * Wed Oct 06 2010 Silvan Calarco 0.6.8-2mamba - rebuilt with --disable-networkmanager * Wed Oct 06 2010 Silvan Calarco 0.6.8-1mamba - update to 0.6.8 * Tue Aug 24 2010 Silvan Calarco 0.6.7-1mamba - update to 0.6.7 * Sat Jul 24 2010 Silvan Calarco 0.6.6-1mamba - update to 0.6.6 - added a patch that adds matches between openmamba groups and PackageKit ones - added patch to configure Vendor.conf for openmamba * Wed Jun 02 2010 Silvan Calarco 0.6.5-1mamba - update to 0.6.5 * Sat Apr 03 2010 Silvan Calarco 0.6.3-1mamba - update to 0.6.3 * Mon Mar 15 2010 Silvan Calarco 0.6.2-1mamba - package created by autospec