]> git.pld-linux.org Git - packages/perl-Devel-CheckCompiler.git/blob - perl-Devel-CheckCompiler.spec
- updated to 0.07
[packages/perl-Devel-CheckCompiler.git] / perl-Devel-CheckCompiler.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # unit tests
4 #
5 %define         pdir    Devel
6 %define         pnam    CheckCompiler
7 Summary:        Devel::CheckCompiler - check the compiler's availability
8 Summary(pl.UTF-8):      Devel::CheckCompiler - sprawdzanie dostępności kompilatora
9 Name:           perl-Devel-CheckCompiler
10 Version:        0.07
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/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  fcd7ba5891f9f4a0fb61b79fcda89e75
17 URL:            https://metacpan.org/dist/Devel-CheckCompiler
18 BuildRequires:  perl-Module-Build-Tiny >= 0.035
19 BuildRequires:  perl-devel >= 1:5.8.1
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRequires:  rpmbuild(macros) >= 1.745
22 %if %{with tests}
23 BuildRequires:  perl-ExtUtils-CBuilder
24 BuildRequires:  perl-Test-Requires
25 BuildRequires:  perl-Test-Simple >= 0.98
26 %endif
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Devel::CheckCompiler is checker for compiler's availability.
32
33 %description -l pl.UTF-8
34 Devel::CheckCompiler to moduł do sprawdzania dostępności kompilatora.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Build.PL \
41         --destdir=$RPM_BUILD_ROOT \
42         --installdirs=vendor
43 ./Build
44
45 %{?with_tests:./Build test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 ./Build install
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes
58 %{perl_vendorlib}/Devel/AssertC99.pm
59 %{perl_vendorlib}/Devel/CheckCompiler.pm
60 %{_mandir}/man3/Devel::AssertC99.3pm*
61 %{_mandir}/man3/Devel::CheckCompiler.3pm*
This page took 0.352148 seconds and 3 git commands to generate.