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