diff --git a/.gitignore b/.gitignore index a3bb82c..f43a886 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,9 @@ /zif-0.1.5.tar.gz /zif-0.2.0.tar.gz /zif-0.2.1.tar.gz +/zif-0.2.2.tar.xz +/zif-0.2.3.tar.xz +/zif-0.2.4.tar.xz +/zif-0.2.5.tar.xz +/zif-0.2.6.tar.xz +/zif-0.2.7.tar.xz diff --git a/sources b/sources index 680818e..8fc6c34 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cba692ac3547c4eab874471119336f96 zif-0.2.1.tar.gz +99819d50b9136714081483ae2096ad65 zif-0.2.7.tar.xz diff --git a/zif.spec b/zif.spec index beaf327..1d361af 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.1 +Version: 0.2.7 Release: 1%{?dist} License: GPLv2+ -URL: http://github.com/hughsie/zif -Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.gz +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,31 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libzif*.la %dir %{_includedir}/libzif %{_includedir}/libzif/*.h %{_datadir}/gtk-doc +%{_datadir}/gir-1.0/*.gir %changelog +* Fri Feb 03 2012 Richard Hughes 0.2.7-1 +- New upstream release +- Check the mirrorlist contains at least one non-comment or empty line +- Fix getting the update details for packages that installed multiarch +- Fix 'zif update kernel' to not remove the running version + +* Tue Nov 01 2011 Richard Hughes 0.2.6-1 +- New upstream release with a few bugfixes and new features. + +* Mon Oct 03 2011 Richard Hughes 0.2.5-1 +- New upstream release with a few bugfixes and new features. + +* Mon Sep 23 2011 Richard Hughes 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 0.2.3-1 +- New upstream release with a few bugfixes and new features. + +* Mon Aug 01 2011 Richard Hughes 0.2.2-1 +- New upstream release with a few bugfixes and new features. + * Mon Jul 04 2011 Richard Hughes 0.2.1-1 - New upstream release with many bugfixes and performance improvements.