Accepting request 822708 from home:elimat:branches:devel:libraries:c_c++

- update to version 2.7.2
- upstream have changed location to github, change URLs accordingly
- run spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/822708
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=64
This commit is contained in:
Dirk Mueller 2020-08-10 08:06:27 +00:00 committed by Git OBS Bridge
parent 9cc4f617d6
commit 2388070847
4 changed files with 22 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ed74580695a0d2c960581e5430ebfcd380eb5da9337daf488bf2e89039e9c21
size 2416928

BIN
adolc-2.7.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 24 21:47:06 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
- update to version 2.7.2
- upstream have changed location to github, change URLs accordingly
- run spec-cleaner
-------------------------------------------------------------------
Wed Aug 8 16:20:17 UTC 2018 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package adolc
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,30 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname libadolc2
Name: adolc
Version: 2.6.3
Version: 2.7.2
Release: 0
Summary: Algorithmic Differentiation Library for C/C++
License: GPL-2.0-or-later OR EPL-1.0
Group: Development/Libraries/C and C++
Url: http://projects.coin-or.org/ADOL-C
Source0: http://www.coin-or.org/download/source/ADOL-C/ADOL-C-%{version}.tgz
URL: https://github.com/coin-or/ADOL-C
Source0: https://github.com/coin-or/ADOL-C/archive/releases/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: ColPack-devel
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
BuildRequires: libboost_system-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: pkg-config
%description
ADOL-C (Automatic Differentiation by OverLoading in C++) facilitates
@ -44,7 +43,6 @@ written in C or C++.
%package -n %{lname}
Summary: Algorithmic Differentiation Library for C/C++
Group: System/Libraries
%description -n %{lname}
ADOL-C (Automatic Differentiation by OverLoading in C++) facilitates
@ -59,7 +57,6 @@ accessed memory of the given function evaluation program.
%package devel
Summary: Development files for the Algorithmic Differentiation Library
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
%description devel
@ -68,7 +65,6 @@ This package provides the development environment for ADOL-C
%package doc
Summary: Algorithmic Differentiation Library for C/C++ -- documentation
Group: Documentation/Other
%if 0%{?suse_version}
BuildArch: noarch
%endif
@ -77,23 +73,22 @@ BuildArch: noarch
This package provides the user's manual for ADOL-C.
%prep
%setup -q -n ADOL-C-%{version}
%autosetup -n ADOL-C-releases-%{version}
%build
# autoreconf -v --install --force
%configure
make %{?_smp_mflags}
%configure
%make_build
# pushd ADOL-C/doc
# for ((i=0; i < 3; i++)); do
# pdflatex adolc-manual.tex &>/dev/null
# done
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
find %{buildroot} -type f "(" -name "*.a" -o -name "*.la" ")" -delete -print
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname}