]> git.pld-linux.org Git - packages/perl-Archive-Extract.git/blob - perl-Archive-Extract.spec
- updated to 0.86
[packages/perl-Archive-Extract.git] / perl-Archive-Extract.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Archive
6 %define         pnam    Extract
7 Summary:        Archive::Extract - A generic archive extracting mechanism
8 Summary(pl.UTF-8):      Archive::Extract - ogólny mechanizm rozpakowywania archiwów
9 Name:           perl-Archive-Extract
10 Version:        0.86
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Archive/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  f586017fb17bec26b56c7ff7ea0307fa
17 URL:            https://metacpan.org/release/Archive-Extract
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rpmbuild(macros) >= 1.745
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Archive::Extract is a generic archive extraction mechanism.
26
27 It allows you to extract any archive file of the type .tar, .tar.gz,
28 .gz, .Z, .tar.bz2, .tbz, .bz2, .zip, .xz,, .txz, .tar.xz or .lzma
29 without having to worry how it does so, or use different interfaces
30 for each type by using either perl modules, or commandline tools on
31 your system.
32
33 %description -l pl.UTF-8
34 Archive::Extract to ogólny mechanizm rozpakowywania archiwów.
35
36 Pozwala rozpakowywać dowolne pliki archiwów typu .tar, .tar.gz, .gz,
37 .Z, .tar.bz2, .tbz, .bz2, .zip, .xz, .txz, .tar.gz lub .lzma bez
38 zastanawiania się, jak to robi albo używania różnych interfejsów dla
39 każdego rodzaju pliku i w zależności od tego wykorzystywania modułów
40 perlowych lub narzędzi linii poleceń.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} pure_install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc CHANGES README
64 %{perl_vendorlib}/Archive/Extract.pm
65 %{_mandir}/man3/Archive::Extract.3pm*
This page took 0.094527 seconds and 3 git commands to generate.