Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.7
pristine-tar
pristine-tar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pristine-tar.spec of Package pristine-tar
Name: pristine-tar Version: 1.25 Release: 3 Summary: Regenerate pristine tarballs Group: Development/Tools/Other License: GPLv2 Url: http://kitenet.net/~joey/code/pristine-tar/ Source0: %{name}_%{version}.tar.gz Patch0: pristine-tar-xdelta1.patch BuildRequires: zlib-devel, perl, perl(ExtUtils::MakeMaker) Requires: perl, git %if 0%{?fedora} >= 15 Requires: xdelta1 < 2.0.0 %else Requires: xdelta < 2.0.0 %endif Requires: perl-Pristine-Tar = %{version} BuildRequires: fdupes %description Using pristine-tar you 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/ %package devel Summary: Development libraries for pristine-tar Requires: pristine-tar %description devel Development libraries for pristine-tar split out to separate package %package -n perl-Pristine-Tar Summary: Perl modules for pristine-tar %description -n perl-Pristine-Tar Perl modules for pristine-tar split out to separate package %prep # Adjusting %%setup since git-pkg unpacks to src/ %setup -q -n src %if 0%{?fedora} >= 15 %patch0 -p1 %endif %build perl Makefile.PL INSTALLDIRS=vendor PREFIX=%{_prefix} make %{?_smp_mflags} ZGZ_LIB=%{_libdir}/zgz %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT ZGZ_LIB=%{_libdir}/zgz chmod -x $RPM_BUILD_ROOT%{_libdir}/zgz/suse-bzip2/libbz2.a rm -rf $RPM_BUILD_ROOT%{_libdir}/perl5/vendor_perl/*/*/auto/Pristine rm -rf $RPM_BUILD_ROOT%{perl_vendorarch}/auto rm -rf $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc GPL TODO delta-format.txt %{_bindir}/* %{_mandir}/man1/* %{_libdir}/zgz %exclude %{_libdir}/zgz/suse-bzip2/*.a %exclude %{_libdir}/zgz/suse-bzip2/*.so %files devel %defattr(-,root,root,-) %{_libdir}/zgz/suse-bzip2/*.a %{_libdir}/zgz/suse-bzip2/*.so %files -n perl-Pristine-Tar %defattr(-,root,root,-) %dir %{perl_vendorlib}/Pristine %dir %{perl_vendorlib}/Pristine/Tar %{perl_vendorlib}/*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor