]> git.pld-linux.org Git - packages/gsl.git/blob - gsl.spec
- release 2: libgsl0{,-devel} added to Obsoletes for allow upgrade from MDK.
[packages/gsl.git] / gsl.spec
1 Summary:        The GNU Scientific Library for numerical analysis
2 Summary(es):    Biblioteca científica del GNU
3 Summary(pl):    GNU Scientific Library do analizy numerycznej
4 Summary(pt_BR): Biblioteca científica GNU
5 Name:           gsl
6 Version:        1.1.1
7 Release:        2
8 Epoch:          1
9 License:        GPL
10 Group:          Libraries
11 Source0:        ftp://sources.redhat.com/pub/gsl/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-info.patch
13 URL:            http://sourceware.cygnus.com/gsl/
14 BuildRequires:  libtool
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Obsoletes:      libgsl0
19
20 %description
21 The gsl package includes the GNU Scientific Library (GSL). The GSL is
22 a collection of routines for numerical analysis, written in C. The GSL
23 is in alpha development. It now includes a random number suite, an FFT
24 package, simulated annealing and root finding. In the future, it will
25 include numerical and Monte Carlo integration and special functions.
26 Linking against the GSL allows programs to access functions which can
27 handle many of the problems encountered in scientific computing.
28 Install the gsl package if you need a library for high-level
29 scientific numerical analysis.
30
31 %description -l es
32 Esta es la biblioteca científica del GNU. Ofrece acceso a funciones
33 para manejar muchos problemas que aparecen en computación científica.
34
35 %description -l pl
36 Pakiet gsl zawiera bibliotekê funkcji przydatnych w pracy naukowej
37 dostêpnych na licencji (GNU). GSL jest zbiorem funkcji napisanych
38 wjezyku C, przeznaczonych do analizy numerycznej. Biblioteka jest
39 jeszcze w bardzo wczesnym stadium tworzenia. W tej chwili zawiera
40 generatory liczb losowych, FFT, znajdowanie miejsc zerowych. W
41 przysz³o¶ci, bêdzie zawieraæ ca³kowanie metod± Monte Carlo oraz
42 funkcje specjalne. Linkowanie z GSL pozwala Twoim programom na dostep
43 do funkcji, które moga byæ u¿yteczne w wielu problemach pojawiajacych
44 sie w obliczeniach naukowych. Zainstaluj gsl jesli potrzebujesz
45 biblioteki do obliczeñ numerycznych.
46
47 %description -l pt_BR
48 Esta é a biblioteca científica do projeto GNU. Fornece acesso a
49 funções para tratar muitos problemas que surgem em computação
50 científica.
51
52 %package devel
53 Summary:        Header files for developing programs using gsl
54 Summary(pl):    Pliki nag³ówkowe i dokumentacja do bibliotek gsl
55 Summary(pt_BR): Ferramentas de desenvolvimento para a gsl
56 Group:          Development/Libraries
57 Requires:       %{name} = %{version}
58 Obsoletes:      libgsl0-devel
59
60 %description devel
61 Header files for developing programs using gsl.
62
63 %description devel -l pl
64 Pliki nag³ówkowe i dokumentacja do bibliotek gsl.
65
66 %description devel -l pt_BR
67 Arquivos de inclusão, bibliotecas e documentação necessário para
68 desenvolver aplicativos que utilizam a biblioteca gsl.
69
70 %package static
71 Summary:        Static gsl librariries
72 Summary(pl):    Biblioteki statyczne gsl
73 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gsl
74 Group:          Development/Libraries
75 Requires:       %{name}-devel = %{version}
76
77 %description static
78 Static gsl librariries.
79
80 %description static -l pl
81 Biblioteki statyczne gsl.
82
83 %description static -l pt_BR
84 Bibliotecas estáticas para desenvolvimento com gsl.
85
86 %package progs
87 Summary:        gsl utility programs
88 Summary(pl):    Narzêdzia dla gsl
89 Group:          Development/Libraries
90 Requires:       %{name} = %{version}
91
92 %description progs
93 gsl utility programs.
94
95 %description progs -l pl
96 Narzêdzia dla gsl.
97
98 %prep
99 %setup -q 
100 %patch0 -p1
101
102 %build
103 rm -f missing
104 libtoolize --copy --force
105 aclocal
106 autoconf
107 automake -a -c -f
108 %configure
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT \
116         m4datadir=%{_aclocaldir}
117
118 gzip -9nf AUTHORS ChangeLog NEWS README KNOWN-PROBLEMS THANKS TODO
119
120 %clean
121 rm -rf $RPM_BUILD_ROOT
122
123 %post   -p /sbin/ldconfig
124 %postun -p /sbin/ldconfig
125
126 %post devel
127 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
128
129 %postun devel
130 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
131
132 %files
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/lib*.so.*.*
135
136 %files devel
137 %defattr(644,root,root,755)
138 %doc *.gz
139 %attr(755,root,root) %{_bindir}/gsl-config
140 %attr(755,root,root) %{_libdir}/lib*.so
141 %attr(755,root,root) %{_libdir}/lib*.la
142 %{_aclocaldir}/gsl.m4
143 %{_libdir}/pkgconfig/*
144 %{_includedir}/gsl
145 %{_infodir}/gsl*
146 %{_mandir}/man1/gsl-config.1*
147 %{_mandir}/man3/*
148
149 %files progs
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_bindir}/gsl-histogram
152 %attr(755,root,root) %{_bindir}/gsl-randist
153
154 %files static
155 %defattr(644,root,root,755)
156 %{_libdir}/lib*.a
This page took 0.082364 seconds and 3 git commands to generate.