automatic update by autodist [release 1.17-1mamba;Wed Mar 16 2011]
This commit is contained in:
parent
c3f6a27112
commit
fe90eb9949
@ -1,2 +1,6 @@
|
||||
# perl-ExtUtils-F77
|
||||
|
||||
This module tries to figure out how to link C programs with Fortran subroutines on your system.
|
||||
Basically one must add a list of Fortran runtime libraries.
|
||||
The problem is their location and name varies with each OS/compiler combination!
|
||||
|
||||
|
60
perl-ExtUtils-F77.spec
Normal file
60
perl-ExtUtils-F77.spec
Normal file
@ -0,0 +1,60 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-ExtUtils-F77
|
||||
Version: 1.17
|
||||
Release: 1mamba
|
||||
Summary: ExtUtils::F77 - Fortran77 support
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Aleph0 <aleph0@openmamba.org>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-F77-%{version}.tar.gz
|
||||
License: Artistic
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRequires: perl-devel >= %perl_major_ver
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
This module tries to figure out how to link C programs with Fortran subroutines on your system.
|
||||
Basically one must add a list of Fortran runtime libraries.
|
||||
The problem is their location and name varies with each OS/compiler combination!
|
||||
|
||||
%prep
|
||||
%setup -q -n ExtUtils-F77-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||
%make
|
||||
%make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
packlist=`find %{buildroot} -name .packlist`
|
||||
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
||||
sort -u > .packlist && rm $packlist
|
||||
|
||||
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||
done
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
rm -f .packlist
|
||||
|
||||
%files -f .packlist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Wed Mar 16 2011 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Fri Nov 23 2007 Aleph0 <aleph0@openmamba.org> 1.16-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user