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