Add a new subpackage designed for the workstation spin.

This commit is contained in:
Richard Hughes 2014-09-16 10:53:37 +01:00
parent a07038dfd0
commit 182a38817e
3 changed files with 29 additions and 1 deletions

1
.gitignore vendored
View File

@ -41,3 +41,4 @@ PackageKit-0.6.7.tar.bz2
/PackageKit-0.9.4.tar.xz
/PackageKit-0.9.5.tar.xz
/PackageKit-1.0.0.tar.xz
/cached-metadata.tar

View File

@ -9,11 +9,14 @@
Summary: Package management service
Name: PackageKit
Version: 1.0.0
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.freedesktop.org/software/PackageKit/
Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz
# generated using contrib/generate-md-archive.sh in the PackageKit source tree
Source1: cached-metadata.tar
# Fedora-specific: set Vendor.conf up for Fedora.
Patch0: PackageKit-0.3.8-Fedora-Vendor.conf.patch
@ -103,6 +106,15 @@ Provides: PackageKit-libs = %{version}-%{release}
%description glib
GLib libraries for accessing PackageKit.
%package cached-metadata
Summary: Cached metadata for PackageKit
Requires: %{name}%{?_isa} = %{version}-%{release}
%description cached-metadata
Cached metadata allows application installers to start instantly on the
LiveCD or installed system without downloading files from the internet or
regenerating the SAT caches. It can safely removed if not required.
%package cron
Summary: Cron job and related utilities for PackageKit
Requires: crontabs
@ -212,6 +224,10 @@ pushd ${RPM_BUILD_ROOT}%{_datadir}/PackageKit > /dev/null
ln -s ../pixmaps/comps icons
popd > /dev/null
# ship cached metadata on the LiveCD
# http://blogs.gnome.org/hughsie/2014/08/29/putting-packagekit-metadata-on-the-fedora-livecd/
tar -xf %{SOURCE1} --directory=$RPM_BUILD_ROOT
%find_lang %name
%post
@ -274,6 +290,12 @@ popd > /dev/null
%{_libdir}/packagekit-backend/libpk_backend_hif.so
%endif
%files cached-metadata
%defattr(-,root,root,-)
%{_datadir}/PackageKit/hawkey
%{_datadir}/PackageKit/hawkey/*
%{_datadir}/PackageKit/metadata/*
%files glib
%defattr(-,root,root,-)
%{_libdir}/*packagekit-glib2.so.*
@ -316,6 +338,10 @@ popd > /dev/null
%{_datadir}/gtk-doc/html/PackageKit
%changelog
* Tue Sep 16 2014 Richard Hughes <rhughes@redhat.com> - 1.0.0-2
- Add a new subpackage designed for the workstation spin.
- See http://blogs.gnome.org/hughsie/2014/08/29/ for details.
* Fri Sep 12 2014 Richard Hughes <rhughes@redhat.com> - 1.0.0-1
- New upstream release
- Add a D-Bus interface and helpers for offline support

View File

@ -1 +1,2 @@
8ae6b71c3317efbee7eb0dc5f5516c50 PackageKit-1.0.0.tar.xz
830ab43c78162164253a9774a4919fa4 cached-metadata.tar