]> git.pld-linux.org Git - packages/perl-Canary-Stability.git/blob - perl-Canary-Stability.spec
- updated to 2013
[packages/perl-Canary-Stability.git] / perl-Canary-Stability.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Canary
6 %define         pnam    Stability
7 Summary:        Canary::Stability - canary to check Perl compatibility for Schmorp's modules
8 Summary(pl.UTF-8):      Canary::Stability - kanarek do sprawdzania zgodności Perla z modułami Schmorpa
9 Name:           perl-Canary-Stability
10 Version:        2013
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-authors/id/M/ML/MLEHMANN/Canary-Stability-%{version}.tar.gz
16 # Source0-md5:  5368520547521b254317ea0e9b3d23ab
17 URL:            https://metacpan.org/release/Canary-Stability
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rpmbuild(macros) >= 1.745
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This module is used by Schmorp's modules during configuration stage to
26 test the installed Perl for compatibility with his modules.
27
28 It's not, at this stage, meant as a tool for other module authors,
29 although in principle nothing prevents them from subscribing to the
30 same ideas.
31
32 %description -l pl.UTF-8
33 Ten moduł jest używany przez moduły Schmorpa na etapie konfiguracji
34 do sprawdzenia zainstalowanej wersji Perla pod kątem zgodności z
35 modułami tego autora.
36
37 Na tym etapie nie jest przeznaczony dla modułów innych autorów, ale
38 zasadniczo nie ma przeszkód do korzystania z tych samych idei.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} pure_install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc COPYING Changes README
62 %dir %{perl_vendorlib}/Canary
63 %{perl_vendorlib}/Canary/Stability.pm
64 %{_mandir}/man3/Canary::Stability.3pm*
This page took 0.09482 seconds and 4 git commands to generate.