]> git.pld-linux.org Git - packages/perl-Compress-Raw-Lzma.git/blame - perl-Compress-Raw-Lzma.spec
- updated to 2.101
[packages/perl-Compress-Raw-Lzma.git] / perl-Compress-Raw-Lzma.spec
CommitLineData
6ad50095
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Compress
6%define pnam Raw-Lzma
6ad50095
JB
7Summary: Compress::Raw::Lzma - low-level Interface to lzma compression library
8Summary(pl.UTF-8): Compress::Raw::Lzma - niskopoziomowy interfejs do biblioteki kompresji lzma
9Name: perl-Compress-Raw-Lzma
798f5319
JB
10Version: 2.101
11Release: 1
6ad50095
JB
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
f55def0a 15Source0: http://www.cpan.org/modules/by-module/Compress/Compress-Raw-Lzma-%{version}.tar.gz
798f5319
JB
16# Source0-md5: 7ba205e1761e0feb6a1efed0899a6b2b
17URL: https://metacpan.org/dist/Compress-Raw-Lzma
6ad50095
JB
18BuildRequires: perl-ExtUtils-MakeMaker >= 5.16
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
798f5319 21BuildRequires: rpmbuild(macros) >= 1.745
6ad50095
JB
22BuildRequires: xz-devel
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Compress::Raw::Lzma provides an interface to the in-memory
27compression/uncompression functions from the lzma compression library.
28
29Although the primary purpose for the existence of Compress::Raw::Lzma
30is for use by the IO::Compress::Lzma, IO::Uncompress::UnLzma,
31IO::Compress::Xz and IO::Uncompress::UnXz modules, it can be used on
32its own for simple compression/uncompression tasks.
33
34%description -l pl.UTF-8
35Compress::Raw::Lzma udostępnia interfejs do funkcji kompresji i
36dekompresji w pamięci biblioteki kompresji lzma.
37
38Mimo że głównym celem istnienia modułu Compres::Raw::Lzma jest
39wykorzystywanie przez moduły IO::Compres::Lzma,
40IO::Uncompress::UnLzma, IO::Compress::Xz i IO::Uncompress::UnXz, może
41być używany także samodzielnie do prostych zadań
42kompresji/dekompresji.
43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
48%{__perl} Makefile.PL \
49 INSTALLDIRS=vendor
50%{__make} \
51 CC="%{__cc}" \
52 OPTIMIZE="%{rpmcflags}"
53
54%{?with_tests:%{__make} test}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} pure_install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc Changes
68%{perl_vendorarch}/Compress/Raw/Lzma.pm
69%dir %{perl_vendorarch}/auto/Compress/Raw/Lzma
70%{perl_vendorarch}/auto/Compress/Raw/Lzma/autosplit.ix
6ad50095
JB
71%attr(755,root,root) %{perl_vendorarch}/auto/Compress/Raw/Lzma/Lzma.so
72%{_mandir}/man3/Compress::Raw::Lzma.3pm*
This page took 0.119811 seconds and 4 git commands to generate.