|
Matthew D Truch |
988f9f1 |
Name: cfitsio
|
|
Matthew D Truch |
fcf9eef |
Version: 3.130
|
|
|
ef0da52 |
Release: 5%{?dist}
|
|
Matthew D Truch |
988f9f1 |
Summary: Library for manipulating FITS data files
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
Group: Development/Libraries
|
|
Matthew D Truch |
69d4900 |
License: GPLv2+
|
|
Matthew D Truch |
d9aca5a |
URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
|
|
Matthew D Truch |
302c630 |
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3130.tar.gz
|
|
|
ef0da52 |
Patch0: cfitsio.patch
|
|
|
ef0da52 |
Patch1: cfitsio-sparc64.patch
|
|
Matthew D Truch |
988f9f1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
BuildRequires: gcc-gfortran
|
|
Matthew D Truch |
988f9f1 |
Requires(post): /sbin/ldconfig
|
|
Matthew D Truch |
988f9f1 |
Requires(postun): /sbin/ldconfig
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%description
|
|
Matthew D Truch |
988f9f1 |
CFITSIO is a library of C and FORTRAN subroutines for reading and writing
|
|
Matthew D Truch |
988f9f1 |
data files in FITS (Flexible Image Transport System) data format. CFITSIO
|
|
Matthew D Truch |
988f9f1 |
simplifies the task of writing software that deals with FITS files by
|
|
Matthew D Truch |
988f9f1 |
providing an easy to use set of high-level routines that insulate the
|
|
Matthew D Truch |
988f9f1 |
programmer from the internal complexities of the FITS file format. At the
|
|
Matthew D Truch |
988f9f1 |
same time, CFITSIO provides many advanced features that have made it the
|
|
Matthew D Truch |
988f9f1 |
most widely used FITS file programming interface in the astronomical
|
|
Matthew D Truch |
988f9f1 |
community.
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%package devel
|
|
Matthew D Truch |
988f9f1 |
Group: Development/Libraries
|
|
Matthew D Truch |
988f9f1 |
Summary: Headers required when building programs against cfitsio
|
|
Matthew D Truch |
988f9f1 |
Requires: %{name} = %{version}-%{release}
|
|
Matthew D Truch |
6e2d661 |
Requires: pkgconfig
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%description devel
|
|
Matthew D Truch |
988f9f1 |
Headers required when building a program against the cfitsio library.
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
ea7ded6 |
%package static
|
|
Matthew D Truch |
ea7ded6 |
Group: Development/Libraries
|
|
Matthew D Truch |
ea7ded6 |
Summary: Static cfitsio library
|
|
Matthew D Truch |
ea7ded6 |
|
|
Matthew D Truch |
ea7ded6 |
%description static
|
|
Matthew D Truch |
952ae3f |
Static cfitsio library; avoid use if possible.
|
|
Matthew D Truch |
ea7ded6 |
|
|
Matthew D Truch |
988f9f1 |
%prep
|
|
Matthew D Truch |
988f9f1 |
%setup -q -n cfitsio
|
|
|
ef0da52 |
%patch0 -p1
|
|
|
ef0da52 |
%patch1 -p1
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%build
|
|
Matthew D Truch |
632dd62 |
FC=f95
|
|
Matthew D Truch |
988f9f1 |
export FC
|
|
Matthew D Truch |
6e2d661 |
export CC=gcc # fixes -O*, -g
|
|
Matthew D Truch |
51acc5d |
%configure
|
|
Matthew D Truch |
988f9f1 |
make shared %{?_smp_mflags}
|
|
Matthew D Truch |
d74f867 |
unset FC
|
|
Matthew D Truch |
952ae3f |
# Manually fix pkgconfig .pc file (BZ 436539)
|
|
Matthew D Truch |
952ae3f |
sed 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' cfitsio.pc >cfitsio.pc.new
|
|
Matthew D Truch |
952ae3f |
sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc.new >cfitsio.pc
|
|
Matthew D Truch |
952ae3f |
rm -f cfitsio.pc.new
|
|
Matthew D Truch |
34e4fcc |
# Manually correct pkgconfig .pc file version
|
|
Matthew D Truch |
34e4fcc |
sed 's|3.006|%{version}|' cfitsio.pc >cfitsio.pc.new
|
|
Matthew D Truch |
34e4fcc |
mv cfitsio.pc.new cfitsio.pc
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
c68a303 |
%check
|
|
Matthew D Truch |
c68a303 |
make testprog
|
|
Matthew D Truch |
c68a303 |
LD_LIBRARY_PATH=. ./testprog > testprog.lis
|
|
Matthew D Truch |
4ae7f8a |
cmp -s testprog.lis testprog.out
|
|
Matthew D Truch |
c68a303 |
cmp -s testprog.fit testprog.std
|
|
Matthew D Truch |
c68a303 |
|
|
Matthew D Truch |
988f9f1 |
%install
|
|
Matthew D Truch |
988f9f1 |
rm -rf %{buildroot}
|
|
Matthew D Truch |
988f9f1 |
mkdir -p %{buildroot}
|
|
Matthew D Truch |
f43a4fc |
mkdir -p %{buildroot}%{_libdir}
|
|
Matthew D Truch |
f43a4fc |
mkdir -p %{buildroot}%{_includedir}/%{name}
|
|
Matthew D Truch |
f43a4fc |
make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_LIB=%{buildroot}%{_libdir} \
|
|
Matthew D Truch |
f43a4fc |
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} install
|
|
Matthew D Truch |
d74f867 |
pushd %{buildroot}%{_libdir}
|
|
Matthew D Truch |
9f3ec05 |
ln -s libcfitsio.so.0 libcfitsio.so
|
|
Matthew D Truch |
d74f867 |
popd
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%clean
|
|
Matthew D Truch |
988f9f1 |
rm -rf %{buildroot}
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%post -p /sbin/ldconfig
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%postun -p /sbin/ldconfig
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%files
|
|
Matthew D Truch |
988f9f1 |
%defattr(-,root,root,-)
|
|
Matthew D Truch |
9a8deea |
%doc README License.txt changes.txt fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps
|
|
Matthew D Truch |
9f3ec05 |
%{_libdir}/libcfitsio.so.*
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
%files devel
|
|
Matthew D Truch |
249a33a |
%defattr(-,root,root,-)
|
|
Matthew D Truch |
d74f867 |
%{_includedir}/%{name}
|
|
Matthew D Truch |
9f3ec05 |
%{_libdir}/libcfitsio.so
|
|
Matthew D Truch |
f43a4fc |
%{_libdir}/pkgconfig/cfitsio.pc
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
ea7ded6 |
%files static
|
|
Matthew D Truch |
ea7ded6 |
%{_libdir}/libcfitsio.a
|
|
Matthew D Truch |
ea7ded6 |
|
|
Matthew D Truch |
988f9f1 |
%changelog
|
|
|
ef0da52 |
* Sat Jun 13 2009 Dennis Gilmore <dennis@ausil.us> - 3.130-5
|
|
|
ef0da52 |
- patch for 64 bit sparc linux
|
|
|
ef0da52 |
|
|
Matthew D Truch |
34e4fcc |
* Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 3.130-4
|
|
Matthew D Truch |
34e4fcc |
- Set correct version in pkgconfig .pc file.
|
|
Matthew D Truch |
34e4fcc |
|
|
Matthew D Truch |
4ae7f8a |
* Sun Feb 22 2009 Matthew Truch <matt at truch.net> - 3.130-3
|
|
Matthew D Truch |
4ae7f8a |
- Re-check testprogram output.
|
|
Matthew D Truch |
4ae7f8a |
- Build for koji, rpm, gcc upgrade.
|
|
Matthew D Truch |
4ae7f8a |
|
|
Matthew D Truch |
302c630 |
* Thu Feb 5 2009 Matthew Truch <matt at truch.net> - 3.130-2
|
|
Matthew D Truch |
302c630 |
- Fix source file naming typo.
|
|
Matthew D Truch |
302c630 |
|
|
Matthew D Truch |
302c630 |
* Wed Feb 4 2009 Matthew Truch <matt at truch.net> - 3.130-1
|
|
Matthew D Truch |
fcf9eef |
- Update to 3.130 upstream.
|
|
Matthew D Truch |
fcf9eef |
|
|
Matthew D Truch |
c68a303 |
* Sat Sep 20 2008 Matthew Truch <matt at truch.net> - 3.100-2
|
|
Matthew D Truch |
c68a303 |
- Test library with included test-suite.
|
|
Matthew D Truch |
c68a303 |
|
|
Matthew D Truch |
42a592b |
* Fri Sep 19 2008 Matthew Truch <matt at truch.net> - 3.100-1
|
|
Matthew D Truch |
42a592b |
- Update to 3.100 upstream.
|
|
Matthew D Truch |
42a592b |
Includes bugfixes and new compression scheme.
|
|
Matthew D Truch |
42a592b |
|
|
Matthew D Truch |
952ae3f |
* Fri Mar 7 2008 Matthew Truch <matt at truch.net> - 3.060-3
|
|
Matthew D Truch |
952ae3f |
- Properly indicated include and lib directories in .pc file
|
|
Matthew D Truch |
952ae3f |
(BZ 436539)
|
|
Matthew D Truch |
952ae3f |
- Fix typo in -static descrition.
|
|
Matthew D Truch |
952ae3f |
|
|
Matthew D Truch |
50d76f2 |
* Mon Feb 11 2008 Matthew Truch <matt at truch.net> - 3.060-2
|
|
Matthew D Truch |
50d76f2 |
- Bump release for rebuild.
|
|
Matthew D Truch |
50d76f2 |
|
|
Matthew D Truch |
ea7ded6 |
* Fri Nov 9 2007 Matthew Truch <matt at truch.net> - 3.060-1
|
|
Matthew D Truch |
ea7ded6 |
- Update to 3.060 bugfix release.
|
|
Matthew D Truch |
ea7ded6 |
- Add static package (BZ 372801)
|
|
Matthew D Truch |
ea7ded6 |
|
|
Matthew D Truch |
6dcef8d |
* Tue Aug 21 2007 Matthew Truch <matt at truch.net> - 3.040-3
|
|
Matthew D Truch |
6dcef8d |
- Bump release for rebuild (build-id etc.)
|
|
Matthew D Truch |
6dcef8d |
|
|
Matthew D Truch |
69d4900 |
* Thu Aug 2 2007 Matthew Truch <matt at truch.net> - 3.040-2
|
|
Matthew D Truch |
69d4900 |
- Update License tag
|
|
Matthew D Truch |
69d4900 |
|
|
Matthew D Truch |
7526875 |
* Mon Jul 9 2007 Matthew Truch <matt at truch.net> - 3.040-1
|
|
Matthew D Truch |
7526875 |
- Upgrade to version 3.040 of cfitsio.
|
|
Matthew D Truch |
7526875 |
|
|
Matthew D Truch |
6e2d661 |
* Fri Feb 16 2007 Matthew Truch <matt at truch.net> - 3.030-2
|
|
Matthew D Truch |
6e2d661 |
- Require pkgconfig for -devel.
|
|
Matthew D Truch |
6e2d661 |
- export CC=gcc so we don't clobber $RPM_OPT_FLAGS, thereby
|
|
Matthew D Truch |
6e2d661 |
ruining any -debuginfo packages.
|
|
Matthew D Truch |
6e2d661 |
See RedHat Bugzilla 229041.
|
|
Matthew D Truch |
6e2d661 |
|
|
Matthew D Truch |
40ae4f4 |
* Fri Jan 5 2007 Matthew Truch <matt at truch.net> - 3.030-1
|
|
Matthew D Truch |
40ae4f4 |
- Upgrade to version 3.020 of cfitsio.
|
|
Matthew D Truch |
40ae4f4 |
|
|
Matthew D Truch |
4b40cfa |
* Fri Dec 8 2006 Matthew Truch <matt at truch.net> - 3.020-3
|
|
Matthew D Truch |
4b40cfa |
- Commit correct patch to configure and Makefiles.
|
|
Matthew D Truch |
4b40cfa |
|
|
Matthew D Truch |
f43a4fc |
* Fri Dec 8 2006 Matthew Truch <matt at truch.net> - 3.020-2
|
|
Matthew D Truch |
f43a4fc |
- Modify spec file to install to correct directories.
|
|
Matthew D Truch |
f43a4fc |
- Package cfitsio.pc file in -devel package.
|
|
Matthew D Truch |
f43a4fc |
|
|
Matthew D Truch |
60877d0 |
* Wed Dec 6 2006 Matthew Truch <matt at truch.net> - 3.020-1
|
|
Matthew D Truch |
60877d0 |
- Upgrade to revision 3.020 of cfitsio.
|
|
Matthew D Truch |
60877d0 |
|
|
Matthew D Truch |
7dc69f7 |
* Mon Aug 28 2006 Matthew Truch <matt at truch.net> - 3.006-6
|
|
Matthew D Truch |
7dc69f7 |
- Bump release for rebuild in prep. for FC6.
|
|
Matthew D Truch |
7dc69f7 |
|
|
Matthew D Truch |
249a33a |
* Thu Mar 30 2006 Matthew Truch <matt at truch.net> - 3.006-5
|
|
Matthew D Truch |
249a33a |
- Include defattr() for devel package as well - bug 187366
|
|
Matthew D Truch |
249a33a |
|
|
Matthew D Truch |
51acc5d |
* Sun Mar 19 2006 Matthew Truch <matt at truch.net> - 3.006-4
|
|
Matthew D Truch |
87bb9e0 |
- Don't use macro {buildroot} in build, only in install as per
|
|
Matthew D Truch |
51acc5d |
appended comments to Bugzilla bug 172042
|
|
Matthew D Truch |
51acc5d |
|
|
Matthew D Truch |
632dd62 |
* Fri Mar 10 2006 Matthew Truch <matt at truch.net> - 3.006-3
|
|
Matthew D Truch |
632dd62 |
- Point to f95 instead of g95 as per bugzilla bug 185107
|
|
Matthew D Truch |
632dd62 |
|
|
Matthew D Truch |
9a8deea |
* Tue Feb 28 2006 Matthew Truch <matt at truch.net> - 3.006-2
|
|
Matthew D Truch |
9a8deea |
- Fix spelling typo in name of License.txt file.
|
|
Matthew D Truch |
9a8deea |
|
|
Matthew D Truch |
5131c51 |
* Tue Feb 28 2006 Matthew Truch <matt at truch.net> - 3.006-1
|
|
Matthew D Truch |
5131c51 |
- Use new 3.006 fully official stable (non-beta) upstream package.
|
|
Matthew D Truch |
5131c51 |
|
|
Matthew D Truch |
1862ab6 |
* Tue Feb 28 2006 Matthew Truch <matt at truch.net> - 3.005-0.2.beta
|
|
Matthew D Truch |
1862ab6 |
- Bump release for FC5 extras rebuild.
|
|
Matthew D Truch |
1862ab6 |
|
|
Matthew D Truch |
4a996a0 |
* Fri Dec 23 2005 Matthew Truch <matt at truch.net> - 3.005-0.1.beta
|
|
Matthew D Truch |
4a996a0 |
- Update to 3.005beta release.
|
|
Matthew D Truch |
4a996a0 |
|
|
Matthew D Truch |
d9aca5a |
* Mon Nov 14 2005 Matthew Truch <matt at truch.net> - 3.004-0.12.b
|
|
Matthew D Truch |
d9aca5a |
- Put in proper URL and Source addresses.
|
|
Matthew D Truch |
d9aca5a |
- Sync up spec files.
|
|
Matthew D Truch |
d9aca5a |
|
|
Matthew D Truch |
634d611 |
* Sun Nov 13 2005 Matthew Truch <matt at truch.net> - 3.004-0.11.b
|
|
Matthew D Truch |
634d611 |
- Clean up unused code in spec file.
|
|
Matthew D Truch |
634d611 |
|
|
Matthew D Truch |
9f3ec05 |
* Sun Nov 13 2005 Matthew Truch <matt at truch.net> - 3.004-0.10.b
|
|
Matthew D Truch |
9f3ec05 |
- Set environment variables correctly.
|
|
Matthew D Truch |
9f3ec05 |
- Include patch so Makefile will put things where they belong.
|
|
Matthew D Truch |
9f3ec05 |
|
|
Matthew D Truch |
9f3ec05 |
* Sun Nov 13 2005 Matthew Truch <matt at truch.net> - 3.004-0.9.b
|
|
Matthew D Truch |
9302152 |
- Set libdir and includedir correctly for build process.
|
|
Matthew D Truch |
9302152 |
|
|
Matthew D Truch |
d74f867 |
* Sat Nov 12 2005 Matthew Truch <matt at truch.net> - 3.004-0.8.b
|
|
Matthew D Truch |
d74f867 |
- unset FC once we are done with the build
|
|
Matthew D Truch |
d74f867 |
|
|
Matthew D Truch |
d74f867 |
* Sat Nov 12 2005 Ed Hill <ed@eh3.com> - 3.004-0.7.b
|
|
Matthew D Truch |
d74f867 |
- shared libs and small cleanups
|
|
Matthew D Truch |
d74f867 |
|
|
Matthew D Truch |
988f9f1 |
* Sun Nov 06 2005 Matthew Truch <matt at truch.net> - 3.004-0.6.b
|
|
Matthew D Truch |
988f9f1 |
- Own include directory created by the devel package.
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
* Sun Nov 06 2005 Matthew Truch <matt at truch.net> - 3.004-0.5.b
|
|
Matthew D Truch |
988f9f1 |
- Shorten summary.
|
|
Matthew D Truch |
988f9f1 |
- Improve specfile post and postun syntax.
|
|
Matthew D Truch |
988f9f1 |
- Install headers in cfitsio include subdir.
|
|
Matthew D Truch |
988f9f1 |
- Include more documentation provided in tarball.
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
* Sun Nov 06 2005 Matthew Truch <matt at truch.net> - 3.004-0.4.b
|
|
Matthew D Truch |
988f9f1 |
- Require cfitsio for cfitsio-devel
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
* Sat Nov 05 2005 Matthew Truch <matt at truch.net> - 3.004-0.3.b
|
|
Matthew D Truch |
988f9f1 |
- Use proper virgin tarball from upstream.
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
* Sun Oct 30 2005 Matthew Truch <matt at truch.net> - 3.004-0.2.b
|
|
Matthew D Truch |
988f9f1 |
- Include gcc-gfortran build requirment and make sure it gets used.
|
|
Matthew D Truch |
988f9f1 |
- Use macros instead of hard coded paths.
|
|
Matthew D Truch |
988f9f1 |
- Include home page in description
|
|
Matthew D Truch |
988f9f1 |
|
|
Matthew D Truch |
988f9f1 |
* Sat Oct 29 2005 Matthew Truch <matt at truch.net> - 3.004-0.1.b
|
|
Matthew D Truch |
988f9f1 |
- Initial spec file for Fedora Extras.
|
|
Matthew D Truch |
988f9f1 |
|