%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Summary: Creates a common metadata repository Name: createrepo Version: 0.10.3 Release: 1%{?dist} License: GPLv2+ Group: System Environment/Base Vendor: VMware, Inc. Distribution: Photon Source0: %{name}-%{version}.tar.gz %define sha1 createrepo=9dfd0e935b3180096ccd61611db3c85c968eea4f URL: http://linux.duke.edu/metadata/ BuildArchitectures: noarch Requires: python2 >= 2.1, rpm-devel, rpm >= 0:4.1.1, libxml2 Requires: yum-metadata-parser, yum >= 3.2.7 Requires: bash Requires: deltarpm BuildRequires: bash BuildRequires: deltarpm BuildRequires: yum-metadata-parser, yum, rpm-devel, rpm, libxml2, python2, python2-libs %description This utility will generate a common metadata repository from a directory of rpm packages %prep %setup -q %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %dir %{_datadir}/%{name} %doc ChangeLog README COPYING COPYING.lib %{_datadir}/%{name}/* %{_datadir}/man/* %{_bindir}/%{name} %{_bindir}/mergerepo %{_bindir}/modifyrepo %{_mandir}/man8/createrepo.8* %{_mandir}/man1/modifyrepo.1* /etc/bash_completion.d/* %{python_sitelib}/createrepo %changelog * Thu Dec 20 2007 Seth Vidal - beginning of the new version * Mon Dec 3 2007 Luke Macken - Add man page for modifyrepo * Thu Jun 07 2007 Paul Nasrat - 0.4.10 * Wed May 16 2007 Paul Nasrat - 0.4.9 * Mon Feb 12 2007 Seth Vidal - 0.4.8 * Tue Feb 6 2007 Seth Vidal - 0.4.7 and yum-metadata-parser dependency * Sat Oct 14 2006 Luke Macken - Add modifyrepo * Fri Aug 11 2006 Paul Nasrat - 0.4.6 * Wed Jul 19 2006 Luke Macken - Remove python-urlgrabber dependency * Fri Jun 9 2006 Seth Vidal - 0.4.5 * Sat Mar 04 2006 Paul Nasrat - 0.4.4 * Thu Jul 14 2005 Seth Vidal - enable caching option - 0.4.3 * Tue Jan 18 2005 Seth Vidal - add man page * Mon Jan 17 2005 Seth Vidal - 0.4.2 * Thu Oct 21 2004 Seth Vidal - ghost files not being added into primary file list if matching regex - 0.4.1 * Mon Oct 11 2004 Seth Vidal - 0.4.0 * Thu Sep 30 2004 Seth Vidal - 0.3.9 - fix for groups checksum creation * Sat Sep 11 2004 Seth Vidal - 0.3.8 * Wed Sep 1 2004 Seth Vidal - 0.3.7 * Fri Jul 23 2004 Seth Vidal - make filelists right * Fri Jul 23 2004 Seth Vidal - fix for broken filelists * Mon Jul 19 2004 Seth Vidal - re-enable groups - update num to 0.3.4 * Tue Jun 8 2004 Seth Vidal - update to the format - versioned deps - package counts - uncompressed checksum in repomd.xml * Fri Apr 16 2004 Seth Vidal - 0.3.2 - small addition of -p flag * Sun Jan 18 2004 Seth Vidal - I'm an idiot * Sun Jan 18 2004 Seth Vidal - 0.3 * Tue Jan 13 2004 Seth Vidal - 0.2 - * Sat Jan 10 2004 Seth Vidal - first packaging