3 %bcond_without test # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: PAR::Dist - create and manipulate PAR distributions
9 Summary(pl.UTF-8): PAR::Dist - tworzenie i manipulacja dystrybucjami PAR
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/PAR/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: bd852113974544f3c8c107ab4055cf8c
18 URL: http://par.perl.org/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This module creates and manipulates PAR distributions. They are
26 architecture-specific PAR files, containing everything under blib/ of
27 CPAN distributions after their "make" or "Build" stage, a META.yml
28 describing metadata of the original CPAN distribution, and a MANIFEST
29 detailing all files within it. Digitally signed PAR distributions
30 will also contain a SIGNATURE file.
32 %description -l pl.UTF-8
33 Ten moduł tworzy i manipuluje dystrybucjami PAR. Są one zależnymi od
34 architektury plikami PAR. Zawierają wszystko to, co znajduje się
35 w katalogu blib/ dystrybucji CPAN po wykonaniu etapu "make" lub
36 "Build", plik META.yml opisujący metadane pierwotnej dystrybucji CPAN
37 oraz plik MANIFEST zawierający listę plików. Podpisane cyfrowo
38 dystrybucje PAR zawierają dodatkowo plik SIGNATURE.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/PAR/Dist.pm
63 %{_mandir}/man3/PAR::Dist.3pm*