Compare commits
No commits in common. "rawhide" and "FC-2-split" have entirely different histories.
rawhide
...
FC-2-split
6 changed files with 104 additions and 1 deletions
2
.cvsignore
Normal file
2
.cvsignore
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
zoo_2.10-9.diff.gz
|
||||||
|
zoo_2.10.orig.tar.gz
|
||||||
21
Makefile
Normal file
21
Makefile
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
# Makefile for source rpm: zoo
|
||||||
|
# $Id$
|
||||||
|
NAME := zoo
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Rootx && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild
|
|
||||||
2
sources
Normal file
2
sources
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
2dca488e015f6d6079fb3b2106bcbc5e zoo_2.10-9.diff.gz
|
||||||
|
dca5f2cf71379a51ea1e66b25f1e0294 zoo_2.10.orig.tar.gz
|
||||||
24
zoo-2.10-tempfile.patch
Normal file
24
zoo-2.10-tempfile.patch
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
--- zoo/zoopack.c.tempfile Thu Jul 11 21:08:04 1991
|
||||||
|
+++ zoo/zoopack.c Fri Jan 18 13:34:56 2002
|
||||||
|
@@ -171,8 +171,19 @@
|
||||||
|
} else {
|
||||||
|
strcpy (temp_file, xes);
|
||||||
|
}
|
||||||
|
-mktemp (temp_file); /* ... and make unique */
|
||||||
|
-new_file = zoocreate (temp_file);
|
||||||
|
+
|
||||||
|
+/* make unique name */
|
||||||
|
+/* my god, this coding style sucks */
|
||||||
|
+new_file = NOFILE;
|
||||||
|
+{
|
||||||
|
+ int fd;
|
||||||
|
+
|
||||||
|
+ if ((fd = mkstemp(temp_file)) >= 0) {
|
||||||
|
+ new_file = zoocreate (temp_file);
|
||||||
|
+ close(fd);
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
if (new_file == NOFILE)
|
||||||
|
prterror ('f', "Could not create temporary file %s.\n", temp_file);
|
||||||
|
|
||||||
55
zoo.spec
Normal file
55
zoo.spec
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
Name: zoo
|
||||||
|
Version: 2.10
|
||||||
|
Release: 0.fdr.2.2
|
||||||
|
Epoch: 0
|
||||||
|
Summary: File archiving utility with compression
|
||||||
|
|
||||||
|
Group: Applications/Archiving
|
||||||
|
License: Distributable
|
||||||
|
Source: ftp://ftp.debian.org/debian/pool/non-free/z/zoo/zoo_2.10.orig.tar.gz
|
||||||
|
Patch0: ftp://ftp.debian.org/debian/pool/non-free/z/zoo/zoo_2.10-9.diff.gz
|
||||||
|
Patch1: zoo-2.10-tempfile.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
%description
|
||||||
|
zoo is a file archiving utility for maintaining collections of files.
|
||||||
|
It uses Lempel-Ziv compression to provide space savings in the
|
||||||
|
range of 20 to 80 percent depending on the type of data. Written by
|
||||||
|
Rahul Dhesi, and posted to the USENET newsgroup comp.sources.misc.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n zoo-2.10.orig
|
||||||
|
%patch0 -p1 -b .debian
|
||||||
|
%patch1 -p1 -b .tempfile
|
||||||
|
|
||||||
|
%build
|
||||||
|
make %{?_smp_mflags} OPTIM="%{optflags}" linux
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -fr %{buildroot}
|
||||||
|
install -d -m 0755 %{buildroot}%{_bindir} \
|
||||||
|
%{buildroot}%{_mandir}/man1
|
||||||
|
|
||||||
|
install -m 0755 fiz zoo %{buildroot}%{_bindir}/
|
||||||
|
install -m 0644 fiz.1 zoo.1 %{buildroot}%{_mandir}/man1/
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -fr %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644, root, root, 0755)
|
||||||
|
%doc %{_mandir}/man1/*
|
||||||
|
%attr(0755,root,root) %{_bindir}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Apr 25 2004 Mailhot <Nicolas.Mailhot at laPoste.net> - 0:2.10-0.fdr.2
|
||||||
|
* Use debian source
|
||||||
|
|
||||||
|
* Tue Apr 20 2004 Nicolas Mailhot <Nicolas.Mailhot at laPoste.net> - 0:2.10-0.fdr.1
|
||||||
|
* Fedorization
|
||||||
|
|
||||||
|
* Sat Dec 06 2003 Dag Wieers <dag@wieers.com> - 2.10-1
|
||||||
|
- Patch to build on RHFC1.
|
||||||
|
|
||||||
|
* Sun Jan 26 2003 Dag Wieers <dag@wieers.com> - 2.10-0
|
||||||
|
- Initial package. (using DAR)
|
||||||
Reference in a new issue