]> git.pld-linux.org Git - SPECS.git/blob - perl-Text-Format.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / perl-Text-Format.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 Summary:        Text::Format Perl module - various subroutines to format text
6 Summary(pl.UTF-8):      Moduł Perla Text::Format - różne funkcje do formatowania tekstu
7 Name:           perl-Text-Format
8 Version:        0.58
9 Release:        1
10 # same as perl
11 License:        GPL v1+ or Artistic
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-module/Text/Text-Format-%{version}.tar.gz
14 # Source0-md5:  e9577b0d46f527d64f954b133ea0fbcf
15 URL:            http://search.cpan.org/dist/Text-Format/
16 %{?with_tests:BuildRequires:    perl-Test-Simple}
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 Text::Format Perl module provides various subroutines to format text.
24
25 %description -l pl.UTF-8
26 Moduł Perla Text::Format udostępnia różne funkcje do formatowania
27 tekstu.
28
29 %prep
30 %setup -q -n Text-Format-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make}
36
37 %{?with_tests:%{__make} test}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} pure_install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes
51 %{perl_vendorlib}/Text/Format.pm
52 %{_mandir}/man3/Text::Format.3pm*
This page took 0.406347 seconds and 3 git commands to generate.