]> git.pld-linux.org Git - packages/cfitsio.git/blob - cfitsio.spec
- updated to 2.490 (with amd64 support)
[packages/cfitsio.git] / cfitsio.spec
1 Summary:        CFITSIO Interface Library
2 Summary(pl):    Biblioteka interfejsu CFITSIO
3 Name:           cfitsio
4 Version:        2.490
5 %define sver    %(echo %{version} | tr -d .)
6 Release:        1
7 License:        GPL (forced only by gzip code, basically BSD-like)
8 Group:          Libraries
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)
14
15 %description
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.
19
20 %description -l pl
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.
24
25 %package devel
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}
30
31 %description devel
32 Header files and development documentation for CFITSIO.
33
34 %description devel -l pl
35 Pliki nag³ówkowe i dokumentacja programisty do CFITSIO.
36
37 %package static
38 Summary:        Static CFITSIO library
39 Summary(pl):    Statyczna biblioteka CFITSIO
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static version of CFITSIO library.
45
46 %description static -l pl
47 Statyczna wersja biblioteki CFITSIO.
48
49 %prep
50 %setup -q -n %{name}
51
52 %build
53 %configure2_13
54
55 %{__make} shared
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
60
61 %{__make} install \
62         CFITSIO_LIB=$RPM_BUILD_ROOT%{_libdir} \
63         CFITSIO_INCLUDE=$RPM_BUILD_ROOT%{_includedir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc Licence.txt README changes.txt
74 %attr(755,root,root) %{_libdir}/lib*.so
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc cfitsio.doc cfitsio.ps fitsio.doc fitsio.ps quick.ps
79 %{_includedir}/*.h
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/lib*.a
This page took 0.082367 seconds and 4 git commands to generate.