Accepting request 415820 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/415820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsl?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2016-07-29 22:26:05 +00:00 committed by Git OBS Bridge
parent 6edef63f9c
commit 72f8ec8c7c
2 changed files with 34 additions and 5 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Jul 29 11:08:14 UTC 2016 - adam.majer@suse.de
- Add missing Requires in -devel following package split
-------------------------------------------------------------------
Fri Jul 29 07:48:04 UTC 2016 - dmitry_r@opensuse.org
- Move gslcblas library to separate package [boo#991155]
-------------------------------------------------------------------
Sat Jun 18 20:39:30 UTC 2016 - dmitry_r@opensuse.org

View File

@ -17,6 +17,7 @@
%define lname libgsl19
%define lcblasname libgslcblas0
Name: gsl
Version: 2.1
Release: 0
@ -51,7 +52,7 @@ 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}
%package -n %{lname}
Summary: GNU Scientific Library
License: GPL-3.0+
Group: System/Libraries
@ -75,11 +76,22 @@ Numerical Differentiation - Chebyshev Approximation - Series Acceleration -
Discrete Hankel Transforms - Root-Finding - Minimization -
Least-Squares Fitting - Physical Constants - IEEE Floating-Point
%package -n %{lcblasname}
Summary: A standard C language APIs for BLAS from GNU Scientific Library
License: GPL-3.0+
Group: System/Libraries
# file conflict, see boo#991155
Obsoletes: libgsl0
%description -n %{lcblasname}
This library provides a native C interface to BLAS routines. This is part of
GNU Scientific Library.
%package devel
Summary: GNU Scientific Library - development files
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
Requires: %{lname} = %{version}, %{lcblasname} = %{version}
Requires(pre): %{install_info_prereq}
%description devel
@ -168,18 +180,25 @@ rm -f %{buildroot}%{_infodir}/dir
%postun -n %{lname} -p /sbin/ldconfig
%post -n %{lcblasname} -p /sbin/ldconfig
%postun -n %{lcblasname} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/gsl-histogram
%{_bindir}/gsl-randist
%doc %{_mandir}/man1/gsl-histogram.1.gz
%doc %{_mandir}/man1/gsl-randist.1.gz
%doc COPYING
%doc COPYING
%files -n %{lname}
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libgsl*.so.*
%{_libdir}/libgsl.so.*
%files -n %{lcblasname}
%defattr(-,root,root)
%{_libdir}/libgslcblas.so.*
%files devel
%defattr(-,root,root)