diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-02-19 09:46:40 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-02-19 09:46:40 -0800 |
commit | cfb16c5a071120fca8683ad7882217dc3989a000 (patch) | |
tree | d74d0b030a3e62f80e7b61fbcc7ec36d376ee377 | |
parent | 72d1e832d96178b39c7bcb70caba7f31e610bfaa (diff) | |
download | createrepo-cfb16c5a071120fca8683ad7882217dc3989a000.tar.gz createrepo-cfb16c5a071120fca8683ad7882217dc3989a000.tar.bz2 createrepo-cfb16c5a071120fca8683ad7882217dc3989a000.zip |
Add packaging
-rw-r--r-- | packaging/createrepo.spec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/packaging/createrepo.spec b/packaging/createrepo.spec new file mode 100644 index 0000000..c95f8ed --- /dev/null +++ b/packaging/createrepo.spec @@ -0,0 +1,44 @@ +Name: createrepo +Version: 0.9.9 +Release: 1 +License: GPL-2.0 +Summary: Creates a common metadata repository +Url: http://createrepo.baseurl.org/ +Group: System/Base +Source: %{name}-%{version}.tar.gz +BuildRequires: python +Requires: deltarpm +Requires: pyliblzma +Requires: python >= 2.7 +Requires: rpm >= 4.11.0 +Requires: python-rpm +Requires: python-deltarpm +Requires: python-libxml2 +Requires: yum >= 3.4.3 +Requires: yum-metadata-parser +BuildArch: noarch + +%description +This utility will generate a common metadata repository from a directory of rpm +packages. + +%prep +%setup -q + +%build + +%install +make DESTDIR=%{buildroot} sysconfdir=%{_sysconfdir} install + +%files +%defattr(-, root, root,-) +%license COPYING COPYING.lib +%{_sysconfdir}/bash_completion.d/ +%{_datadir}/%{name}/ +%{_bindir}/createrepo +%{_bindir}/modifyrepo +%{_bindir}/mergerepo +%{_mandir}/*/* +%{python_sitelib}/createrepo + +%changelog |