]> git.pld-linux.org Git - packages/perl-Specio.git/blob - perl-Specio.spec
- updated to 0.46
[packages/perl-Specio.git] / perl-Specio.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Specio
6 Summary:        Test::Specio - Test helpers for Specio
7 Summary(pl.UTF-8):      Test::Specio - pomocnicze funkcje i zmienne testowe dla Specio
8 Name:           perl-Specio
9 Version:        0.46
10 Release:        1
11 License:        Artistic v2.0
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-authors/id/D/DR/DROLSKY/Specio-%{version}.tar.gz
14 # Source0-md5:  aca3a183b46b93a8ce02009a2ccd868b
15 URL:            https://metacpan.org/release/Specio
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  rpmbuild(macros) >= 1.745
19 %if %{with tests}
20 BuildRequires:  perl-Devel-StackTrace
21 BuildRequires:  perl-Eval-Closure
22 BuildRequires:  perl-MRO-Compat
23 BuildRequires:  perl-Module-Runtime
24 BuildRequires:  perl-Role-Tiny >= 1.003003
25 BuildRequires:  perl-Scalar-List-Utils >= 1.33
26 BuildRequires:  perl-Storable
27 BuildRequires:  perl-Sub-Quote
28 BuildRequires:  perl-Test-Fatal
29 BuildRequires:  perl-Test-Needs
30 BuildRequires:  perl-Test-Simple >= 0.96
31 BuildRequires:  perl-Try-Tiny
32 BuildRequires:  perl-version >= 0.83
33 %endif
34 BuildArch:      noarch
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 This package provides some helper functions and variables for testing
39 Specio types.
40
41 %description -l pl.UTF-8
42 Ten pakiet dostarcza kilka pomocniczych funkcji i zmiennych do
43 testowania typów Specio.
44
45 %prep
46 %setup -q -n %{pdir}-%{version}
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} pure_install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes README.md TODO.md
67 %{perl_vendorlib}/Specio
68 %{perl_vendorlib}/Specio.pm
69 %{perl_vendorlib}/Test/Specio.pm
70 %{_mandir}/man3/Specio*.3pm*
71 %{_mandir}/man3/Test::Specio.3pm*
This page took 0.140446 seconds and 3 git commands to generate.