]> git.pld-linux.org Git - packages/bzip.git/blob - bzip.spec
- dropped pre-cvs changelog
[packages/bzip.git] / bzip.spec
1 Summary:        Efficient compression program
2 Summary(pl.UTF-8):      Skuteczny program kompresujący
3 Name:           bzip
4 Version:        0.21
5 Release:        5
6 License:        GPL, but see description for restrictions
7 Group:          Applications/Archiving
8 Source0:        ftp://custom.lab.unb.br/pub/compression/bzip/%{name}-%{version}.tar.gz
9 # Source0-md5:  03a7fe24ced5ac4401a32092409c78be
10 Obsoletes:      bzip-man
11 Obsoletes:      bzip-man-gz
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
27 %description -l pl.UTF-8
28 bzip jest programem kompresującym używającym algorytmu sortowania
29 blokowego wraz z kodowaniem arytmetycznym. Kompresuje lepiej od gzipa,
30 czasem nawet do 30%. Jednak na kodowanie arytmetyczne obowiązuje
31 patent w niektórych krajach (np. w USA).
32
33 Jeżeli chcesz zrobić coś z problemem patentowania algorytmów, zajrzyj
34 na stronę <http://www.lpf.org/>.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__make} \
41         CFLAGS="%{rpmcflags} -fomit-frame-pointer"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
46
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
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc ALGORITHMS README
57 %attr(755,root,root) %{_bindir}/*
58 %{_mandir}/man1/*
This page took 0.061388 seconds and 3 git commands to generate.