rpms/unzoo/F-10 unzoo.c,NONE,1.1 unzoo.spec,NONE,1.1

John W. Linville linville at fedoraproject.org
Wed Apr 1 17:32:00 UTC 2009


Author: linville

Update of /cvs/pkgs/rpms/unzoo/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25858

Added Files:
	unzoo.c unzoo.spec 
Log Message:
Package import


***** Error reading new file: [Errno 2] No such file or directory: 'unzoo.c'

--- NEW FILE unzoo.spec ---
Name:           unzoo
Version:        4.4
Release:        4%{?dist}
Summary:        ZOO archive extractor

Group:          Applications/Archiving
License:        Public Domain
URL:            http://archives.math.utk.edu/software/multi-platform/gap/util/unzoo.c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0:        http://archives.math.utk.edu/software/multi-platform/gap/util/unzoo.c

%description
'unzoo' is a zoo archive extractor.  A zoo archive is a file that
contains several files, called its members, usually in compressed form
to save space.  'unzoo' can list all or selected members or extract
all or selected members, i.e., uncompress them and write them to
files.  It cannot add new members or delete members.  For this you
need the zoo archiver, called 'zoo', written by Rahul Dhesi.


%prep
%setup -Tc -n %{name}-%{version}
cp -a %{SOURCE0} .
cat %{SOURCE0} | sed -e '/SYNTAX/,/\*\//!d' | cut -c5- > unzoo.txt


%build
gcc %{optflags} -o unzoo -DSYS_IS_UNIX unzoo.c


%install
rm -rf %{buildroot}

# Install binaries
install -Dpm 755 unzoo %{buildroot}%{_bindir}/unzoo


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%{_bindir}/unzoo
%doc unzoo.txt


%changelog
* Thu Mar 26 2009 John W. Linville <linville at redhat.com> - 4.4-4
- Copy source to build directory so it is included in debuginfo

* Thu Mar 26 2009 John W. Linville <linville at redhat.com> - 4.4-3
- Use setup macro in prep phase (cleaner spec, generates debuginfo)
- Add release info in changelog

* Wed Mar 25 2009 John W. Linville <linville at redhat.com> - 4.4-2
- Revise in accordance with new package review comments

* Mon Mar 23 2009 John W. Linville <linville at redhat.com> - 4.4-1
- Initial release for Fedora




More information about the scm-commits mailing list