]> git.pld-linux.org Git - SPECS.git/blob - perl-Sys-OutPut.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Sys-OutPut.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Sys
6 %define         pnam    OutPut
7 Summary:        Sys::OutPut perl module
8 Summary(pl.UTF-8):      Moduł perla Sys::OutPut
9 Name:           perl-Sys-OutPut
10 Version:        2.1
11 Release:        11
12 License:        GPL v2+
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  abcb37e8cfdd3a137902fba609b78467
16 URL:            http://search.cpan.org/dist/Sys-OutPut/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Sys::OutPut - module to help make output easier.
24
25 %description -l pl.UTF-8
26 Sys::OutPut - moduł ułatwiający pisanie na wyjście.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %{?with_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README
50 %{perl_vendorlib}/Sys/OutPut.pm
51 %{_mandir}/man3/*
This page took 0.688241 seconds and 3 git commands to generate.