1 Summary: A fast compress utility
2 Summary(de.UTF-8): ein schnelles Komprimierungs-Dienstprogramm
3 Summary(fr.UTF-8): Utilitaire rapide de compression
4 Summary(pl.UTF-8): Narzędzie do szybkiego kompresowania plików
5 Summary(tr.UTF-8): Hızlı bir sıkıştırma aracı
10 Group: Applications/Archiving
11 Source0: http://dl.sourceforge.net/ncompress/%{name}-%{version}.tar.gz
12 # Source0-md5: 5de31b5b5516f5d0abe26470a5b221e9
13 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
14 # Source1-md5: 1f664b832aee8282bc50f54635b98130
15 Patch0: %{name}-make.patch
16 Patch1: %{name}-gcc34.patch
17 URL: http://ncompress.sourceforge.net/
18 BuildRequires: rpmbuild(macros) >= 1.213
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 ncompress is a utility that will do fast compression and decompression
23 compatible with the original *nix compress utility (.Z extensions). It
24 will not handle gzipped (.gz) images (although gzip can handle
25 compress images). It is pretty much obsolete - unless you need to
26 exchange files with some really odd Unix variants, use gzip or bzip2
29 %description -l de.UTF-8
30 ncompress ist ein Utility zur Durchführung schneller Komprimierungen
31 und Dekomprimierungen, das zu dem Original *nix-Komprimierungs-Utility
32 (.Z- Erweiterungen) kompatibel ist. gzip-Grafikdateien (.gz) können
33 damit nicht verarbeitet werden (obwohl gzip mit compress-Dateien
36 %description -l fr.UTF-8
37 ncompress est un utilitaire qui effectue une compression et une
38 décompression rapide avec l'utilitaire de compression *nix original
39 (extension .Z). Il ne gère pas les images gzippées (.gz) (bien que
40 gzip puisse gérer les images compress).
42 %description -l pl.UTF-8
43 ncompress jest narzędziem umożliwiającym szybką kompresję i
44 dekompresję plików zgodnym z oryginalnym *niksowym narzędziem o nazwie
45 compress (tworzy pliki z rozszerzeniem .Z). ncompress nie obsługuje
46 plików .gz (ale gzip potrafi obsługiwać pliki ncompress-a). ncompress
47 jest raczej przestarzałym programem - o ile nie potrzebujesz
48 wymieniać plików z naprawdę starymi *niksami, używaj programów gzip
51 %description -l tr.UTF-8
52 ncompress, orijinal Un*X compress uygulaması ile uyumlu (.Z uzantılı)
53 hızlı sıkıştırma ve açma işlemleri yapılmasını sağlar. ncompress gzip
54 ile sıkıştırılmış dosyalarla işlem yapamaz. (gzip compress ile
55 sıkıştırılmış dosyalar üzerinde çalışabilir)
64 %ifarch sparc sparc64 m68k armv4l ppc ppc64 s390
69 %ifarch alpha ia64 %{x8664} ppc64
70 OPTCFLAGS="-DNOALLIGN=0"
73 %{__make} -f Makefile \
74 CC="%{__cc} %{rpmcflags} $OPTCFLAGS" \
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
81 install compress $RPM_BUILD_ROOT%{_bindir}
82 ln -sf compress $RPM_BUILD_ROOT%{_bindir}/uncompress
84 install compress.1 $RPM_BUILD_ROOT%{_mandir}/man1
85 echo ".so compress.1" > $RPM_BUILD_ROOT%{_mandir}/man1/uncompress.1
87 for a in de it pl ; do
88 install -d $RPM_BUILD_ROOT%{_mandir}/$a/man1
89 install $a/man1/* $RPM_BUILD_ROOT%{_mandir}/$a/man1/
90 echo ".so compress.1" > $RPM_BUILD_ROOT%{_mandir}/$a/man1/uncompress.1
94 rm -rf $RPM_BUILD_ROOT
97 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_bindir}/*
101 %lang(de) %{_mandir}/de/man1/*
102 %lang(it) %{_mandir}/it/man1/*
103 %lang(pl) %{_mandir}/pl/man1/*