| 1 |
Name: CCfits
|
| 2 |
Version: 2.2
|
| 3 |
Release: 1%{?dist}
|
| 4 |
Summary: A C++ interface for cfitsio
|
| 5 |
|
| 6 |
Group: Development/Libraries
|
| 7 |
License: BSD
|
| 8 |
URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits
|
| 9 |
Source0: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/%{name}-%{version}.tar.gz
|
| 10 |
Patch0: CCfits-1.6-removerpath.patch
|
| 11 |
Patch1: CCfits-pkgconfig.patch
|
| 12 |
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
| 13 |
|
| 14 |
BuildRequires: cfitsio-devel >= 3.130
|
| 15 |
Requires: pkgconfig
|
| 16 |
|
| 17 |
%description
|
| 18 |
CCfits is an object oriented interface to the cfitsio library. It is designed
|
| 19 |
to make the capabilities of cfitsio available to programmers working in C++.
|
| 20 |
It is written in ANSI C++ and implemented using the C++ Standard Library
|
| 21 |
with namespaces, exception handling, and member template functions.
|
| 22 |
|
| 23 |
%package devel
|
| 24 |
Summary: Headers for developing programs that will use %{name}
|
| 25 |
Group: Development/Libraries
|
| 26 |
Requires: cfitsio-devel
|
| 27 |
Requires: %{name} = %{version}-%{release}
|
| 28 |
%description devel
|
| 29 |
These are the header files and libraries needed to develop a %{name}
|
| 30 |
application.
|
| 31 |
|
| 32 |
%package docs
|
| 33 |
Summary: Documentation for %{name}, includes full API docs
|
| 34 |
Group: Documentation
|
| 35 |
BuildArch: noarch
|
| 36 |
|
| 37 |
%description docs
|
| 38 |
This package contains the full API documentation for %{name}.
|
| 39 |
|
| 40 |
%prep
|
| 41 |
%setup -q -n CCfits
|
| 42 |
%patch0 -p1
|
| 43 |
%patch1 -p1
|
| 44 |
rm -rf %{_builddir}/%{name}/html/*.pl
|
| 45 |
|
| 46 |
%build
|
| 47 |
%configure --disable-static --with-cfitsio=%{_prefix} --with-cfitsio-include=%{_includedir}/cfitsio
|
| 48 |
make %{?_smp_mflags}
|
| 49 |
|
| 50 |
%install
|
| 51 |
rm -rf %{buildroot}
|
| 52 |
make %{?_smp_mflags} install DESTDIR=%{buildroot}
|
| 53 |
|
| 54 |
%clean
|
| 55 |
rm -rf %{buildroot}
|
| 56 |
|
| 57 |
%post -p /sbin/ldconfig
|
| 58 |
|
| 59 |
%postun -p /sbin/ldconfig
|
| 60 |
|
| 61 |
%files
|
| 62 |
%defattr(-,root,root)
|
| 63 |
%doc License.txt
|
| 64 |
%{_libdir}/*so.*
|
| 65 |
|
| 66 |
%files devel
|
| 67 |
%defattr(-,root,root)
|
| 68 |
%doc CHANGES
|
| 69 |
%exclude %{_bindir}/cookbook
|
| 70 |
%{_libdir}/*.so
|
| 71 |
%{_libdir}/pkgconfig/*.pc
|
| 72 |
%exclude %{_libdir}/*.la
|
| 73 |
%{_includedir}/*
|
| 74 |
|
| 75 |
%files docs
|
| 76 |
%defattr(-,root,root,-)
|
| 77 |
%doc html
|
| 78 |
|
| 79 |
%changelog
|
| 80 |
* Thu Sep 10 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 2.2-1
|
| 81 |
- New upstream version, includes pkgconfig file
|
| 82 |
|
| 83 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-5
|
| 84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 85 |
|
| 86 |
* Tue Jun 16 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 2.1-4
|
| 87 |
- Noarch subpackage for docs
|
| 88 |
|
| 89 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-3
|
| 90 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 91 |
|
| 92 |
* Fri Feb 06 2009 Sergio Pascual <sergiopr at fedoraproject.org> 2.1-2
|
| 93 |
- Rebuilt to match new cfitsio 3.130
|
| 94 |
|
| 95 |
* Wed Dec 03 2008 Sergio Pascual <sergiopr at fedoraproject.org> 2.1-1
|
| 96 |
- New upstream source
|
| 97 |
- Rebuilt needed to fix bz #474087
|
| 98 |
|
| 99 |
* Sat Feb 09 2008 Sergio Pascual <sergiopr at fedoraproject.org> 2.0-1
|
| 100 |
- New upstream source
|
| 101 |
|
| 102 |
* Wed Nov 13 2007 Sergio Pascual <sergiopr at fedoraproject.org> 1.8-1
|
| 103 |
- New upstream source
|
| 104 |
|
| 105 |
* Mon Aug 27 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 1.7-1.1
|
| 106 |
- Rebuild for Fedora 8 by bad binutils in ppc32
|
| 107 |
|
| 108 |
* Sun Jul 22 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 1.7-1
|
| 109 |
- New upstream source 1.7
|
| 110 |
|
| 111 |
* Thu Feb 01 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 1.6-2
|
| 112 |
- Patch to fix the include directives of cfitsio in header files.
|
| 113 |
|
| 114 |
* Mon Dec 11 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.6-1
|
| 115 |
- New upstream version 1.6. Only compiles with cfitsio >= 3.020.
|
| 116 |
|
| 117 |
* Tue Sep 12 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.5-3
|
| 118 |
- Rebuild for FC6.
|
| 119 |
|
| 120 |
* Fri Jul 28 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.5-2
|
| 121 |
- Removed perl files in the documentation (bug #200517).
|
| 122 |
|
| 123 |
* Thu Jul 27 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.5-1
|
| 124 |
- New upstream source 1.5.
|
| 125 |
- Removed patch CCfits-1.4-g++4.patch (integrated in the source)
|
| 126 |
- Perl files in docs removed in the source.
|
| 127 |
|
| 128 |
* Wed Mar 08 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-4
|
| 129 |
- Removed explicit Buildrequires gcc-c++.
|
| 130 |
|
| 131 |
* Tue Mar 07 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-3
|
| 132 |
- Rebuilt with new upstream source.
|
| 133 |
|
| 134 |
* Mon Mar 06 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-2
|
| 135 |
- Removed Source with license file License.txt.
|
| 136 |
|
| 137 |
* Mon Feb 20 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-1
|
| 138 |
- Removed perl files in documentation.
|
| 139 |
- Changed license type to BSD.
|
| 140 |
- Main summary changed and trailing dots removed.
|
| 141 |
- Removed -rpath in the shared library.
|
| 142 |
|
| 143 |
* Thu Feb 16 2006 Sergio Pascual <spr at astrax.fis.ucm.es> 1.4-0
|
| 144 |
- Initial spec file.
|