]> git.pld-linux.org Git - packages/unzip.git/commitdiff
5.42. Crypt in main tarball. debug ready. STB. unzip-5_42-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 28 Jan 2001 11:43:47 +0000 (11:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    unzip.spec -> 1.18

unzip.spec

index 9b5c42e1179a3ba97d20da5ca9c1b32a2186b579..f1c15888163b8fc2a9100c3fcd3ae149baf2c2c4 100644 (file)
@@ -4,14 +4,12 @@ Summary(fr):  d
 Summary(pl):   Unzip rozpakowuje pliki skompresowane programem pkzip i zgodnymi
 Summary(tr):   pkzip ve benzeri programlarýn ürettiði zip arþivlerini açar
 Name:          unzip
-Version:       5.40
-Release:       3
+Version:       5.42
+Release:       1
 Copyright:     distributable
 Group:         Utilities/Archiving
 Group(pl):     Narzêdzia/Archiwizacja
-Source0:       ftp://sunsite.unc.edu/pub/Linux/utils/compress/%{name}540.tar.gz
-# The original source is at ftp://ftp.icce.rug.nl/infozip/src/zcrypt28.zip
-Source1:       zcrypt28.tar.bz2
+Source0:       ftp://ftp.freesoftware.com/pub/infozip/src/%{name}542.tar.gz
 Patch:         %{name}-opt.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -51,21 +49,24 @@ kullan
 %setup -q
 
 %patch -p1 
+rm -f Makefile
 ln -sf unix/Makefile Makefile
 
 %build
-%ifarch i386 i486 i586 i686
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" make linux 
+%ifarch %{ix86}
+CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" make linux
 %else
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" make linux_noasm 
+CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" make linux_noasm
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT 
-%{__make} install prefix=$RPM_BUILD_ROOT/%{_prefix} \
+
+%{__make} \
+       install \
+       prefix=$RPM_BUILD_ROOT/%{_prefix} \
        MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
 gzip -9nf README BUGS
 
 %clean
@@ -73,6 +74,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.gz BUGS.gz
+%doc *.gz
 %attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%{_mandir}/man*/*
This page took 0.117966 seconds and 4 git commands to generate.