From a8b1d2745e80db36718686d826f4d904386db7ad Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Jul 04 2008 13:04:55 +0000 Subject: - New upstream stable version (API break from 0.1.12). Multiple actions in one transaction - Fixes many bugs with the 0.1.x codebase. --- diff --git a/.cvsignore b/.cvsignore index 695b2f0..c2c1ab7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -PackageKit-0.1.12-20080522.tar.gz +PackageKit-0.2.3.tar.gz diff --git a/PackageKit.spec b/PackageKit.spec index fdcbaf9..fa65eb2 100644 --- a/PackageKit.spec +++ b/PackageKit.spec @@ -2,25 +2,28 @@ %define dbus_version 0.90 %define dbus_glib_version 0.70 %define policykit_version 0.7 -%define alphatag 20080522 +#%define alphatag 20080522 %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Summary: System daemon that is a DBUS abstraction layer for package management Name: PackageKit -Version: 0.1.12 -Release: 13.%{?alphatag}%{?dist} +Version: 0.2.3 +#Release: 1.%{?alphatag}%{?dist} +Release: 1.%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: http://packagekit.freedesktop.org -Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}-%{?alphatag}.tar.gz +#Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}-%{?alphatag}.tar.gz +Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch0: packagekit-backport-gpg-giant-bodge.patch +#Patch0: packagekit-backport-gpg-giant-bodge.patch Requires: dbus >= %{dbus_version} Requires: PackageKit-libs = %{version}-%{release} Requires: yum-packagekit = %{version}-%{release} Requires: yum >= 3.2.6 +Requires: shared-mime-info BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: dbus-devel >= %{dbus_version} @@ -44,6 +47,17 @@ PackageKit is a D-Bus abstraction layer that allows the session user to manage packages in a secure way using a cross-distro, cross-architecture API. +%package -n udev-packagekit +Summary: Tell PackageKit to install firmware that udev requires +Group: System Environment/Base +Requires: udev +Requires: PackageKit + +%description -n udev-packagekit +udev-packagekit tells PackageKit that firmware was not available and was +needed. This allows PackageKit to do the right thing and prompt for +the firmware to be installed. + %package -n yum-packagekit Summary: Tell PackageKit to check for updates when yum exits Group: System Environment/Base @@ -85,11 +99,11 @@ Requires: sqlite-devel Headers and libraries for PackageKit. %prep -%setup -q -n %{name}-%{version}-%{?alphatag} -%patch0 -p1 -b .add_gpg_bodge +#%setup -q -n %{name}-%{version}-%{?alphatag} +%setup -q %build -%configure --enable-yum --enable-yum2 --with-default-backend=yum +%configure --enable-yum --enable-yum2 --with-default-backend=yum --disable-local make %{?_smp_mflags} @@ -102,25 +116,27 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libpackagekit*.la rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.a -install -m644 docs/spec/pk-structure.png $RPM_BUILD_ROOT%{_datadir}/doc/packagekit/ - chmod 755 $RPM_BUILD_ROOT%{_libexecdir}/yumDBUSBackend.py chmod 755 $RPM_BUILD_ROOT%{_libexecdir}/PackageKitDbusTest.py +%find_lang %name + %clean rm -rf $RPM_BUILD_ROOT +%post +update-mime-database %{_datadir}/mime + +%postun +update-mime-database %{_datadir}/mime + %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig -%files +%files -f %{name}.lang %defattr(-,root,root,-) %doc README AUTHORS NEWS COPYING -%dir %{_datadir}/doc/packagekit -%doc %{_datadir}/doc/packagekit/pk-reference.html -%doc %{_datadir}/doc/packagekit/pk-structure.png - %dir %{_datadir}/PackageKit %dir %{_datadir}/PackageKit/helpers %dir %{_sysconfdir}/PackageKit @@ -135,6 +151,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/man/man1/*.1.gz %{_datadir}/gtk-doc/html/PackageKit %{_datadir}/PolicyKit/policy/*.policy +%{_datadir}/mime/packages/packagekit-catalog.xml %{_sbindir}/packagekitd %{_bindir}/pkmon %{_bindir}/pkcon @@ -154,6 +171,11 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf /usr/lib/yum-plugins/refresh-packagekit.* +%files -n udev-packagekit +%defattr(-, root, root) +%{_sysconfdir}/udev/rules.d/*.rules +/lib/udev/*.sh + %files libs %defattr(-,root,root,-) %doc README AUTHORS NEWS COPYING @@ -174,6 +196,11 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/* %changelog +* Fri Jul 04 2008 Richard Hughes - 0.2.3-1 +- New upstream stable version (API break from 0.1.12). + * Multiple actions in one transaction +- Fixes many bugs with the 0.1.x codebase. + * Thu May 22 2008 Richard Hughes - 0.1.12-13.20080522 - Pull in the new snapshot from the stable PACKAGEKIT_0_1_X branch. - Convert ';' characters in the update description to ',' to prevent crashing diff --git a/sources b/sources index 7fef921..2878e7a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8528c6d068ca1036e9f1685e01e82d8b PackageKit-0.1.12-20080522.tar.gz +11fed88d14aa021068294a430161dfe3 PackageKit-0.2.3.tar.gz