]> git.pld-linux.org Git - packages/perl-Regexp-Subst-Parallel.git/blame - perl-Regexp-Subst-Parallel.spec
use generic url
[packages/perl-Regexp-Subst-Parallel.git] / perl-Regexp-Subst-Parallel.spec
CommitLineData
fc4d47cb
JB
1#
2# Conditional build:
294e77b0 3%bcond_without tests # do not perform "make test"
4d210665 4
5bcddc34 5%define pdir Regexp
6%define pnam Subst-Parallel
4d210665 7%include /usr/lib/rpm/macros.perl
fc4d47cb 8Summary: Regexp::Subst::Parallel - multiple substitutions on a string in parallel
40f0d855 9Summary(pl.UTF-8): Regexp::Subst::Parallel - jednoczesne wykonywanie wielu podstawień w łańcuchu
fc4d47cb 10Name: perl-Regexp-Subst-Parallel
8a324dc8 11Version: 0.11
84d6ec2b 12Release: 2
58ea728d 13# same as perl
fc4d47cb
JB
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
8a324dc8 17# Source0-md5: ebebdad0aea5835daeb8e3cb7add383e
4d210665 18URL: http://search.cpan.org/dist/Regexp-Subst-Parallel/
17957251 19BuildRequires: perl-devel >= 1:5.8.0
fc4d47cb
JB
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Regexp::Subst::Parallel is a module that allows you to make multiple
26simultaneous substitutions safely. Using the sole exported subst
27function has a rather different effect from doing each substitution
28sequentially.
29
7e9dbaed
JR
30%description -l pl.UTF-8
31Regexp::Subst::Parallel to moduł pozwalający na bezpieczne wykonywanie
32wielu podstawień jednocześnie. Użycie zwykłej funkcji subst daje
33raczej inny efekt niż wykonywanie podstawień sekwencyjnie.
fc4d47cb
JB
34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
fc4d47cb
JB
41%{__make}
42
294e77b0 43%{?with_tests:%{__make} test}
fc4d47cb
JB
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
8a324dc8
AM
56%dir %{perl_vendorlib}/%{pdir}/Subst
57%{perl_vendorlib}/%{pdir}/Subst/Parallel.pm
fc4d47cb 58%{_mandir}/man3/*
This page took 0.061681 seconds and 4 git commands to generate.