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 # Source0-md5: 271b07dcfe3e928e5138d64672eb77d9
11 URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
12 BuildRequires: gcc-g77
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 CFITSIO is a library of ANSI C routines for reading and writing FITS
17 format data files. A set of Fortran-callable wrapper routines are
18 also included for the convenience of Fortran programmers.
21 CFITSIO to biblioteka funkcji w C do odczytu i zapisu plików z danymi
22 w formacie FITS. Zawiera tak¿e zestaw wrapperów pozwalaj±cych na
23 wywo³ywanie tych funkcji z programów w Fortranie.
26 Summary: Header files and documentation for CFITSIO
27 Summary(pl): Pliki nag³ówkowe i dokumentacja do CFITSIO
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 Header files and development documentation for CFITSIO.
34 %description devel -l pl
35 Pliki nag³ówkowe i dokumentacja programisty do CFITSIO.
38 Summary: Static CFITSIO library
39 Summary(pl): Statyczna biblioteka CFITSIO
40 Group: Development/Libraries
41 Requires: %{name}-devel = %{version}-%{release}
44 Static version of CFITSIO library.
46 %description static -l pl
47 Statyczna wersja biblioteki CFITSIO.
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
62 CFITSIO_LIB=$RPM_BUILD_ROOT%{_libdir} \
63 CFITSIO_INCLUDE=$RPM_BUILD_ROOT%{_includedir}
66 rm -rf $RPM_BUILD_ROOT
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %defattr(644,root,root,755)
73 %doc Licence.txt README changes.txt
74 %attr(755,root,root) %{_libdir}/lib*.so
77 %defattr(644,root,root,755)
78 %doc cfitsio.doc cfitsio.ps fitsio.doc fitsio.ps quick.ps
82 %defattr(644,root,root,755)