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