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