]> git.pld-linux.org Git - packages/ncompress.git/blame - ncompress.spec
- updated to 4.2.4.5
[packages/ncompress.git] / ncompress.spec
CommitLineData
ef7c4fcf 1Summary: A fast compress utility
9e47bcae
ER
2Summary(de.UTF-8): ein schnelles Komprimierungs-Dienstprogramm
3Summary(fr.UTF-8): Utilitaire rapide de compression
4Summary(pl.UTF-8): Narzędzie do szybkiego kompresowania plików
5Summary(tr.UTF-8): Hızlı bir sıkıştırma aracı
0081781d 6Name: ncompress
1fefa794 7Version: 4.2.4.5
ab5bf210 8Release: 1
1fefa794 9License: Public Domain
29aa7128 10Group: Applications/Archiving
6459d17a 11Source0: http://downloads.sourceforge.net/ncompress/%{name}-%{version}.tar.gz
1fefa794 12# Source0-md5: 9ab5d54d764d38050e9256b635bf09a9
1236d4b0 13Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
1b32643d 14# Source1-md5: 1f664b832aee8282bc50f54635b98130
29aa7128 15Patch0: %{name}-make.patch
aa1fea18 16Patch1: %{name}-gcc34.patch
ab5bf210 17URL: http://ncompress.sourceforge.net/
75e5ff2e 18BuildRequires: rpmbuild(macros) >= 1.213
2536fb1e 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e4d890c2 20
21%description
22ncompress is a utility that will do fast compression and decompression
e332b6fc 23compatible with the original *nix compress utility (.Z extensions). It
24will not handle gzipped (.gz) images (although gzip can handle
25compress images). It is pretty much obsolete - unless you need to
c0fe42b0 26exchange files with some really odd Unix variants, use gzip or bzip2
e332b6fc 27instead.
e4d890c2 28
aede7a8e
JR
29%description -l de.UTF-8
30ncompress ist ein Utility zur Durchführung schneller Komprimierungen
e332b6fc 31und Dekomprimierungen, das zu dem Original *nix-Komprimierungs-Utility
aede7a8e 32(.Z- Erweiterungen) kompatibel ist. gzip-Grafikdateien (.gz) können
e332b6fc 33damit nicht verarbeitet werden (obwohl gzip mit compress-Dateien
34arbeiten kann).
e4d890c2 35
aede7a8e 36%description -l fr.UTF-8
9b834992 37ncompress est un utilitaire qui effectue une compression et une
aede7a8e
JR
38décompression rapide avec l'utilitaire de compression *nix original
39(extension .Z). Il ne gère pas les images gzippées (.gz) (bien que
40gzip puisse gérer les images compress).
e4d890c2 41
aede7a8e
JR
42%description -l pl.UTF-8
43ncompress jest narzędziem umożliwiającym szybką kompresję i
44dekompresję plików zgodnym z oryginalnym *niksowym narzędziem o nazwie
45compress (tworzy pliki z rozszerzeniem .Z). ncompress nie obsługuje
46plików .gz (ale gzip potrafi obsługiwać pliki ncompress-a). ncompress
47jest raczej przestarzałym programem - o ile nie potrzebujesz
48wymieniać plików z naprawdę starymi *niksami, używaj programów gzip
ef7c4fcf 49lub bzip2.
e4d890c2 50
aede7a8e
JR
51%description -l tr.UTF-8
52ncompress, orijinal Un*X compress uygulaması ile uyumlu (.Z uzantılı)
53hızlı sıkıştırma ve açma işlemleri yapılmasını sağlar. ncompress gzip
54ile sıkıştırılmış dosyalarla işlem yapamaz. (gzip compress ile
55sıkıştırılmış dosyalar üzerinde çalışabilir)
e4d890c2 56
57%prep
ef7c4fcf 58%setup -q -a1
aa1fea18 59%patch0 -p1
60%patch1 -p1
e4d890c2 61
62%build
1fefa794 63%ifarch sparc sparc64 m68k %{arm} ppc ppc64 s390
7955e5e3 64ENDIAN="1234"
1fefa794
JB
65%else
66ENDIAN="4321"
e4d890c2 67%endif
68
7955e5e3 69%ifarch alpha ia64 %{x8664} ppc64
70OPTCFLAGS="-DNOALLIGN=0"
1fefa794
JB
71%else
72OPTCFLAGS=""
e4d890c2 73%endif
74
ab5bf210 75%{__make} -f Makefile \
7955e5e3 76 CC="%{__cc} %{rpmcflags} $OPTCFLAGS" \
77 ENDIAN="$ENDIAN"
e4d890c2 78
79%install
80rm -rf $RPM_BUILD_ROOT
bacbdd83 81install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
e4d890c2 82
29aa7128 83install compress $RPM_BUILD_ROOT%{_bindir}
a1c2558d 84ln -sf compress $RPM_BUILD_ROOT%{_bindir}/uncompress
e4d890c2 85
bacbdd83 86install compress.1 $RPM_BUILD_ROOT%{_mandir}/man1
2181107c 87echo ".so compress.1" > $RPM_BUILD_ROOT%{_mandir}/man1/uncompress.1
bacbdd83 88
75eddf4d 89for a in de it pl ; do
bacbdd83 90 install -d $RPM_BUILD_ROOT%{_mandir}/$a/man1
1fefa794 91 cp -p $a/man1/* $RPM_BUILD_ROOT%{_mandir}/$a/man1
bacbdd83 92 echo ".so compress.1" > $RPM_BUILD_ROOT%{_mandir}/$a/man1/uncompress.1
ef7c4fcf 93done
0081781d 94
8691a518 95%clean
96rm -rf $RPM_BUILD_ROOT
97
e4d890c2 98%files
0081781d 99%defattr(644,root,root,755)
1fefa794 100%doc Acknowleds Changes LICENSE.txt LZW.INFO README.md UNLICENSE
6459d17a
JB
101%attr(755,root,root) %{_bindir}/compress
102%attr(755,root,root) %{_bindir}/uncompress
103%{_mandir}/man1/compress.1*
104%{_mandir}/man1/uncompress.1*
bacbdd83 105%lang(de) %{_mandir}/de/man1/*
106%lang(it) %{_mandir}/it/man1/*
29aa7128 107%lang(pl) %{_mandir}/pl/man1/*
This page took 0.064563 seconds and 4 git commands to generate.