[zif/f16] New upstream release with a few bugfixes and new features. The 'zif' binary has been split out into
Richard Hughes
rhughes at fedoraproject.org
Fri Sep 23 16:18:50 UTC 2011
commit e9edceeedcb474d7f1d847fbded6cde7d3209511
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Sep 23 16:31:32 2011 +0100
New upstream release with a few bugfixes and new features.
The 'zif' binary has been split out into a -tools subpackage
.gitignore | 1 +
sources | 2 +-
zif.spec | 34 ++++++++++++++++++++++++++++------
3 files changed, 30 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7a592a5..2be1d3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/zif-0.2.1.tar.gz
/zif-0.2.2.tar.xz
/zif-0.2.3.tar.xz
+/zif-0.2.4.tar.xz
diff --git a/sources b/sources
index 09bf7fc..7b43c89 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-67822a86a12fd90961c02b80616fa909 zif-0.2.3.tar.xz
+648661ccae719c2d6bf75503081875c6 zif-0.2.4.tar.xz
diff --git a/zif.spec b/zif.spec
index 99acef9..dda54f2 100644
--- a/zif.spec
+++ b/zif.spec
@@ -1,10 +1,12 @@
Summary: Simple wrapper for rpm and the Fedora package metadata
Name: zif
-Version: 0.2.3
+Version: 0.2.4
Release: 1%{?dist}
License: GPLv2+
-URL: http://github.com/hughsie/zif
-Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
+URL: http://people.freedesktop.org/~hughsient/zif/
+Source0: http://people.freedesktop.org/~hughsient/zif/releases/%{name}-%{version}.tar.xz
+
+Requires: wget
BuildRequires: glib2-devel >= 2.16.1
BuildRequires: rpm-devel
@@ -15,11 +17,13 @@ BuildRequires: libarchive-devel
BuildRequires: docbook-utils
BuildRequires: gnome-doc-utils
BuildRequires: gtk-doc
+BuildRequires: xz-devel
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
BuildRequires: gpgme-devel
BuildRequires: intltool
BuildRequires: gettext
+BuildRequires: gobject-introspection-devel
%description
Zif is a simple yum-compatible library that provides read-write
@@ -27,6 +31,14 @@ access to the rpm database and the Fedora metadata for PackageKit.
Zif is not designed as a replacement to yum, nor to be used by end users.
+%package tools
+Summary: Command line tools for using libzif
+Requires: %{name} = %{version}-%{release}
+
+%description tools
+This provides the zif command line tool that can be used as an
+alternative to yum. It is not normally required.
+
%package devel
Summary: GLib Libraries and headers for zif
Requires: %{name} = %{version}-%{release}
@@ -62,12 +74,17 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libzif*.la
%files -f Zif.lang
%defattr(-,root,root,-)
%doc README AUTHORS NEWS COPYING
-%{_bindir}/zif
%{_libdir}/*libzif*.so.*
-%{_mandir}/man1/*.1.gz
%dir %{_sysconfdir}/zif
+%dir %{_localstatedir}/lib/zif
+%ghost %verify(not md5 size mtime) %{_localstatedir}/lib/zif/history.db
+%config(noreplace) %{_sysconfdir}/zif/zif.conf
+%{_libdir}/girepository-1.0/*.typelib
+
+%files tools
+%{_bindir}/zif
%config %{_sysconfdir}/bash_completion.d/*-completion.bash
-%config %{_sysconfdir}/zif/zif.conf
+%{_mandir}/man1/*.1.gz
%files devel
%defattr(-,root,root,-)
@@ -76,8 +93,13 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libzif*.la
%dir %{_includedir}/libzif
%{_includedir}/libzif/*.h
%{_datadir}/gtk-doc
+%{_datadir}/gir-1.0/*.gir
%changelog
+* Mon Sep 23 2011 Richard Hughes <richard at hughsie.com> 0.2.4-1
+- New upstream release with a few bugfixes and new features.
+- The 'zif' binary has been split out into a -tools subpackage
+
* Mon Sep 05 2011 Richard Hughes <richard at hughsie.com> 0.2.3-1
- New upstream release with a few bugfixes and new features.
More information about the scm-commits
mailing list