]> git.pld-linux.org Git - packages/zip.git/commitdiff
almost raw
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 19 Aug 1999 20:07:29 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    zip.spec -> 1.1

zip.spec [new file with mode: 0644]

diff --git a/zip.spec b/zip.spec
new file mode 100644 (file)
index 0000000..7dcc4e4
--- /dev/null
+++ b/zip.spec
@@ -0,0 +1,55 @@
+Summary: A file compression and packaging utility compatible with PKZIP.
+Name: zip
+Version: 2.1
+Release: 8
+Copyright: distributable
+Group: Applications/Archiving
+Source: ftp.uu.net:/pub/archiving/zip/zip21.zip
+Patch0: zip21.patch
+Patch1: zip-2.1-arm.patch
+Prefix: /usr
+BuildRoot: /var/tmp/zip-root
+
+%description
+The zip program is a compression and file packaging utility.  Zip is
+analogous to a combination of the UNIX tar and compress commands and is
+compatible with PKZIP (a compression and file packaging utility for
+MS-DOS systems).
+
+Install the zip package if you need to compress files using the zip
+program.
+
+%prep
+%setup -T -c -q 
+unzip $RPM_SOURCE_DIR/zip21.zip
+%patch0 -p1
+%patch1 -p1
+
+%build
+make -f unix/Makefile prefix=/usr "RPM_OPT_FLAGS=$RPM_OPT_FLAGS" generic_gcc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1}
+
+make -f unix/Makefile prefix=$RPM_BUILD_ROOT/usr install
+
+pushd $RPM_BUILD_ROOT
+for n in zipnote zipsplit zip zipcloak ; do
+    strip ./usr/bin/$n
+done
+popd
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc README Where algorith.doc install.doc zip.doc TODO infozip.who
+/usr/bin/zipgrep
+/usr/bin/zipnote
+/usr/bin/zipsplit
+/usr/bin/zip
+/usr/bin/zipcloak
+/usr/man/man1/zip.1
+/usr/man/man1/zipgrep.1
This page took 0.061875 seconds and 4 git commands to generate.