automatic version update by autodist [release 1.10-1mamba;Mon Jun 10 2013]
This commit is contained in:
parent
a9fc377bfe
commit
d09dc54a54
@ -1,2 +1,5 @@
|
||||
# perl-Astro-FITS-CFITSIO
|
||||
|
||||
Astro::FITS::CFITSIO is a Perl interface to William Pence's cfitsio subroutine library.
|
||||
For more information on cfitsio, see http://heasarc.gsfc.nasa.gov/fitsio
|
||||
|
||||
|
77
perl-Astro-FITS-CFITSIO.spec
Normal file
77
perl-Astro-FITS-CFITSIO.spec
Normal file
@ -0,0 +1,77 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Astro-FITS-CFITSIO
|
||||
Version: 1.10
|
||||
Release: 1mamba
|
||||
Summary: Astro::FITS::CFITSIO - A Perl interface to William Pence's cfitsio subroutine library
|
||||
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/Astro/Astro-FITS-CFITSIO-%{version}.tar.gz
|
||||
License: Artistic
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libcfitsio-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRequires: perl-devel >= %perl_major_ver
|
||||
BuildRequires: libcfitsio-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Astro::FITS::CFITSIO is a Perl interface to William Pence's cfitsio subroutine library.
|
||||
For more information on cfitsio, see http://heasarc.gsfc.nasa.gov/fitsio
|
||||
|
||||
%prep
|
||||
%setup -q -n Astro-FITS-CFITSIO-%{version}
|
||||
|
||||
%build
|
||||
export CFITSIO=%{_includedir}/cfitsio
|
||||
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
|
||||
* Mon Jun 10 2013 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Nov 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.09-1mamba
|
||||
- update to 1.09
|
||||
|
||||
* Fri Nov 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07-2mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 1.07-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Mar 26 2011 Automatic Build System <autodist@mambasoft.it> 1.06-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Nov 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.05-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Fri Nov 23 2007 Aleph0 <aleph0@openmamba.org> 1.05-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user