From 9cc4f617d6cba14c9f21c2ed41599d6db51b470a466608fa7fd5afc7b2b6f269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 8 Aug 2018 18:04:51 +0000 Subject: [PATCH] Accepting request 628194 from home:jengelh:branches:devel:libraries:c_c++ - 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). OBS-URL: https://build.opensuse.org/request/show/628194 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=62 --- adolc.changes | 8 ++++++++ adolc.spec | 43 +++++++++++++++---------------------------- 2 files changed, 23 insertions(+), 28 deletions(-) diff --git a/adolc.changes b/adolc.changes index 9588cd9..e68a431 100644 --- a/adolc.changes +++ b/adolc.changes @@ -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 diff --git a/adolc.spec b/adolc.spec index c47268c..939a32f 100644 --- a/adolc.spec +++ b/adolc.spec @@ -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