diff options
author | pius | 1999-10-20 19:46:47 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 645689459adda052436910a9943e039c087a876a (patch) | |
tree | 40ddc0e9082a55a4ee97086b0ab414fefd6c939d | |
download | perl-Text-German-645689459adda052436910a9943e039c087a876a.zip perl-Text-German-645689459adda052436910a9943e039c087a876a.tar.gz |
- initial release
Changed files:
perl-Text-German.spec -> 1.1
-rw-r--r-- | perl-Text-German.spec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/perl-Text-German.spec b/perl-Text-German.spec new file mode 100644 index 0000000..f3b6e6c --- /dev/null +++ b/perl-Text-German.spec @@ -0,0 +1,53 @@ +%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib) +Summary: Text-German perl module +Summary(pl): Moduł perla Text-German +Name: perl-Text-German +Version: 0.03 +Release: 3 +Copyright: GPL +Group: Development/Languages/Perl +Group(pl): Programowanie/Języki/Perl +Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/Text-German-%{version}.tar.gz +BuildRequires: perl >= 5.005_03-10 +%requires_eq perl +Requires: %{perl_sitearch} +BuildRoot: /tmp/%{name}-%{version}-root + +%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 + +( + cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Text/German + sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new + mv .packlist.new .packlist +) + +gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \ + README + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.gz + +%{perl_sitelib}/Text/German.pm +%{perl_sitelib}/Text/German +%{perl_sitearch}/auto/Text/German + +%{_mandir}/man3/* |