]> git.pld-linux.org Git - packages/perl-Compress-LZF.git/blame - perl-Compress-LZF.spec
- updated URL and macros
[packages/perl-Compress-LZF.git] / perl-Compress-LZF.spec
CommitLineData
91135ce7 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
0da1b944 5%define pdir Compress
6%define pnam LZF
d342a0f2 7Summary: Compress::LZF Perl module - extremely leight-weight Lev-Zimpel-Free compression
97f79d5d 8Summary(pl.UTF-8): Moduł Perla Compress::LZF - ekstremalnie lekka kompresja Lev-Zimpel-Free
d342a0f2 9Name: perl-Compress-LZF
bd900c41
JB
10%define srcver 3.8
11Version: %{srcver}0
f2d8a65f 12Release: 4
471e8fc2 13# same as perl
14License: GPL v1+ or Artistic
d342a0f2 15Group: Development/Languages/Perl
bd900c41
JB
16Source0: http://www.cpan.org/modules/by-module/Compress/%{pdir}-%{pnam}-%{srcver}.tar.gz
17# Source0-md5: c6c4c09d288fd040782eb7edfc39b015
90937c8a 18URL: https://metacpan.org/dist/Compress-LZF
370bc5dd 19BuildRequires: perl-devel >= 1:5.8.0
a77cb047 20BuildRequires: rpm-perlprov >= 4.1-13
90937c8a 21BuildRequires: rpmbuild(macros) >= 1.745
d342a0f2
JB
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25LZF is an extremely fast (not that much slower than a pure memcpy)
26compression algorithm. It is ideal for applications where you want to
27save *some* space but not at the cost of speed. It is ideal for
28repetitive data as well. The module is self-contained and very small
29(no large library to be pulled in). It is also free, so there should
30be no problems incoporating this module into commercial programs. It
31is believed that it is free from any patents.
32
2b087248
JR
33%description -l pl.UTF-8
34LZF jest ekstremalnie szybkim (nie tak dużo wolniejszym od memcpy)
35algorytmem kompresji. Jest idealny dla programów, które chcą
36zaoszczędzić *trochę* miejsca, ale nie kosztem szybkości. Jest idealny
37dla powtarzających się danych. Moduł jest mały i nie wymaga żadnej
38dodatkowej dużej biblioteki. Jest wolnodostępny, więc nie powinno być
39problemów z wykorzystaniem go w komercyjnych programach. Według
40aktualnego stanu wiedzy jest wolny od patentów.
d342a0f2
JB
41
42%prep
bd900c41 43%setup -q -n %{pdir}-%{pnam}-%{srcver}
d342a0f2
JB
44
45%build
a77cb047 46%{__perl} Makefile.PL \
6f461d17 47 INSTALLDIRS=vendor
91135ce7 48%{__make} \
231a12fa 49 CC="%{__cc}" \
91135ce7 50 OPTIMIZE="%{rpmcflags}"
51
52%{?with_tests:%{__make} test}
d342a0f2
JB
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
65%doc Changes README
a77cb047 66%{perl_vendorarch}/Compress/LZF.pm
67%dir %{perl_vendorarch}/auto/Compress/LZF
bd900c41 68%attr(755,root,root) %{perl_vendorarch}/auto/Compress/LZF/LZF.so
7ed133e5 69%{_mandir}/man3/Compress::LZF.3pm*
This page took 0.092905 seconds and 4 git commands to generate.