]> git.pld-linux.org Git - packages/gsl.git/blob - gsl.spec
6c06cd489709b6d93b290d33ff5d00a6f1fdd3fc
[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.2
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:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
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}
105 %{__aclocal}
106 %{__autoconf}
107 %{__automake}
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
119 %clean
120 rm -rf $RPM_BUILD_ROOT
121
122 %post   -p /sbin/ldconfig
123 %postun -p /sbin/ldconfig
124
125 %post devel
126 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
127
128 %postun devel
129 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
130
131 %files
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_libdir}/lib*.so.*.*
134
135 %files devel
136 %defattr(644,root,root,755)
137 %doc AUTHORS ChangeLog NEWS README THANKS TODO
138 %attr(755,root,root) %{_bindir}/gsl-config
139 %attr(755,root,root) %{_libdir}/lib*.so
140 %{_libdir}/lib*.la
141 %{_aclocaldir}/gsl.m4
142 %{_libdir}/pkgconfig/*
143 %{_includedir}/gsl
144 %{_infodir}/gsl*
145 %{_mandir}/man1/gsl-config.1*
146 %{_mandir}/man3/*
147
148 %files progs
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_bindir}/gsl-histogram
151 %attr(755,root,root) %{_bindir}/gsl-randist
152 %{_mandir}/man1/gsl-histogram.1*
153 %{_mandir}/man1/gsl-randist.1*
154
155 %files static
156 %defattr(644,root,root,755)
157 %{_libdir}/lib*.a
This page took 0.078506 seconds and 2 git commands to generate.