]> git.pld-linux.org Git - packages/perl-Compress-LZO.git/blame - perl-Compress-LZO.spec
- release 15 (by relup.sh)
[packages/perl-Compress-LZO.git] / perl-Compress-LZO.spec
CommitLineData
13b61631 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
f22e847e 5%include /usr/lib/rpm/macros.perl
ea16d252 6%define pdir Compress
7%define pnam LZO
f22e847e 8Summary: Compress::LZO Perl module - interface to LZO compression library
531b6452 9Summary(pl.UTF-8): Moduł Perla Compress::LZO - interfejs do biblioteki kompresji LZO
f22e847e 10Name: perl-Compress-LZO
3c1acafd 11Version: 1.08
b1e702c9 12Release: 15
33c2b0e8 13License: GPL v2
f22e847e 14Group: Development/Languages/Perl
7cd1bdfa 15Source0: http://www.cpan.org/modules/by-module/Compress/%{pdir}-%{pnam}-%{version}.tar.gz
1284c02a 16# Source0-md5: 4266ea0cb23817dd02ead4f983c2604f
0b589797 17Patch0: %{name}-lzo2.patch
7cd1bdfa 18URL: http://search.cpan.org/dist/Compress-LZO/
0b589797 19BuildRequires: lzo-devel >= 2.0
34c02821 20BuildRequires: perl-devel >= 1:5.8.0
1b1ae7a3 21BuildRequires: rpm-perlprov >= 4.1-13
f22e847e
JB
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25LZO is a portable lossless data compression library written in ANSI C.
26It offers pretty fast compression and very fast decompression.
27Decompression requires no memory. perl-LZO provides LZO bindings for
28Perl - i.e. you can access the LZO library from your Perl scripts
29thereby compressing ordinary Perl strings.
30
0dc056f1
JR
31%description -l pl.UTF-8
32LZO jest przenośną biblioteką do bezstratnej kompresji danych,
33napisaną w ANSI C. Oferuje szybką kompresję i bardzo szybką, nie
34wymagającą pamięci, dekompresję. perl-LZO udostępnia interfejs dla
35Perla - pozwalający na dostęp do biblioteki LZO ze skryptów perlowych,
36do kompresji zwykłych łańcuchów.
f22e847e
JB
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
0b589797 40%patch0 -p1
f22e847e
JB
41
42%build
1b1ae7a3 43%{__perl} Makefile.PL \
3a3a5c9f 44 INSTALLDIRS=vendor
13b61631 45%{__make} \
8f258643 46 CC="%{__cc}" \
13b61631 47 OPTIMIZE="%{rpmcflags}"
48
49%{?with_tests:%{__make} test}
f22e847e
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 NEWS README
1b1ae7a3 63%{perl_vendorarch}/Compress/LZO.pm
64%dir %{perl_vendorarch}/auto/Compress/LZO
65%{perl_vendorarch}/auto/Compress/LZO/autosplit.ix
1b1ae7a3 66%attr(755,root,root) %{perl_vendorarch}/auto/Compress/LZO/*.so
f22e847e 67%{_mandir}/man3/*
This page took 0.097834 seconds and 4 git commands to generate.