Initial packaging for Tizen
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 16 Aug 2012 12:46:49 +0000 (15:46 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 17 Aug 2012 08:41:22 +0000 (11:41 +0300)
Change-Id: Ida2f7beb42a72f906db498247e5455e8b909e760
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
pristine-tar.spec [new file with mode: 0644]
pristine-tar_1.25.dsc [new file with mode: 0644]

diff --git a/pristine-tar.spec b/pristine-tar.spec
new file mode 100644 (file)
index 0000000..0af4cd3
--- /dev/null
@@ -0,0 +1,63 @@
+Name:       pristine-tar
+Summary:    Regenerate pristine tarballs
+Version:    1.25
+Release:    0
+Group:      Development/Tools/Building
+License:    GPLv2
+URL:        http://kitenet.net/~joey/code/pristine-tar/
+Source0:    %{name}_%{version}.tar.gz
+Requires:   gzip
+Requires:   bzip2
+Requires:   git
+Requires:   perl-base
+Requires:   xdelta
+BuildRequires:  pkgconfig(zlib)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  fdupes
+AutoProv:   no
+
+
+%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, and a pristine-bz2 for .bz2 files.
+
+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.
+
+
+
+%prep
+%setup -q -n %{name}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor PREFIX=%{_prefix}
+
+make %{?jobs:-j%jobs}
+
+
+
+%install
+rm -rf %{buildroot}
+
+%make_install
+
+find %{buildroot}/usr/lib/zgz/ -name '*.a' | xargs rm
+%fdupes -s %{buildroot}/usr/lib/zgz/
+
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/*
+%dir /usr/lib/zgz/
+/usr/lib/zgz/*
+%{perl_vendorlib}/*
+%{perl_archlib}/*
+%{_mandir}/man1/*.gz
+%doc debian/changelog debian/copyright delta-format.txt TODO GPL
+%exclude %{perl_vendorarch}
+
diff --git a/pristine-tar_1.25.dsc b/pristine-tar_1.25.dsc
new file mode 100644 (file)
index 0000000..47d0654
--- /dev/null
@@ -0,0 +1,40 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+Format: 1.0
+Source: pristine-tar
+Binary: pristine-tar
+Architecture: any
+Version: 1.25
+Maintainer: Joey Hess <joeyh@debian.org>
+Homepage: http://kitenet.net/~joey/code/pristine-tar/
+Standards-Version: 3.9.3
+Vcs-Browser: http://git.kitenet.net/?p=pristine-tar.git
+Vcs-Git: git://git.kitenet.net/pristine-tar/
+Build-Depends: debhelper (>= 7.0.50), dpkg-dev (>= 1.9.0), zlib1g-dev, perl
+Package-List: 
+ pristine-tar deb utils optional
+Checksums-Sha1: 
+ 79013b5a021c5ebc236eabb2e217c716a1921751 140763 pristine-tar_1.25.tar.gz
+Checksums-Sha256: 
+ fdd9717e9c9d13f80ac68fc92fa22983f30cdab3352ec55b731b81f9147b99f8 140763 pristine-tar_1.25.tar.gz
+Files: 
+ a641fc83c176ac7b6b450bafc82562ca 140763 pristine-tar_1.25.tar.gz
+
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+iQIVAwUBT9dlRckQ2SIlEuPHAQjy9Q/+JiMEW+pbiSeAgMAh74ePCRuGYquvkNdx
+DG3Ggj2g12e2Ym5R3S8n+CJV2Qna0iyjd3ajf6srofUFHJnJ1iM3QmhFFZuSrtaV
+zk46XMWask1UhoZeMm+V58y3By+DgJVsC/JEYHpURe+rA7iPy7iaUA/llgw0uqbm
+kmHW16xPCqdSmQOnNyS55+az35xkK6yDspdon8+wtVc7v7XZx1tX/4ppE/glbNNO
+ceV53pR7FlxqMkJaiX0UISdk5zJUXNmlNX0F3+sKiGgS3cw5GVIoYCJPUu7UWh9o
+ZiXk8zprhr2ZZz3EywkDU53LgXu10hBmKZP7jnSyGB3d5lCa2km1Fvm4eEtoV2qz
+jD5zhAL8TK6g2vJju7883P4v4xdB4iXiBmqW0jykAd0sAPiv8cVzIhUC6N37u7ut
+85T4wynf7XbgID2tztlZdN+Y4tZAyjivY4DB2PhAlI23Z4cbV5XsmNee1xSWvapD
+FKncZTOB5JzA+WPJbEwDN5Q17fNvs7kKYYzpQYTstRVwqO5kuLpqjOkQUCL7ZzRe
++piN0xFedr77Q+GWqbjgZEtW+PC7EbGgXfqJwFPpFzz7OZ2kMGyFroI3hOw+xU6B
+uP5ts7nYYrxzREnf3N0zoZNrvCdQY58/JLtQIPv+9ok2V51YNCD8CsDQe1dtKOEN
+YzVUZa6UvMk=
+=ul3m
+-----END PGP SIGNATURE-----