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