]> git.pld-linux.org Git - packages/perl-Text-Wrapper.git/blob - perl-Text-Wrapper.spec
- s/ftp.perl.org/ftp.cpan.org/ in Source url.
[packages/perl-Text-Wrapper.git] / perl-Text-Wrapper.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Text
3 %define pnam    Wrapper
4 Summary:        Text-Wrapper perl module
5 Summary(pl):    Modu³ perla Text-Wrapper
6 Name:           perl-Text-Wrapper
7 Version:        1.000
8 Release:        8
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.6
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Text-Wrapper - provides simple word wrapping.
19
20 %description -l pl
21 Text-Wrapper udostêpnia proste zawijanie linii.
22
23 %prep
24 %setup -q -n %{pdir}-%{pnam}-%{version}
25
26 %build
27 perl Makefile.PL
28 %{__make}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %{__make} install DESTDIR=$RPM_BUILD_ROOT
34
35 gzip -9nf Changes README
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc *.gz
43 %{perl_sitelib}/Text/Wrapper.pm
44 %{_mandir}/man3/*
This page took 0.030396 seconds and 4 git commands to generate.