torrentzip/torrentzip.spec

Name: torrentzip
Summary: Create identical zip files over multiple systems
Version: 0.2
Release: 1
License: GPL
Group: Applications/File
URL: http://sourceforge.net/projects/trrntzip
Description: TorrentZip is a replacement for MameZip. The goal of the program is to use standard values when creating zips to create identical files over multiple systems.

CentOS 7 x86_64

The build could not start because the following file is missing: trrntzip_v02_src.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: trrntzip_v02_src.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: matthias

Summary: Create identical zip files over multiple systems
Name: torrentzip
Version: 0.2
Release: 1%{?dist}
License: GPL
Group: Applications/File
URL: http://sourceforge.net/projects/trrntzip
Source: http://dl.sf.net/trrntzip/trrntzip_v02_src.tar.gz
Patch0: patch-src-trrntzip.c
Patch1: trrntzip-0.2-warningfixes.patch
Patch2: trrntzip-0.2-help.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: zlib-devel
BuildRequires: autoconf, automake, libtool

%description
TorrentZip is a replacement for MameZip. The goal of the program is to use
standard values when creating zips to create identical files over multiple
systems.


%prep
%setup -n trrntzip
%patch0 -p0 -b .chmod
%patch1 -p1 -b .warningfixes
%patch2 -p1 -b .help


%build
# No configure, we need to generate it from configure.in
./autogen.sh
%configure
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING README
%{_bindir}/trrntzip


%changelog
* Tue Jan  9 2007 Matthias Saou <http://freshrpms.net/> 0.2-1
- Initial RPM release.