]>
Commit | Line | Data |
---|---|---|
90632759 | 1 | Summary: Efficient compression program |
cc2c124d | 2 | Summary(pl.UTF-8): Skuteczny program kompresujący |
90632759 JB |
3 | Name: bzip |
4 | Version: 0.21 | |
3430942f | 5 | Release: 5 |
90632759 JB |
6 | License: GPL, but see description for restrictions |
7 | Group: Applications/Archiving | |
d81b66d4 JB |
8 | Source0: ftp://custom.lab.unb.br/pub/compression/bzip/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 03a7fe24ced5ac4401a32092409c78be | |
90632759 JB |
10 | Obsoletes: bzip-man |
11 | Obsoletes: bzip-man-gz | |
d81b66d4 | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
90632759 JB |
13 | |
14 | %description | |
15 | bzip is a compression program which uses some wild new `block sorting | |
16 | algorithm' with `arithmetic encoding'. The fundamental point is that | |
17 | it makes your files smaller than gzip does, sometimes by up to 30%. | |
18 | The other fundamental point is that it may have algorithm patents | |
19 | against it, so stick to gzip for public releases and commercial use | |
20 | (especially in the States.. some of us live in less repressive | |
21 | countries so we don't need to worry so much.) | |
22 | ||
23 | If you want to do something about the problem of Algorithm patents, | |
24 | contact the League for Programming Freedom to see what you can do to | |
25 | help. http://www.lpf.org/ | |
26 | ||
11bdb52a JR |
27 | %description -l pl.UTF-8 |
28 | bzip jest programem kompresującym używającym algorytmu sortowania | |
90632759 | 29 | blokowego wraz z kodowaniem arytmetycznym. Kompresuje lepiej od gzipa, |
11bdb52a JR |
30 | czasem nawet do 30%. Jednak na kodowanie arytmetyczne obowiązuje |
31 | patent w niektórych krajach (np. w USA). | |
90632759 | 32 | |
11bdb52a JR |
33 | Jeżeli chcesz zrobić coś z problemem patentowania algorytmów, zajrzyj |
34 | na stronę <http://www.lpf.org/>. | |
90632759 JB |
35 | |
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
d81b66d4 JB |
40 | %{__make} \ |
41 | CFLAGS="%{rpmcflags} -fomit-frame-pointer" | |
90632759 JB |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
90632759 | 45 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
4f7068bb | 46 | |
90632759 JB |
47 | install bzip ${RPM_BUILD_ROOT}%{_bindir} |
48 | install bzip.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 | |
49 | ln -sf bzip ${RPM_BUILD_ROOT}%{_bindir}/bunzip | |
90632759 JB |
50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
cf51da02 | 56 | %doc ALGORITHMS README |
90632759 JB |
57 | %attr(755,root,root) %{_bindir}/* |
58 | %{_mandir}/man1/* |