]> git.pld-linux.org Git - packages/perl-PAR-Dist.git/blame - perl-PAR-Dist.spec
- updated to 0.49
[packages/perl-PAR-Dist.git] / perl-PAR-Dist.spec
CommitLineData
1f618b70 1#
2# Conditional build:
11ce16fc 3%bcond_without test # do not perform "make test"
1f618b70 4#
5%include /usr/lib/rpm/macros.perl
8606364f 6%define pdir PAR
7%define pnam Dist
34510c46 8Summary: PAR::Dist - create and manipulate PAR distributions
43d382cf 9Summary(pl.UTF-8): PAR::Dist - tworzenie i manipulacja dystrybucjami PAR
c39cf5c7 10Name: perl-PAR-Dist
7837537c 11Version: 0.49
ae7d3ece 12Release: 1
b02e0dc4 13# same as perl
14License: GPL v1+ or Artistic
1f618b70 15Group: Development/Languages/Perl
0c018a18 16Source0: http://www.cpan.org/modules/by-module/PAR/%{pdir}-%{pnam}-%{version}.tar.gz
7837537c 17# Source0-md5: bd852113974544f3c8c107ab4055cf8c
0c018a18 18URL: http://par.perl.org/
d8186a9e 19BuildRequires: perl-devel >= 1:5.8.0
1f618b70 20BuildRequires: rpm-perlprov >= 4.1-13
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
b02e0dc4 25This module creates and manipulates PAR distributions. They are
26architecture-specific PAR files, containing everything under blib/ of
27CPAN distributions after their "make" or "Build" stage, a META.yml
28describing metadata of the original CPAN distribution, and a MANIFEST
29detailing all files within it. Digitally signed PAR distributions
30will also contain a SIGNATURE file.
31
6c7d4b7c
JR
32%description -l pl.UTF-8
33Ten moduł tworzy i manipuluje dystrybucjami PAR. Są one zależnymi od
34architektury plikami PAR. Zawierają wszystko to, co znajduje się
1d8b7885 35w katalogu blib/ dystrybucji CPAN po wykonaniu etapu "make" lub
6c7d4b7c
JR
36"Build", plik META.yml opisujący metadane pierwotnej dystrybucji CPAN
37oraz plik MANIFEST zawierający listę plików. Podpisane cyfrowo
38dystrybucje PAR zawierają dodatkowo plik SIGNATURE.
1f618b70 39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make}
7bcec522 47
11ce16fc 48%{?with_tests:%{__make} test}
1f618b70 49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
7837537c
JB
62%{perl_vendorlib}/PAR/Dist.pm
63%{_mandir}/man3/PAR::Dist.3pm*
This page took 0.076166 seconds and 4 git commands to generate.