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