]> git.pld-linux.org Git - packages/bzip.git/blame - bzip.spec
- dropped pre-cvs changelog
[packages/bzip.git] / bzip.spec
CommitLineData
90632759 1Summary: Efficient compression program
cc2c124d 2Summary(pl.UTF-8): Skuteczny program kompresujący
90632759
JB
3Name: bzip
4Version: 0.21
3430942f 5Release: 5
90632759
JB
6License: GPL, but see description for restrictions
7Group: Applications/Archiving
d81b66d4
JB
8Source0: ftp://custom.lab.unb.br/pub/compression/bzip/%{name}-%{version}.tar.gz
9# Source0-md5: 03a7fe24ced5ac4401a32092409c78be
90632759
JB
10Obsoletes: bzip-man
11Obsoletes: bzip-man-gz
d81b66d4 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
90632759
JB
13
14%description
15bzip is a compression program which uses some wild new `block sorting
16algorithm' with `arithmetic encoding'. The fundamental point is that
17it makes your files smaller than gzip does, sometimes by up to 30%.
18The other fundamental point is that it may have algorithm patents
19against it, so stick to gzip for public releases and commercial use
20(especially in the States.. some of us live in less repressive
21countries so we don't need to worry so much.)
22
23If you want to do something about the problem of Algorithm patents,
24contact the League for Programming Freedom to see what you can do to
25help. http://www.lpf.org/
26
11bdb52a
JR
27%description -l pl.UTF-8
28bzip jest programem kompresującym używającym algorytmu sortowania
90632759 29blokowego wraz z kodowaniem arytmetycznym. Kompresuje lepiej od gzipa,
11bdb52a
JR
30czasem nawet do 30%. Jednak na kodowanie arytmetyczne obowiązuje
31patent w niektórych krajach (np. w USA).
90632759 32
11bdb52a
JR
33Jeżeli chcesz zrobić coś z problemem patentowania algorytmów, zajrzyj
34na 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
44rm -rf $RPM_BUILD_ROOT
90632759 45install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
4f7068bb 46
90632759
JB
47install bzip ${RPM_BUILD_ROOT}%{_bindir}
48install bzip.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
49ln -sf bzip ${RPM_BUILD_ROOT}%{_bindir}/bunzip
90632759
JB
50
51%clean
52rm -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/*
This page took 0.090611 seconds and 4 git commands to generate.