]> git.pld-linux.org Git - packages/gsl.git/blob - gsl.spec
1a9096d76c2253902079853245432de99ee04622
[packages/gsl.git] / gsl.spec
1 Summary:        The GNU Scientific Library for numerical analysis
2 Name:           gsl
3 Version:        0.7
4 Release:        3
5 License:        GPL
6 Group:          Libraries
7 Group(de):      Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 Source0:        ftp://sourceware.cygnus.com/pub/gsl/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-info.patch
12 URL:            http://www.gnu.org/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The gsl package includes the GNU Scientific Library (GSL). The GSL is
17 a collection of routines for numerical analysis, written in C. The GSL
18 is in alpha development. It now includes a random number suite, an FFT
19 package, simulated annealing and root finding. In the future, it will
20 include numerical and Monte Carlo integration and special functions.
21 Linking against the GSL allows programs to access functions which can
22 handle many of the problems encountered in scientific computing.
23 Install the gsl package if you need a library for high-level
24 scientific numerical analysis.
25
26 %description -l pl
27 Pakiet gsl zawiera bibliotekê funkcji przydatnych w pracy naukowej
28 dostêpnych na licencji (GNU). GSL jest zbiorem funkcji napisanych
29 wjezyku C, przeznaczonych do analizy numerycznej. Biblioteka jest
30 jeszcze w bardzo wczesnym stadium tworzenia. W tej chwili zawiera
31 generatory liczb losowych, FFT, znajdowanie miejsc zerowych. W
32 przysz³o¶ci, bêdzie zawieraæ ca³kowanie metod± Monte Carlo oraz
33 funkcje specjalne. Linkowanie z GSL pozwala Twoim programom na dostep
34 do funkcji, które moga byæ u¿yteczne w wielu problemach pojawiajacych
35 sie w obliczeniach naukowych. Zainstaluj gsl jesli potrzebujesz
36 biblioteki do obliczeñ numerycznych.
37
38 %package devel
39 Summary:        Header files for developing programs using gsl
40 Summary(pl):    Pliki nag³ówkowe i dokumentacja do bibliotek gsl
41 Group:          Development/Libraries
42 Group(de):      Entwicklung/Libraries
43 Group(fr):      Development/Librairies
44 Group(pl):      Programowanie/Biblioteki
45 Requires:       %{name} = %{version}
46
47 %description devel
48 Header files for developing programs using gsl.
49
50 %description -l pl devel
51 Pliki nag³ówkowe i dokumentacja do bibliotek gsl.
52
53 %package static
54 Summary:        Static gsl librariries
55 Summary(pl):    Biblioteki statyczne gsl
56 Group:          Development/Libraries
57 Group(de):      Entwicklung/Libraries
58 Group(fr):      Development/Librairies
59 Group(pl):      Programowanie/Biblioteki
60 Requires:       %{name}-devel = %{version}
61
62 %description static
63 Static gsl librariries.
64
65 %description static -l pl
66 Biblioteki statyczne gsl.
67
68 %package progs
69 Summary:        gsl utility programs
70 Summary(pl):    Narzêdzia dla gsl
71 Group:          Development/Libraries
72 Group(de):      Entwicklung/Libraries
73 Group(fr):      Development/Librairies
74 Group(pl):      Programowanie/Biblioteki
75 Requires:       %{name} = %{version}
76
77 %description progs
78 gsl utility programs.
79
80 %description -l pl progs
81 Narzêdzia dla gsl.
82
83 %prep
84 %setup -q
85 %patch -p1
86
87 %build
88 %configure
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT \
96         m4datadir=%{_aclocaldir}
97
98 gzip -9nf AUTHORS ChangeLog NEWS README KNOWN-PROBLEMS THANKS TODO
99
100 %post   -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
102
103 %post devel
104 %fix_info_dir
105
106 %postun devel
107 %fix_info_dir
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %files
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %doc *.gz
119 %attr(755,root,root) %{_bindir}/gsl-config
120 %attr(755,root,root) %{_libdir}/lib*.so
121 %attr(755,root,root) %{_libdir}/lib*.la
122 %{_aclocaldir}/gsl.m4
123 %{_includedir}/gsl
124 %{_infodir}/gsl*
125
126 %files progs
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_bindir}/gsl-histogram
129 %attr(755,root,root) %{_bindir}/gsl-randist
130
131 %files static
132 %defattr(644,root,root,755)
133 %{_libdir}/lib*.a
This page took 0.360254 seconds and 2 git commands to generate.