Accepting request 241743 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/241743 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsl?expand=0&rev=30
This commit is contained in:
parent
49b07e8928
commit
b690d4aaf4
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 19 14:23:59 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Utilize shared library package naming guidelines
|
||||
(split gsl -> gsl,libgsl0)
|
||||
- Set RPM groups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 19:46:07 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
|
58
gsl.spec
58
gsl.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gsl
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,6 +17,23 @@
|
||||
|
||||
|
||||
Name: gsl
|
||||
%define lname libgsl0
|
||||
Version: 1.16
|
||||
Release: 0
|
||||
# NOTE: The package has been update to 1.10+ after all issues with
|
||||
# GNU GPLv3 have been resolved.
|
||||
Summary: GNU Scientific Library
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Scientific/Math
|
||||
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.gz
|
||||
Patch: gsl-1.6-initvars.diff
|
||||
Patch5: gsl-wrap.diff
|
||||
Patch6: gsl-qawc-test-x86-precision.diff
|
||||
Patch7: gsl-disable-fma.patch
|
||||
Patch8: gsl-fsf_address.patch
|
||||
Url: http://www.gnu.org/software/gsl/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#BuildRequires: blas latex2html
|
||||
BuildRequires: blas
|
||||
%if 0%{?suse_version}
|
||||
@ -26,21 +43,6 @@ BuildRequires: pkgconfig
|
||||
%if 0%{?fedora_version}
|
||||
Requires: info
|
||||
%endif
|
||||
Version: 1.16
|
||||
Release: 0
|
||||
# NOTE: The package has been update to 1.10+ after all issues with
|
||||
# GNU GPLv3 have been resolved.
|
||||
Summary: GNU Scientific Library
|
||||
License: GPL-3.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.gz
|
||||
Patch: gsl-1.6-initvars.diff
|
||||
Patch5: gsl-wrap.diff
|
||||
Patch6: gsl-qawc-test-x86-precision.diff
|
||||
Patch7: gsl-disable-fma.patch
|
||||
Patch8: gsl-fsf_address.patch
|
||||
Url: http://www.gnu.org/software/gsl/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The GNU Scientific Library (GSL) is a collection of routines for
|
||||
@ -49,6 +51,18 @@ team in ANSI C and present a modern Applications Programming Interface
|
||||
(API) for C programmers, while allowing wrappers to be written for very
|
||||
high level languages.
|
||||
|
||||
%package -n %lname
|
||||
Summary: GNU Scientific Library
|
||||
License: GPL-3.0+
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
The GNU Scientific Library (GSL) is a collection of routines for
|
||||
numerical computing. The routines are written from scratch by the GSL
|
||||
team in ANSI C and present a modern Applications Programming Interface
|
||||
(API) for C programmers, while allowing wrappers to be written for very
|
||||
high level languages.
|
||||
|
||||
The library covers the following areas:
|
||||
|
||||
Complex Numbers - Roots of Polynomials - Special Functions -
|
||||
@ -65,8 +79,8 @@ Least-Squares Fitting - Physical Constants - IEEE Floating-Point
|
||||
Summary: GNU Scientific Library - development files
|
||||
License: GPL-2.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %{version}
|
||||
Requires: glibc-devel
|
||||
Requires: gsl = %{version}
|
||||
%if 0%{?suse_version}
|
||||
PreReq: %{install_info_prereq}
|
||||
%endif
|
||||
@ -127,19 +141,21 @@ make %{?_smp_mflags} check || true
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
%{__rm} -f %{buildroot}%{_infodir}/dir
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgsl*.so.*
|
||||
%{_bindir}/gsl-histogram
|
||||
%{_bindir}/gsl-randist
|
||||
%doc %{_mandir}/man1/gsl-histogram.1.gz
|
||||
%doc %{_mandir}/man1/gsl-randist.1.gz
|
||||
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgsl*.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/gsl
|
||||
|
Loading…
Reference in New Issue
Block a user