From 85e93f43ec3b740faae83147cc2c62ad45b5dbe6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:51:42 +0100 Subject: [PATCH] update to 1.1.6 [release 1.1.6-1mamba;Sat Aug 26 2017] --- ...ckageKit-1.1.6-openmamba-Vendor.conf.patch | 2 +- PackageKit.spec | 120 ++++++++---------- 2 files changed, 55 insertions(+), 67 deletions(-) rename PackageKit-0.8.17-openmamba-Vendor.conf.patch => PackageKit-1.1.6-openmamba-Vendor.conf.patch (89%) diff --git a/PackageKit-0.8.17-openmamba-Vendor.conf.patch b/PackageKit-1.1.6-openmamba-Vendor.conf.patch similarity index 89% rename from PackageKit-0.8.17-openmamba-Vendor.conf.patch rename to PackageKit-1.1.6-openmamba-Vendor.conf.patch index 2d2ec37..21347ea 100644 --- a/PackageKit-0.8.17-openmamba-Vendor.conf.patch +++ b/PackageKit-1.1.6-openmamba-Vendor.conf.patch @@ -5,7 +5,7 @@ # # default=http://www.packagekit.org/pk-package-not-found.html -DefaultUrl=http://www.packagekit.org/pk-package-not-found.html -+DefaultUrl=http://www.openmamba.org/distribution/search.html ++DefaultUrl=https://openmamba.org/en/search/ # The URL which is shown to the user when a codec could not be found. # It should explain why certain codecs cannot be used, and perhaps show diff --git a/PackageKit.spec b/PackageKit.spec index 168cbdf..d157de4 100644 --- a/PackageKit.spec +++ b/PackageKit.spec @@ -1,6 +1,6 @@ Name: PackageKit -Version: 0.9.5 -Release: 3mamba +Version: 1.1.6 +Release: 1mamba Summary: A system designed to make installing and updating software on your computer easier Group: System/Management Vendor: openmamba @@ -9,7 +9,7 @@ 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 +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 @@ -26,37 +26,46 @@ 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: libgstreamer010-devel +BuildRequires: libgstreamer-devel BuildRequires: libgtk-devel BuildRequires: libgtk2-devel BuildRequires: libharfbuzz-devel BuildRequires: liblzma-devel -BuildRequires: libnspr-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: libxml2-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 @@ -155,27 +164,27 @@ This package contains static libraries and header files need for development. %prep %setup -q -%patch0 -p1 +#%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 +#%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 %build %configure \ - --enable-smart \ + --enable-yum \ --enable-pm-utils \ - --with-default-backend=smart \ + --with-default-backend=yum \ --enable-introspection \ --enable-networkmanager \ PYTHON=%{__python} @@ -208,27 +217,18 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db %{_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 +%{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf %config(noreplace) %{_sysconfdir}/sysconfig/packagekit-background -#%{_bindir}/packagekit-bugreport.sh -%{_bindir}/pk-debuginfo-install %{_bindir}/pkcon -#%{_bindir}/pkgenpack %{_bindir}/pkmon -#%{_sbindir}/pk-device-rebind +%{_prefix}/lib/yum-plugins/refresh-packagekit.py %dir %{_libdir}/packagekit-backend %{_libdir}/packagekit-backend/libpk_backend_* -%dir %{_libdir}/packagekit-plugins-2 -%{_libdir}/packagekit-plugins-2/libpk_plugin* -#%{_libdir}/pm-utils/sleep.d/95packagekit -%{_libdir}/girepository-1.0/PackageKitPlugin-1.0.typelib %{_unitdir}/packagekit.service %{_unitdir}/packagekit-offline-update.service +%{_unitdir}/system-update.target.wants/packagekit-offline-update.service %{_libexecdir}/packagekit-direct -%{_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 @@ -236,7 +236,6 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db %{_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 @@ -248,9 +247,6 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db %dir /var/cache/PackageKit/downloads %dir /var/cache/PackageKit/metadata %{_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 @@ -263,33 +259,18 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db %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 qt2 +#%if "%{stage1}" != "1" +#%ifnarch arm +#%files mozilla #%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 +#%{_libdir}/mozilla/plugins/packagekit-plugin.* +#%endif +#%endif %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) @@ -298,20 +279,27 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db %{_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) +#%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 +#%dir %{_includedir}/PackageKit/plugin +#%{_includedir}/PackageKit/plugin/*.h +#%{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir +#%{_libdir}/pkgconfig/packagekit-plugin.pc %changelog +* Sat Aug 26 2017 Silvan Calarco 1.1.6-1mamba +- update to 1.1.6 + +* Sat Aug 26 2017 Silvan Calarco 0.9.5-4mamba +- rebuilt with yum as default backend + * Tue Aug 18 2015 Silvan Calarco 0.9.5-3mamba - provide directory /var/cache/PackgeKit/downloads - smartBackend.py: patched to raise correct exceptions, hopefully fixes pk lockups on errors