Package ncompress: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | Name: ncompress Version: 4.2.4.4 Release: alt1 Summary: Fast compression and decompression utilities License: Public domain Group: Archiving/Compression Url: http://ncompress.sourceforge.net/ # http://downloads.sourceforge.net/ncompress/%name-%version.tar.gz Source: %name-%version.tar Patch1: ncompress-4.2.4.4-rh-lfs.patch Patch2: ncompress-4.2.4.4-rh-filenamelen.patch Patch3: ncompress-4.2.4.4-rh-2GB.patch Patch4: ncompress-4.2.4.4-rh-endians.patch Patch5: ncompress-4.2.4.4-rh-memmove.patch Patch6: ncompress-4.2.4.4-rh-silence-gcc.patch %description This package contains the compress and uncompress file compression and decompression utilities, which are compatible with the original UNIX compress utility (.Z file extensions). These utilities can't handle gzipped (.gz file extensions) files, but gzip can handle compressed files. %prep %setup %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build %add_optflags -DNOFUNCDEF -DDIRENT -DSYSDIR -DUTIME_H -DUSERMEM=800000 -DREGISTERS=20 -DIBUFSIZ=1024 -DOBUFSIZ=1024 %ifarch %ix86 x86_64 %add_optflags -DBYTEORDER=4321 %endif %ifarch %arm %add_optflags -DBYTEORDER=1234 %endif %__cc %optflags `getconf LFS_CFLAGS` -DCOMPILE_DATE="\"`LC_TIME=C date +%%Y%%m%%d`\"" compress42.c -o compress %install install -Dpm755 compress %buildroot%_bindir/compress install -Dpm644 compress.1 %buildroot%_man1dir/compress.1 ln -s compress %buildroot%_bindir/uncompress ln -s compress.1 %buildroot%_man1dir/uncompress.1 %files %_bindir/* %_man1dir/* %doc Acknowleds Changes LZW.INFO README %changelog * Wed Apr 17 2013 Dmitry V. Levin <ldv@altlinux.org> 4.2.4.4-alt1 - Updated 4.2.4.4, synced patches with Fedora. * Wed Apr 23 2008 Dmitry V. Levin <ldv@altlinux.org> 4.2.4.2-alt1 - Updated to 4.2.4.2. * Thu Oct 24 2002 Stanislav Ievlev <inger@altlinux.ru> 4.2.4-ipl23mdk - rebuild with gcc3 - added LFS patch from RH. * Mon Mar 18 2002 Stanislav Ievlev <inger@altlinux.ru> 4.2.4-ipl22mdk - Rebuilt - Added patch from RH. * Thu Jan 18 2001 Dmitry V. Levin <ldv@fandra.org> 4.2.4-ipl21mdk - RE adaptions. * Sun Sep 24 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 4.2.4-21mdk - rebuilt for macros. - use of spec helper. - the Big Move. * Fri Apr 14 2000 Vincent Saugey <vince@mandrakesoft.com> 4.2.4-20mdk - corrected group * Sun Mar 19 2000 John Buswell <johnb@mandrakesoft.com> 4.2.4-19mdk - Added PPC Support * Wed Nov 10 1999 Jerome Martin <jerome@mandrakesoft.com> - minor specfile cleanup - rebuild for new environment * Sun Oct 31 1999 David BAUDENS <baudens@mandrakesoft.com> - Add i486 and i686 arch (forgotten by Lord DarkChmou ;) * Mon Oct 25 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - fix build mutliple archichtechtures.. * Sat Apr 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com> - Mandrake adaptions - bzip2 man/info pages - add de locale * Tue Jan 12 1999 Cristian Gafton <gafton@redhat.com> - build on armv4l too - build for 6.0 * Thu Aug 13 1998 Jeff Johnson <jbj@redhat.com> - build root * Mon Apr 27 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com> - fixed the spec file * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> - built against glibc |