87e513d
Name: CCfits
Sergio Pascual b2db04f
Version: 2.4
08b319c
Release: 3%{?dist}
87e513d
Summary: A C++ interface for cfitsio
87e513d
87e513d
Group: Development/Libraries
87e513d
License: BSD
87e513d
URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits
c69f4fb
Source0: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/%{name}-%{version}.tar.gz
53305b2
Patch0: CCfits-1.6-removerpath.patch
87e513d
Sergio Pascual b2db04f
BuildRequires: cfitsio-devel = 3.290
87e513d
87e513d
%description
87e513d
CCfits is an object oriented interface to the cfitsio library. It is designed 
87e513d
to make the capabilities of cfitsio available to programmers working in C++. 
87e513d
It is written in ANSI C++ and implemented using the C++ Standard Library 
87e513d
with namespaces, exception handling, and member template functions.
87e513d
87e513d
%package devel
87e513d
Summary: Headers for developing programs that will use %{name}
87e513d
Group: Development/Libraries
Sergio Pascual 49ef673
Requires: cfitsio-devel >= 3.280
87e513d
Requires: %{name} = %{version}-%{release}
87e513d
%description devel
87e513d
These are the header files and libraries needed to develop a %{name} 
87e513d
application.
87e513d
4ba808d
%package doc
87e513d
Summary: Documentation for %{name}, includes full API docs
87e513d
Group: Documentation
c1855b9
BuildArch: noarch
87e513d
 
4ba808d
%description doc
87e513d
This package contains the full API documentation for %{name}.
87e513d
87e513d
%prep
87e513d
%setup -q -n CCfits
87e513d
%patch0 -p1
bf48cdc
rm -rf %{_builddir}/%{name}/html/*.pl
87e513d
87e513d
%build
87e513d
%configure --disable-static --with-cfitsio=%{_prefix} --with-cfitsio-include=%{_includedir}/cfitsio
bf48cdc
make %{?_smp_mflags}
87e513d
87e513d
%install
bf48cdc
rm -rf %{buildroot}
bf48cdc
make %{?_smp_mflags}  install DESTDIR=%{buildroot}
87e513d
87e513d
%post -p /sbin/ldconfig
87e513d
87e513d
%postun -p /sbin/ldconfig
87e513d
87e513d
%files
87e513d
%doc License.txt
87e513d
%{_libdir}/*so.*
87e513d
87e513d
%files devel
87e513d
%doc CHANGES 
87e513d
%exclude %{_bindir}/cookbook
87e513d
%{_libdir}/*.so
bf48cdc
%{_libdir}/pkgconfig/*.pc
87e513d
%exclude %{_libdir}/*.la
87e513d
%{_includedir}/*
87e513d
4ba808d
%files doc
51d754b
%doc License.txt html
87e513d
87e513d
%changelog
08b319c
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-3
08b319c
- Rebuilt for c++ ABI breakage
08b319c
5ee2c1d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
5ee2c1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5ee2c1d
Sergio Pascual b2db04f
* Fri Jan 06 2012 Sergio Pascual <sergiopr at fedoraproject.org> 2.4-1
Sergio Pascual b2db04f
- New upstream source 2.4
Sergio Pascual b2db04f
- Removing obsoletes for doc package
Sergio Pascual b2db04f
- Rebuilt to match new cfitsio 3.290
Sergio Pascual b2db04f
Sergio Pascual 49ef673
* Fri Jun 10 2011 Sergio Pascual <sergiopr at fedoraproject.org> 2.3-4
Sergio Pascual 49ef673
- Rebuilt to match new cfitsio 3.280
Sergio Pascual 49ef673
Sergio Pascual 74fb686
* Sun Apr 24 2011 Sergio Pascual <sergiopr at fedoraproject.org> 2.3-3
Sergio Pascual 74fb686
- Rebuilt to match new cfitsio 3.270
Sergio Pascual 74fb686
e537b43
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
e537b43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e537b43
Sergio Pascual b906988
* Fri Jul 09 2010 Sergio Pascual <sergiopr at fedoraproject.org> 2.3-1
Sergio Pascual b906988
- New upstream source
Sergio Pascual b906988
51d754b
* Fri Jul 09 2010 Sergio Pascual <sergiopr at fedoraproject.org> 2.2-4
Sergio Pascual b906988
- Include license as documentation in -doc subpackages
51d754b
- Rebuilt to match new cfitsio 3.250
51d754b
4ba808d
* Wed Jan 27 2010 Sergio Pascual <sergiopr at fedoraproject.org> 2.2-3
4ba808d
- Renamed subpackage -docs to -doc, according to guidelines
4ba808d
926b665
* Wed Jan 27 2010 Sergio Pascual <sergiopr at fedoraproject.org> 2.2-2
926b665
- Rebuilt to match new cfitsio 3.240
926b665
- Removed require pkgconfig
926b665
- Using upstream pkgconfig file
926b665
- Minor fixes
926b665
bf48cdc
* Thu Sep 10 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 2.2-1
bf48cdc
- New upstream version, includes pkgconfig file
bf48cdc
7a268bd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-5
7a268bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7a268bd
c1855b9
* Tue Jun 16 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 2.1-4
c1855b9
- Noarch subpackage for docs
c1855b9
436b833
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-3
436b833
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
436b833
bfc79f0
* Fri Feb 06 2009 Sergio Pascual <sergiopr at fedoraproject.org> 2.1-2
bfc79f0
- Rebuilt to match new cfitsio 3.130
bfc79f0
ca655aa
* Wed Dec 03 2008 Sergio Pascual <sergiopr at fedoraproject.org> 2.1-1
ca655aa
- New upstream source
ca655aa
- Rebuilt needed to fix bz #474087
ca655aa
20d1fdf
* Sat Feb 09 2008 Sergio Pascual <sergiopr at fedoraproject.org> 2.0-1
20d1fdf
- New upstream source
20d1fdf
9c9b560
* Wed Nov 13 2007 Sergio Pascual <sergiopr at fedoraproject.org> 1.8-1
9c9b560
- New upstream source
9c9b560
e760e2e
* Mon Aug 27 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 1.7-1.1
e760e2e
- Rebuild for Fedora 8 by bad binutils in ppc32
9c9b560
658267e
* Sun Jul 22 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 1.7-1
658267e
- New upstream source 1.7
9c9b560
5249785
* Thu Feb 01 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 1.6-2
5249785
- Patch to fix the include directives of cfitsio in header files.
9c9b560
53305b2
* Mon Dec 11 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.6-1
5302cf0
- New upstream version 1.6. Only compiles with cfitsio >= 3.020.
9c9b560
69dd8fe
* Tue Sep 12 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.5-3
69dd8fe
- Rebuild for FC6.
9c9b560
e4c2b7a
* Fri Jul 28 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.5-2
b3e27d7
- Removed perl files in the documentation (bug #200517).
9c9b560
c69f4fb
* Thu Jul 27 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.5-1
b3e27d7
- New upstream source 1.5.
c69f4fb
- Removed patch CCfits-1.4-g++4.patch (integrated in the source)
b3e27d7
- Perl files in docs removed in the source.
9c9b560
a8cc60d
* Wed Mar 08 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-4
b3e27d7
- Removed explicit Buildrequires gcc-c++.
9c9b560
87e513d
* Tue Mar 07 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-3
87e513d
- Rebuilt with new upstream source.
9c9b560
87e513d
* Mon Mar 06 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-2
87e513d
- Removed Source with license file License.txt.
9c9b560
87e513d
* Mon Feb 20 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-1
87e513d
- Removed perl files in documentation.
87e513d
- Changed license type to BSD.
87e513d
- Main summary changed and trailing dots removed.
b3e27d7
- Removed -rpath in the shared library.
9c9b560
87e513d
* Thu Feb 16 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-0
87e513d
- Initial spec file.