avatar
abondrov has added fa4939ca75
New version 1.16, split library package
... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,2 +1,2 @@
1 1
sources:
2
  "gsl-1.15.tar.gz": d914f84b39a5274b0a589d9b83a66f44cd17ca8e
2
  "gsl-1.16.tar.gz": 210af9366485f149140973700d90dc93a4b6213e
view file @ 9955125095
... ... --- a/gsl-1.15.tar.gz.sig
... ... +++ /dev/null
... ... @@ -1,10 +0,0 @@
0
-----BEGIN PGP SIGNATURE-----
1
Version: GnuPG v2.0.17 (GNU/Linux)
2
3
iJwEAAECAAYFAk3Ec5UACgkQ9U2K2oCCH+qlJAP/ZCd5VvG726iFOsV+rP+yT1H7
4
ECjhPFtuuaHw/uJEMlD2N6AHvmjRmJML4DtHQ21sekwtbE1RQqDuwG3x6ZRv6Mff
5
DiC6j1nqHV6k8LPHPlFXKbEIkNrmVc/nx78o/KSt3hiBf36I6s/kjXXydqpbcLz1
6
ouhteDp4kkAPJKx2yIKIRgQAEQIABgUCTcRznwAKCRBuIW/tZAadXIzQAJ4rQUyP
7
vaLZaYrO5qh9mDBwMDNbGQCfWX3wKQs/4vIJxd2/N2h2wvXoLY0=
8
=+LoM
9
-----END PGP SIGNATURE-----
... ... --- a/gsl.spec
... ... +++ b/gsl.spec
... ... @@ -1,16 +1,16 @@
1 1
%define major 0
2 2
%define libname %mklibname %{name} %{major}
3
%define develname %mklibname %{name} -d
3
%define libcblas %mklibname %{name}cblas %{major}
4
%define devname %mklibname %{name} -d
4 5
5 6
Summary:	The GNU Scientific Library for numerical analysis
6 7
Name:		gsl
7
Version:	1.15
8
Release:	3
8
Version:	1.16
9
Release:	2
9 10
License:	GPLv2+
10 11
Group:		Sciences/Mathematics
11
URL:		http://www.gnu.org/software/gsl/
12
Url:		http://www.gnu.org/software/gsl/
12 13
Source0:	ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
13
Source1:	%{SOURCE0}.sig
14 14
Patch0:		%{name}-1.14-undefined-symbols.patch
15 15
16 16
%description
... ... @@ -37,10 +37,11 @@ Further information can be found in the GSL Reference Manual.
37 37
Install the gsl package if you need a library for high-level
38 38
scientific numerical analysis.
39 39
40
#----------------------------------------------------------------------------
41
40 42
%package progs
41 43
Summary:	Programs of the Scientific Library
42 44
Group:		Sciences/Mathematics
43
Requires:	%{libname} = %{version}-%{release}
44 45
45 46
%description progs
46 47
Here're the GNU Scientific Library (GSL) programs:
... ... @@ -49,14 +50,28 @@ Here're the GNU Scientific Library (GSL) programs:
50 50
 - gsl-randist: generates n samples from a given distribution DIST
51 51
                with given parameters
52 52
53
%files progs
54
%doc AUTHORS NEWS README THANKS
55
%{_bindir}/gsl-histogram
56
%{_bindir}/gsl-randist
57
%{_mandir}/man1/gsl-histogram*
58
%{_mandir}/man1/gsl-randist*
59
60
#----------------------------------------------------------------------------
61
53 62
%package doc
54 63
Summary:	Documentation of the Scientific Library
55
Group:		Books/Computer books
64
Group:		Documentation
56 65
57 66
%description doc
58 67
This is the documentation in info format of the GNU Scientific Library (GSL).
59 68
This doc can be viewed through info, pinfo, konqueror, gnome yelp, ...
60 69
70
%files doc
71
%{_infodir}/*info*
72
73
#----------------------------------------------------------------------------
74
61 75
%package -n %{libname}
62 76
Summary:	Shared libraries for Scientific Library
63 77
Group:		System/Libraries
... ... @@ -82,171 +97,63 @@ itself to being used in very high level languages (VHLLs).
97 97
98 98
Further information can be found in the GSL Reference Manual.
99 99
100
%files -n %{libname}
101
%{_libdir}/libgsl.so.%{major}*
100 102
101
%package -n %{develname}
102
Summary:	Development files for Scientific Library
103
Group:		Development/C
104
Requires:	%{libname} = %{version}-%{release}
105
Provides:	%{name}-devel = %{version}-%{release}
106
Provides:	lib%{name}-devel = %{version}-%{release}
107
108
%description -n %{develname}
109
The gsl package includes the GNU Scientific Library (GSL). The GSL is a
110
collection of routines for numerical analysis, written in C.
111
It now includes a random number suite, an FFT package, simulated annealing
112
and root finding.  In the future, it will include numerical and Monte Carlo
113
integration and special functions.
114
Linking against the GSL allows programs to access functions which can
115
handle many of the problems encountered in scientific computing.
116
117
These are the static libs and include headers for developers.
118
119
%prep
120
%setup -q
121
%patch0 -p1
122
123
%build
124
# (tpg) gcc-4.3.2 bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38051
125
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC"
126
export CXXFLAGS=$CFLAGS
127
export CPPCLAGS=$CFLAGS
128
%configure2_5x
103
#----------------------------------------------------------------------------
129 104
130
%make
131
132
%check
133
make check
105
%package -n %{libcblas}
106
Summary:	Shared libraries for Scientific Library
107
Group:		System/Libraries
108
Conflicts:	%{_lib}gsl0 < 1.15-5
134 109
135
%install
136
%makeinstall_std
110
%description -n %{libcblas}
111
This package contains a shared library for %{name}.
137 112
138
#multiarch
139
%multiarch_binaries %{buildroot}%{_bindir}/gsl-config
113
%files -n %{libcblas}
114
%{_libdir}/libgslcblas.so.%{major}*
140 115
141
%files progs
142
%doc AUTHORS NEWS README THANKS
143
%{_bindir}/gsl-histogram
144
%{_bindir}/gsl-randist
145
%{_mandir}/man1/gsl-histogram*
146
%{_mandir}/man1/gsl-randist*
116
#----------------------------------------------------------------------------
147 117
148
%files doc
149
%{_infodir}/*info*
118
%package -n %{devname}
119
Summary:	Development files for Scientific Library
120
Group:		Development/C
121
Requires:	%{libname} = %{EVRD}
122
Provides:	%{name}-devel = %{EVRD}
150 123
151
%files -n %{libname}
152
%{_libdir}/*.so.%{major}*
124
%description -n %{devname}
125
This package contains the development files for %{name}.
153 126
154
%files -n %{develname}
127
%files -n %{devname}
155 128
%doc BUGS ChangeLog TODO doc/examples/
156 129
%{_bindir}/gsl-config
157 130
%{multiarch_bindir}/gsl-config
158 131
%{_datadir}/aclocal/*.m4
159 132
%{_includedir}/*
160 133
%{_libdir}/pkgconfig/*.pc
161
%{_libdir}/*.a
162 134
%{_libdir}/*.so
163 135
%{_mandir}/man3/*
164 136
%{_mandir}/man1/gsl-config.*
165 137
138
#----------------------------------------------------------------------------
166 139
167
%changelog
168
* Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 1.14-3mdv2011.0
169
+ Revision: 661669
170
- multiarch fixes
171
172
* Thu Dec 02 2010 Oden Eriksson <oeriksson@mandriva.com> 1.14-2mdv2011.0
173
+ Revision: 605501
174
- rebuild
175
176
* Sun Mar 21 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 1.14-1mdv2010.1
177
+ Revision: 526233
178
- update to new version 1.14
179
- rediff patch 0
180
181
* Tue Mar 16 2010 Oden Eriksson <oeriksson@mandriva.com> 1.13-2mdv2010.1
182
+ Revision: 521131
183
- rebuilt for 2010.1
184
185
* Thu Sep 10 2009 Frederik Himpe <fhimpe@mandriva.org> 1.13-1mdv2010.0
186
+ Revision: 437127
187
- Update to new version 1.13
188
189
  + Funda Wang <fwang@mandriva.org>
190
    - rebuild with fPIC (bug#45668)
191
192
* Tue Feb 17 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 1.12-1mdv2009.1
193
+ Revision: 342158
194
- fix tests by adjusting optflags (gcc bug #38478, should work with next upstream release)
195
- Patch0: rediff to meet nofuzz
196
- update to new version 1.12
197
198
  + Thierry Vignaud <tv@mandriva.org>
199
    - rebuild early 2009.0 package (before pixel changes)
200
201
* Tue Jun 10 2008 Helio Chissini de Castro <helio@mandriva.com> 1.11-3mdv2009.0
202
+ Revision: 217543
203
- Fix undefined symbol cblas.
204
205
  + Pixel <pixel@mandriva.com>
206
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
207
208
* Fri Apr 18 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.11-1mdv2009.0
209
+ Revision: 195506
210
- new version
211
- do not package INSTALL file
212
213
  + Olivier Blin <oblin@mandriva.com>
214
    - restore BuildRoot
215
216
  + Thierry Vignaud <tv@mandriva.org>
217
    - kill re-definition of %%buildroot on Pixel's request
218
219
* Tue Oct 16 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.10-1mdv2008.1
220
+ Revision: 98786
221
- new version
222
223
* Tue Sep 18 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.9-2mdv2008.0
224
+ Revision: 89853
225
- new devel library policy
226
- new license policy
227
- add checks
228
- spec file clean
229
230
231
* Thu Feb 22 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.9-1mdv2007.0
232
+ Revision: 124788
233
- new version
234
235
* Wed Feb 14 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.8-3mdv2007.1
236
+ Revision: 121136
237
- rebuild
238
- update url
239
- spec file clean
240
- Import gsl
241
242
* Sat Apr 29 2006 Olivier Blin <oblin@mandriva.com> 1.8-2mdk
243
- update description (thanks to Brian Gough for reminding gsl isn't in
244
  alpha development)
245
246
* Fri Apr 21 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.8-1mdk
247
- new release
248
249
* Thu Nov 03 2005 Thierry Vignaud <tvignaud@mandriva.com> 1.7-1mdk
250
- new release
140
%prep
141
%setup -q
142
%apply_patches
251 143
252
* Sat Sep 10 2005 Olivier Blin <oblin@mandriva.com> 1.6-3mdk
253
- fix typo in summary
144
%build
145
%configure2_5x \
146
	--disable-static
254 147
255
* Thu Mar 31 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.6-2mdk
256
- multiarch
257
- drop COPYING file as package is GPL (copyright is included in common-licenses)
258
- spec cosmetics
148
%make
259 149
260
* Thu Feb 10 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.6-1mdk
261
- new release
262
- fix url
150
%install
151
%makeinstall_std
263 152
264
* Sat Jul 10 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.5-1mdk
265
- new release
266
- drop patch 0 (similar fix was comited upstream)
153
#multiarch
154
%multiarch_binaries %{buildroot}%{_bindir}/gsl-config
267 155
156
%check
157
%ifarch %{x86_64}
158
make check
159
%endif

Comments