blob: 0fcc2b5546180e5dd26f82b42ef52d0a06ca3d2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
%include /usr/lib/rpm/macros.perl
Summary: Text-German perl module
Summary(pl): Moduł perla Text-German
Name: perl-Text-German
Version: 0.03
Release: 5
License: GPL
Group: Development/Languages/Perl
Group(de): Entwicklung/Sprachen/Perl
Group(pl): Programowanie/Języki/Perl
Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/Text-German-%{version}.tar.gz
BuildRequires: rpm-perlprov >= 3.0.3-16
BuildRequires: perl >= 5.6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Text-German perl module.
%description -l pl
Moduł perla Text-German.
%prep
%setup -q -n Text-German-%{version}
%build
perl Makefile.PL
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
gzip -9nf README
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc *.gz
%{perl_sitelib}/Text/German.pm
%{perl_sitelib}/Text/German
%{_mandir}/man3/*
|