rpms/cfitsio/devel cfitsio.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthew D Truch (mtruch) fedora-extras-commits at redhat.com
Sun Nov 13 00:15:41 UTC 2005


Author: mtruch

Update of /cvs/extras/rpms/cfitsio/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19714/devel

Modified Files:
	.cvsignore sources 
Added Files:
	cfitsio.spec 
Log Message:
auto-import cfitsio-3.004-0.6.b on branch devel from cfitsio-3.004-0.6.b.src.rpm


--- NEW FILE cfitsio.spec ---
Name:           cfitsio
Version:        3.004
Release:        0.6.b
Summary:        Library for manipulating FITS data files

Group:          Development/Libraries
License:        GPL
URL:            ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3004bbeta.tar.gz
Source0:        cfitsio3004bbeta.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:     gcc-gfortran
Requires(post):    /sbin/ldconfig
Requires(postun):  /sbin/ldconfig

%description
CFITSIO is a library of C and FORTRAN subroutines for reading and writing 
data files in FITS (Flexible Image Transport System) data format. CFITSIO 
simplifies the task of writing software that deals with FITS files by 
providing an easy to use set of high-level routines that insulate the 
programmer from the internal complexities of the FITS file format. At the 
same time, CFITSIO provides many advanced features that have made it the 
most widely used FITS file programming interface in the astronomical 
community.

http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html

%package devel
Group:  Development/Libraries
Summary: Headers required when building programs against cfitsio
Requires: %{name} = %{version}-%{release}

%description devel
Headers required when building a program against the cfitsio library.

%prep
%setup -q -n cfitsio


%build
FC=g95
export FC
%configure --prefix=%{buildroot}/%{_prefix} --includedir=%{buildroot}/%{_includedir}/%{name}
make shared %{?_smp_mflags}


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
make install
#move headers to correct location (configure doesn't obey --includedir)
mkdir -p %{buildroot}/%{_includedir}/%{name}
mv %{buildroot}/%{_includedir}/*.h %{buildroot}/%{_includedir}/%{name}

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc README Licence.txt changes.txt fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps
/%{_prefix}/%{_lib}/libcfitsio.so

%files devel
/%{_includedir}/%{name}
/%{_includedir}/%{name}/*.h
/%{_prefix}/%{_lib}/libcfitsio.a

%changelog
* Sun Nov 06 2005 Matthew Truch <matt at truch.net> - 3.004-0.6.b
- Own include directory created by the devel package.

* Sun Nov 06 2005 Matthew Truch <matt at truch.net> - 3.004-0.5.b
- Shorten summary.
- Improve specfile post and postun syntax.
- Install headers in cfitsio include subdir.
- Include more documentation provided in tarball.

* Sun Nov 06 2005 Matthew Truch <matt at truch.net> - 3.004-0.4.b
- Require cfitsio for cfitsio-devel

* Sat Nov 05 2005 Matthew Truch <matt at truch.net> - 3.004-0.3.b
- Use proper virgin tarball from upstream.

* Sun Oct 30 2005 Matthew Truch <matt at truch.net> - 3.004-0.2.b
- Include gcc-gfortran build requirment and make sure it gets used.
- Use macros instead of hard coded paths.
- Include home page in description

* Sat Oct 29 2005 Matthew Truch <matt at truch.net> - 3.004-0.1.b
- Initial spec file for Fedora Extras.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/cfitsio/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Nov 2005 00:14:59 -0000	1.1
+++ .cvsignore	13 Nov 2005 00:15:39 -0000	1.2
@@ -0,0 +1 @@
+cfitsio3004bbeta.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/cfitsio/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Nov 2005 00:14:59 -0000	1.1
+++ sources	13 Nov 2005 00:15:39 -0000	1.2
@@ -0,0 +1 @@
+28d128ad001aadb848cb13f4c4fc3d14  cfitsio3004bbeta.tar.gz




More information about the fedora-extras-commits mailing list