From d09dc54a54497739a4c7e4053d63269f497a0332 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:34:35 +0100 Subject: [PATCH] automatic version update by autodist [release 1.10-1mamba;Mon Jun 10 2013] --- README.md | 3 ++ perl-Astro-FITS-CFITSIO.spec | 77 ++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 perl-Astro-FITS-CFITSIO.spec diff --git a/README.md b/README.md index ea20c88..1e387cd 100644 --- a/README.md +++ b/README.md @@ -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 + diff --git a/perl-Astro-FITS-CFITSIO.spec b/perl-Astro-FITS-CFITSIO.spec new file mode 100644 index 0000000..0f28985 --- /dev/null +++ b/perl-Astro-FITS-CFITSIO.spec @@ -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 +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 1.10-1mamba +- automatic version update by autodist + +* Fri Nov 16 2012 Silvan Calarco 1.09-1mamba +- update to 1.09 + +* Fri Nov 16 2012 Silvan Calarco 1.07-2mamba +- perl 5.16 mass rebuild + +* Mon Jul 25 2011 Automatic Build System 1.07-1mamba +- automatic version update by autodist + +* Sat Mar 26 2011 Automatic Build System 1.06-1mamba +- automatic update by autodist + +* Mon Nov 03 2008 Silvan Calarco 1.05-2mamba +- automatic rebuild by autodist + +* Fri Nov 23 2007 Aleph0 1.05-1mamba +- package created by autospec