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