]> git.pld-linux.org Git - packages/perl-Module-Runtime.git/blame - perl-Module-Runtime.spec
- macros for perl autodeps
[packages/perl-Module-Runtime.git] / perl-Module-Runtime.spec
CommitLineData
bf34634d 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Module
6%define pnam Runtime
bf34634d 7Summary: Module::Runtime - runtime module handling
3f64ab02 8Summary(pl.UTF-8): Module::Runtime - obsługa modułów w czasie działania
bf34634d 9Name: perl-Module-Runtime
61ab9311 10Version: 0.016
bf34634d 11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
61ab9311 16# Source0-md5: d3d47222fa2e3dfcb4526f6cc8437b20
18c377f4 17URL: https://metacpan.org/release/Module-Runtime
bf34634d 18BuildRequires: perl-Module-Build
61ab9311 19%{?with_tests:BuildRequires: perl-Test-Simple >= 0.41}
bf34634d 20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
18c377f4 22BuildRequires: rpmbuild(macros) >= 1.745
bf34634d 23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27The functions exported by this module deal with runtime handling of
28Perl modules, which are normally handled at compile time.
29
3f64ab02
JB
30%description -l pl.UTF-8
31Ten moduł eksportuje funkcje pozwalające obsłużyć w czasie działania
32programu moduły Perla, które są zwykle obsługiwane w czasie
33kompilacji.
bf34634d 34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39%{__perl} Build.PL \
40 destdir=$RPM_BUILD_ROOT \
41 installdirs=vendor
42./Build
43
44%{?with_tests:./Build test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49./Build install
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc Changes README
3f64ab02
JB
57%{perl_vendorlib}/Module/Runtime.pm
58%{_mandir}/man3/Module::Runtime.3pm*
This page took 0.080072 seconds and 4 git commands to generate.