From: Jimmy Tang Date: Wed, 25 Feb 2009 12:21:07 +0000 (+0000) Subject: added spec file X-Git-Tag: 0.22~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=441b6a7a20585a9fd56d22a33c76db450d9e31a8;p=tools%2Fpristine-tar.git added spec file --- diff --git a/pristine-tar.spec b/pristine-tar.spec new file mode 100644 index 0000000..2f447e0 --- /dev/null +++ b/pristine-tar.spec @@ -0,0 +1,56 @@ +Name: pristine-tar +Version: 0.21 +Release: 2%{?dist} +Summary: regenerate pristine tarballs + +Group: System Tools +License: GPLv2 +Url: http://kitenet.net/~joey/code/pristine-tar/ +Source0: http://ftp.debian.org/debian/pool/main/p/pristine-tar/%{name}_%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: git, xdelta + +%description +pristine-tar can regenerate a pristine upstream tarball using only a +small binary delta file and a copy of the source which can be a revision +control checkout. + +The package also includes a pristine-gz command, which can regenerate +a pristine .gz file. + +The delta file is designed to be checked into revision control along-side +the source code, thus allowing the original tarball to be extracted from +revision control. + +pristine-tar is available in git at git://git.kitenet.net/pristine-tar/ + + +%prep +%setup -q -n %{name} + + +%build +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc GPL TODO delta-format.txt +%{_bindir}/* +%{_mandir}/* + + +%changelog +* Tue Feb 24 2009 Jimmy Tang - 0.21-1 +- initial package +