- Update to the latest _UNSTABLE_ upstream source
This commit is contained in:
parent
83f29a7826
commit
2b32408cac
@ -1 +1 @@
|
||||
PackageKit-0.1.12-20080416git.tar.gz
|
||||
PackageKit-0.2.0.tar.gz
|
||||
|
||||
@ -2,19 +2,20 @@
|
||||
%define dbus_version 0.90
|
||||
%define dbus_glib_version 0.70
|
||||
%define policykit_version 0.7
|
||||
%define alphatag 20080416git
|
||||
#%define alphatag 20080506git
|
||||
|
||||
%{!?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: 5.%{?alphatag}%{?dist}
|
||||
Version: 0.2.0
|
||||
#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
|
||||
Patch0: PackageKit-bz445086-update-detail-unbound.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: dbus >= %{dbus_version}
|
||||
@ -44,6 +45,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
|
||||
@ -86,10 +98,9 @@ Headers and libraries for PackageKit.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --enable-yum --enable-yum2 --with-default-backend=yum
|
||||
%configure --enable-yum --enable-yum2 --with-default-backend=yum --disable-local
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -107,6 +118,8 @@ install -m644 docs/spec/pk-structure.png $RPM_BUILD_ROOT%{_datadir}/doc/packagek
|
||||
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
|
||||
|
||||
@ -114,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc README AUTHORS NEWS COPYING
|
||||
%dir %{_datadir}/doc/packagekit
|
||||
@ -154,6 +167,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 +192,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/*
|
||||
|
||||
%changelog
|
||||
* Tue May 06 2008 Richard Hughes <rhughes@redhat.com> - 0.2.0-1
|
||||
- Update to the latest _UNSTABLE_ upstream source
|
||||
|
||||
* Mon May 5 2008 Robin Norwood <rnorwood@redhat.com> - 0.1.12-5.20080416git
|
||||
- Apply patch to fix update detail unbound error.
|
||||
- Fix rhbz#445086
|
||||
|
||||
Loading…
Reference in New Issue
Block a user