]> git.pld-linux.org Git - packages/bzip.git/blob - bzip.spec
8ed30b70f1d2ba4931be8749d5e98aa37813178f
[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 # Source0-md5:  03a7fe24ced5ac4401a32092409c78be
8 License:        GPL, but see description for restrictions
9 Group:          Applications/Archiving
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11 Obsoletes:      bzip-man
12 Obsoletes:      bzip-man-gz
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
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} CFLAGS="%{rpmcflags} -fomit-frame-pointer"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
45
46 install bzip ${RPM_BUILD_ROOT}%{_bindir}
47 install bzip.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
48 ln -sf bzip ${RPM_BUILD_ROOT}%{_bindir}/bunzip
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc ALGORITHMS README
56 %attr(755,root,root) %{_bindir}/*
57 %{_mandir}/man1/*
This page took 0.061574 seconds and 2 git commands to generate.