]> git.pld-linux.org Git - packages/perl-Text-Format.git/blob - perl-Text-Format.spec
94faf8ca7b458b2e6317726782e5770dc0a589f4
[packages/perl-Text-Format.git] / perl-Text-Format.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        Text::Format perl module
7 Summary(pl.UTF-8):      Moduł perla Text::Format
8 Name:           perl-Text-Format
9 Version:        0.52
10 Release:        10
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Text/Text-Format%{version}.tar.gz
15 # Source0-md5:  9b1936e65ee05d904bb329e32259814f
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Text::Format - various subroutines to format text.
23
24 %description -l pl.UTF-8
25 Text::Format - różne subrutyny do formatowania tekstu.
26
27 %prep
28 %setup -q -n Text-Format%{version}
29
30 %build
31 %{__perl} Makefile.PL \
32         INSTALLDIRS=vendor
33 %{__make}
34
35 %{?with_tests:%{__make} test}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc Changes README
49 %{perl_vendorlib}/Text/Format.pm
50 %{_mandir}/man3/*
This page took 0.033195 seconds and 2 git commands to generate.