update to 1.1.6 [release 1.1.6-1mamba;Sat Aug 26 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 17:51:42 +01:00
parent da3742ddc4
commit 85e93f43ec
2 changed files with 55 additions and 67 deletions

View File

@ -5,7 +5,7 @@
# #
# default=http://www.packagekit.org/pk-package-not-found.html # default=http://www.packagekit.org/pk-package-not-found.html
-DefaultUrl=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. # 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 # It should explain why certain codecs cannot be used, and perhaps show

View File

@ -1,6 +1,6 @@
Name: PackageKit Name: PackageKit
Version: 0.9.5 Version: 1.1.6
Release: 3mamba Release: 1mamba
Summary: A system designed to make installing and updating software on your computer easier Summary: A system designed to make installing and updating software on your computer easier
Group: System/Management Group: System/Management
Vendor: openmamba Vendor: openmamba
@ -9,7 +9,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.packagekit.org URL: http://www.packagekit.org
Source: http://www.freedesktop.org/software/PackageKit/releases/PackageKit-%{version}.tar.xz Source: http://www.freedesktop.org/software/PackageKit/releases/PackageKit-%{version}.tar.xz
Patch0: %{name}-0.6.6-openmamba-groups.patch 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 Patch2: %{name}-0.6.9-command_not_found_raise_timeout.patch
Patch3: %{name}-0.9.1-smart-what_provides.patch Patch3: %{name}-0.9.1-smart-what_provides.patch
Patch4: %{name}-0.6.13-smartBackend_fix_best_package.patch Patch4: %{name}-0.6.13-smartBackend_fix_best_package.patch
@ -26,37 +26,46 @@ License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbzip2-devel BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libcap-devel
BuildRequires: libdw-devel BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libexpat-devel BuildRequires: libexpat-devel
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
BuildRequires: libgraphite2-devel BuildRequires: libgraphite2-devel
BuildRequires: libgstreamer010-devel BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel BuildRequires: libgtk-devel
BuildRequires: libgtk2-devel BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel BuildRequires: libharfbuzz-devel
BuildRequires: liblzma-devel BuildRequires: liblzma-devel
BuildRequires: libnspr-devel BuildRequires: libmount-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libpolkit-devel BuildRequires: libpolkit-devel
BuildRequires: libpython-devel BuildRequires: libpython-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libsqlite-devel BuildRequires: libsqlite-devel
BuildRequires: libsystemd-devel BuildRequires: libsystemd-devel
BuildRequires: libxml2-devel BuildRequires: libthai-devel
BuildRequires: libunwind-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: pm-utils-devel BuildRequires: pm-utils-devel
BuildRequires: libcppunit-devel BuildRequires: libcppunit-devel
Requires: yum
%systemd_requires %systemd_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -155,27 +164,27 @@ This package contains static libraries and header files need for development.
%prep %prep
%setup -q %setup -q
%patch0 -p1 #%patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 #%patch2 -p1
%patch3 -p1 ##%patch3 -p1
%patch4 -p1 ##%patch4 -p1
%patch5 -p1 ##%patch5 -p1
#%patch6 -p1 ###%patch6 -p1
#%patch7 -p1 ###%patch7 -p1
%patch8 -p1 ##%patch8 -p1
#%patch9 -p1 ###%patch9 -p1
#%patch10 -p1 ###%patch10 -p1
#%patch11 -p1 ###%patch11 -p1
%patch12 -p1 ##%patch12 -p1
%patch13 -p1 ##%patch13 -p1
#sed -i "s|/usr/bin/python$|/usr/bin/python%{python27_version}|" backends/smart/smartBackend.py #sed -i "s|/usr/bin/python$|/usr/bin/python%{python27_version}|" backends/smart/smartBackend.py
%build %build
%configure \ %configure \
--enable-smart \ --enable-yum \
--enable-pm-utils \ --enable-pm-utils \
--with-default-backend=smart \ --with-default-backend=yum \
--enable-introspection \ --enable-introspection \
--enable-networkmanager \ --enable-networkmanager \
PYTHON=%{__python} PYTHON=%{__python}
@ -208,27 +217,18 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db
%{_sysconfdir}/cron.daily/packagekit-background.cron %{_sysconfdir}/cron.daily/packagekit-background.cron
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf
%{_sysconfdir}/profile.d/PackageKit.sh %{_sysconfdir}/profile.d/PackageKit.sh
%{_sysconfdir}/PackageKit/events/post-transaction.d/README %{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf
%{_sysconfdir}/PackageKit/events/pre-transaction.d/README
%config(noreplace) %{_sysconfdir}/sysconfig/packagekit-background %config(noreplace) %{_sysconfdir}/sysconfig/packagekit-background
#%{_bindir}/packagekit-bugreport.sh
%{_bindir}/pk-debuginfo-install
%{_bindir}/pkcon %{_bindir}/pkcon
#%{_bindir}/pkgenpack
%{_bindir}/pkmon %{_bindir}/pkmon
#%{_sbindir}/pk-device-rebind %{_prefix}/lib/yum-plugins/refresh-packagekit.py
%dir %{_libdir}/packagekit-backend %dir %{_libdir}/packagekit-backend
%{_libdir}/packagekit-backend/libpk_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.service
%{_unitdir}/packagekit-offline-update.service %{_unitdir}/packagekit-offline-update.service
%{_unitdir}/system-update.target.wants/packagekit-offline-update.service
%{_libexecdir}/packagekit-direct %{_libexecdir}/packagekit-direct
%{_libexecdir}/pk-clear-offline-update
%{_libexecdir}/pk-offline-update %{_libexecdir}/pk-offline-update
%{_libexecdir}/pk-trigger-offline-update
%{_libexecdir}/packagekitd %{_libexecdir}/packagekitd
%{_libexecdir}/pk-command-not-found %{_libexecdir}/pk-command-not-found
%{_libexecdir}/pk-gstreamer-install %{_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.Transaction.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml
%{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service %{_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/actions/org.freedesktop.packagekit.policy
%{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules %{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules
%{_datadir}/PackageKit/helpers %{_datadir}/PackageKit/helpers
@ -248,9 +247,6 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db
%dir /var/cache/PackageKit/downloads %dir /var/cache/PackageKit/downloads
%dir /var/cache/PackageKit/metadata %dir /var/cache/PackageKit/metadata
%{_mandir}/man1/pkcon.1* %{_mandir}/man1/pkcon.1*
%{_mandir}/man1/pk-debuginfo-install.1*
#%{_mandir}/man1/pk-device-rebind.1*
#%{_mandir}/man1/pkgenpack.1*
%{_mandir}/man1/pkmon.1* %{_mandir}/man1/pkmon.1*
%doc AUTHORS COPYING %doc AUTHORS COPYING
@ -263,33 +259,18 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/gtk-2.0/modules/libpk-gtk-module.* %{_libdir}/gtk-2.0/modules/libpk-gtk-module.*
%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
%ifnarch arm #%ifnarch arm
%files mozilla #%files mozilla
%defattr(-,root,root)
%{_libdir}/mozilla/plugins/packagekit-plugin.*
%endif
%endif
#%files qt2
#%defattr(-,root,root) #%defattr(-,root,root)
#%{_libdir}/libpackagekit-qt2.so.* #%{_libdir}/mozilla/plugins/packagekit-plugin.*
#%endif
#%files qt2-devel #%endif
#%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 %files glib
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libpackagekit-glib2.so.* %{_libdir}/libpackagekit-glib2.so.*
%{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib %{_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 %files glib-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -298,20 +279,27 @@ rm -f %{buildroot}/var/lib/PackageKit/transactions.db
%{_libdir}/libpackagekit-glib2.la %{_libdir}/libpackagekit-glib2.la
%{_libdir}/libpackagekit-glib2.so %{_libdir}/libpackagekit-glib2.so
%{_datadir}/gir-1.0/PackageKitGlib-1.0.gir %{_datadir}/gir-1.0/PackageKitGlib-1.0.gir
%{_datadir}/vala/vapi/packagekit-glib2.vapi
%{_libdir}/pkgconfig/packagekit-glib2.pc %{_libdir}/pkgconfig/packagekit-glib2.pc
%{_datadir}/gtk-doc/html/PackageKit
%doc ChangeLog NEWS README
%files devel #%files devel
%defattr(-,root,root) #%defattr(-,root,root)
#%dir %{_includedir}/PackageKit/backend #%dir %{_includedir}/PackageKit/backend
#%{_includedir}/PackageKit/backend/*.h #%{_includedir}/PackageKit/backend/*.h
%dir %{_includedir}/PackageKit/plugin #%dir %{_includedir}/PackageKit/plugin
%{_includedir}/PackageKit/plugin/*.h #%{_includedir}/PackageKit/plugin/*.h
%{_datadir}/gtk-doc/html/PackageKit #%{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir
%{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir #%{_libdir}/pkgconfig/packagekit-plugin.pc
%{_libdir}/pkgconfig/packagekit-plugin.pc
%doc ChangeLog NEWS README TODO
%changelog %changelog
* 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 * Tue Aug 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-3mamba
- provide directory /var/cache/PackgeKit/downloads - provide directory /var/cache/PackgeKit/downloads
- smartBackend.py: patched to raise correct exceptions, hopefully fixes pk lockups on errors - smartBackend.py: patched to raise correct exceptions, hopefully fixes pk lockups on errors