PackageKit/PackageKit.spec

423 lines
16 KiB
RPMSpec
Raw Permalink Normal View History

Name: PackageKit
Version: 1.1.6
Release: 2mamba
Summary: A system designed to make installing and updating software on your computer easier
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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}-1.1.6-openmamba-Vendor.conf.patch
Patch2: %{name}-0.6.9-command_not_found_raise_timeout.patch
Patch3: %{name}-0.9.1-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
Patch13: PackageKit-0.9.5-smartBackend-correctly-raise-exceptions.patch
Patch14: PackageKit-1.1.6-yumBackend-override_sigchecks.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcap-devel
BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: liblzma-devel
BuildRequires: libmount-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libpolkit-devel
BuildRequires: libpython-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libsqlite-devel
BuildRequires: libsystemd-devel
BuildRequires: libthai-devel
BuildRequires: libunwind-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: gobject-introspection-devel
BuildRequires: pm-utils-devel
BuildRequires: libcppunit-devel
Requires: yum
%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
##%patch13 -p1
#sed -i "s|/usr/bin/python$|/usr/bin/python%{python27_version}|" backends/smart/smartBackend.py
%patch14 -p1
%build
%configure \
--enable-yum \
--enable-pm-utils \
--with-default-backend=yum \
--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}/yum/pluginconf.d/refresh-packagekit.conf
%config(noreplace) %{_sysconfdir}/sysconfig/packagekit-background
%{_bindir}/pkcon
%{_bindir}/pkmon
%{_prefix}/lib/yum-plugins/refresh-packagekit.py
%dir %{_libdir}/packagekit-backend
%{_libdir}/packagekit-backend/libpk_backend_*
%{_unitdir}/packagekit.service
%{_unitdir}/packagekit-offline-update.service
%{_unitdir}/system-update.target.wants/packagekit-offline-update.service
%{_libexecdir}/packagekit-direct
%{_libexecdir}/pk-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}/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
%dir /var/cache/PackageKit
%dir /var/cache/PackageKit/downloads
%dir /var/cache/PackageKit/metadata
%{_mandir}/man1/pkcon.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"
#%ifnarch arm
#%files mozilla
#%defattr(-,root,root)
#%{_libdir}/mozilla/plugins/packagekit-plugin.*
#%endif
#%endif
%files glib
%defattr(-,root,root)
%{_libdir}/libpackagekit-glib2.so.*
%{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib
%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
%{_datadir}/vala/vapi/packagekit-glib2.vapi
%{_libdir}/pkgconfig/packagekit-glib2.pc
%{_datadir}/gtk-doc/html/PackageKit
%doc ChangeLog NEWS README
#%files devel
#%defattr(-,root,root)
#%dir %{_includedir}/PackageKit/backend
#%{_includedir}/PackageKit/backend/*.h
#%dir %{_includedir}/PackageKit/plugin
#%{_includedir}/PackageKit/plugin/*.h
#%{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir
#%{_libdir}/pkgconfig/packagekit-plugin.pc
%changelog
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-2mamba
- yum backend: patched to enable overriding signature checks
* Sat Aug 26 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-1mamba
- update to 1.1.6
* Sat Aug 26 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-4mamba
- rebuilt with yum as default backend
* Tue Aug 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-3mamba
- provide directory /var/cache/PackgeKit/downloads
- smartBackend.py: patched to raise correct exceptions, hopefully fixes pk lockups on errors
* Sat Aug 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-2mamba
- rebuilt on itself to fix requirements for mozilla plugin
* Fri Aug 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-1mamba
- update to 0.9.5
* Wed Oct 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.17-1mamba
- update to 0.8.17
* Mon Sep 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.11-2mamba
- smart backend: added a patch to fix remove-packages function
* Sun Sep 08 2013 Automatic Build System <autodist@mambasoft.it> 0.8.11-1mamba
- automatic update by autodist
* Tue Aug 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.9-2mamba
- git typelib files moved from -devel to main packages
* Sun Jun 30 2013 Automatic Build System <autodist@mambasoft.it> 0.8.9-1mamba
- automatic version update by autodist
* Wed Mar 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 0.8.7-2mamba
- rebuilt using python 2.7
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 0.8.7-1mamba
- automatic version update by autodist
* Fri Dec 07 2012 Automatic Build System <autodist@mambasoft.it> 0.7.6-1mamba
- automatic version update by autodist
* Tue Aug 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.4-1mamba
- update to 0.7.4
* Tue Aug 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.22-1mamba
- update to 0.6.22
* Mon Apr 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.21-3mamba
- rebuilt after moving libattr
* Mon Dec 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 0.6.21-1mamba
- update to 0.6.21
* Mon Dec 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.19-1mamba
- update to 0.6.19
* Mon Dec 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.20-1mamba
- update to 0.6.20
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 0.6.16-1mamba
- update to 0.6.16
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 0.6.15-1mamba
- automatic update by autodist
* Wed May 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 0.6.13-1mamba
- update to 0.6.13
* Sat Mar 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-1mamba
- update to 0.6.12
* Wed Jan 12 2011 Automatic Build System <autodist@mambasoft.it> 0.6.9-2mamba
- automatic update by autodist
* Thu Oct 07 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.9-1mamba
- update to 0.6.9
* Wed Oct 06 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.8-2mamba
- rebuilt with --disable-networkmanager
* Wed Oct 06 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.8-1mamba
- update to 0.6.8
* Tue Aug 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.7-1mamba
- update to 0.6.7
* Sat Jul 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 0.6.5-1mamba
- update to 0.6.5
* Sat Apr 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-1mamba
- update to 0.6.3
* Mon Mar 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-1mamba
- package created by autospec