Accepting request 628244 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/628244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adolc?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2018-08-10 07:45:33 +00:00 committed by Git OBS Bridge
commit 58ab86cfc6
2 changed files with 23 additions and 28 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Aug 8 16:20:17 UTC 2018 - jengelh@inai.de
- Repair broken description ("the package ADOL-C [end of sentence]")
- Move main description to shared library subpackage since that
will be installed most of the time (if and when some part of
adolc is installed at all).
-------------------------------------------------------------------
Mon Jun 11 11:00:31 UTC 2018 - adam.majer@suse.de

View File

@ -38,34 +38,33 @@ BuildRequires: libstdc++-devel
BuildRequires: pkg-config
%description
The package ADOL-C (Automatic Differentiation by OverLoading in C++)
facilitates the evaluation of first and higher derivatives of vector
functions that are defined by computer programs written in C or
C++. The resulting derivative evaluation routines may be called from
C/C++, Fortran, or any other language that can be linked with C.
The numerical values of derivative vectors are obtained free of
truncation errors at a small multiple of the run time and randomly
accessed memory of the given function evaluation program.
ADOL-C (Automatic Differentiation by OverLoading in C++) facilitates
the evaluation of first and higher derivatives of vector functions
written in C or C++.
%package -n %{lname}
Summary: Algorithmic Differentiation Library for C/C++
Group: System/Libraries
%description -n %{lname}
The package ADOL-C (Automatic Differentiation by OverLoading in C++)
ADOL-C (Automatic Differentiation by OverLoading in C++) facilitates
the evaluation of first and higher derivatives of vector functions
written in C or C++. The resulting derivative evaluation routines may
be called from C/C++, Fortran, or any other language that can be
linked with C.
This package contains the runtime library for ADOL-C
The numerical values of derivative vectors are obtained free of
truncation errors at a small multiple of the run time and randomly
accessed memory of the given function evaluation program.
%package devel
Summary: Algorithmic Differentiation Library for C/C++ -- development files
Summary: Development files for the Algorithmic Differentiation Library
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
%description devel
The package ADOL-C (Automatic Differentiation by OverLoading in C++)
This package provides the development environment for ADOL-C
(Automatic Differentiation by OverLoading in C++).
%package doc
Summary: Algorithmic Differentiation Library for C/C++ -- documentation
@ -75,18 +74,7 @@ BuildArch: noarch
%endif
%description doc
The package ADOL-C (Automatic Differentiation by OverLoading in C++)
facilitates the evaluation of first and higher derivatives of vector
functions that are defined by computer programs written in C or
C++. The resulting derivative evaluation routines may be called from
C/C++, Fortran, or any other language that can be linked with C.
The numerical values of derivative vectors are obtained free of
truncation errors at a small multiple of the run time and randomly
accessed memory of the given function evaluation program.
This package provides the user's manual for ADOL-C
This package provides the user's manual for ADOL-C.
%prep
%setup -q -n ADOL-C-%{version}
@ -102,8 +90,7 @@ make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
find %{buildroot} -type f -name "*.a" -delete;
find %{buildroot} -type f "(" -name "*.a" -o -name "*.la" ")" -delete -print
%post -n %{lname} -p /sbin/ldconfig