1 Summary: CFITSIO Interface Library
2 Summary(pl): Biblioteka interfejsu CFITSIO
5 %define sver %(echo %{version} | tr -d .)
7 License: GPL (forced only by gzip code, basically BSD-like)
9 Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/%{name}%{sver}.tar.gz
10 URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
11 BuildRequires: gcc-g77
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 CFITSIO is a library of ANSI C routines for reading and writing FITS
16 format data files. A set of Fortran-callable wrapper routines are
17 also included for the convenience of Fortran programmers.
20 CFITSIO to biblioteka funkcji w C do odczytu i zapisu plików z danymi
21 w formacie FITS. Zawiera tak¿e zestaw wrapperów pozwalaj±cych na
22 wywo³ywanie tych funkcji z programów w Fortranie.
25 Summary: Header files and documentation for CFITSIO
26 Summary(pl): Pliki nag³ówkowe i dokumentacja do CFITSIO
27 Group: Development/Libraries
28 Requires: %{name} = %{version}
31 Header files and development documentation for CFITSIO.
33 %description devel -l pl
34 Pliki nag³ówkowe i dokumentacja programisty do CFITSIO.
37 Summary: Static CFITSIO library
38 Summary(pl): Statyczna biblioteka CFITSIO
39 Group: Development/Libraries
40 Requires: %{name}-devel = %{version}
43 Static version of CFITSIO library.
45 %description static -l pl
46 Statyczna wersja biblioteki CFITSIO.
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
61 CFITSIO_LIB=$RPM_BUILD_ROOT%{_libdir} \
62 CFITSIO_INCLUDE=$RPM_BUILD_ROOT%{_includedir}
65 rm -rf $RPM_BUILD_ROOT
67 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
71 %defattr(644,root,root,755)
72 %doc Licence.txt README changes.txt
73 %attr(755,root,root) %{_libdir}/lib*.so
76 %defattr(644,root,root,755)
77 %doc cfitsio.doc cfitsio.ps fitsio.doc fitsio.ps quick.ps
81 %defattr(644,root,root,755)