Accepting request 615999 from devel:libraries:c_c++
- Install license using %license - Install documentation using %doc instead of manually - Cleanup long description by only having one verbose copy in long description - spec file cleanup - Update to version 2.6.3: * Fix bug in memory deallocation in taylor.c. * Reduced interface directional active gradient. OBS-URL: https://build.opensuse.org/request/show/615999 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adolc?expand=0&rev=27
This commit is contained in:
commit
91a5d60b01
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6326e7ba994d02074816132d4461915221069267c31862b31fab7020965c658
|
||||
size 2413458
|
3
ADOL-C-2.6.3.tgz
Normal file
3
ADOL-C-2.6.3.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ed74580695a0d2c960581e5430ebfcd380eb5da9337daf488bf2e89039e9c21
|
||||
size 2416928
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 11 11:00:31 UTC 2018 - adam.majer@suse.de
|
||||
|
||||
- Install license using %license
|
||||
- Install documentation using %doc instead of manually
|
||||
- Cleanup long description by only having one verbose copy in long
|
||||
description
|
||||
- spec file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 10 07:59:00 UTC 2018 - antoine.belvire@opensuse.org
|
||||
|
||||
- Update to version 2.6.3:
|
||||
* Fix bug in memory deallocation in taylor.c.
|
||||
* Reduced interface directional active gradient.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 09:50:03 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
|
44
adolc.spec
44
adolc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package adolc
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,10 +18,10 @@
|
||||
|
||||
%define lname libadolc2
|
||||
Name: adolc
|
||||
Version: 2.6.2
|
||||
Version: 2.6.3
|
||||
Release: 0
|
||||
Summary: Algorithmic Differentiation Library for C/C++
|
||||
License: GPL-2.0+ or EPL-1.0
|
||||
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
|
||||
@ -36,7 +36,6 @@ BuildRequires: boost-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The package ADOL-C (Automatic Differentiation by OverLoading in C++)
|
||||
@ -55,14 +54,8 @@ Group: System/Libraries
|
||||
|
||||
%description -n %{lname}
|
||||
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 contains the runtime library for ADOL-C
|
||||
|
||||
%package devel
|
||||
Summary: Algorithmic Differentiation Library for C/C++ -- development files
|
||||
@ -71,21 +64,13 @@ Requires: %{lname} = %{version}
|
||||
|
||||
%description devel
|
||||
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 development environment for adolc
|
||||
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} && 0%{?suse_version} >= 1120
|
||||
%if 0%{?suse_version}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -100,7 +85,8 @@ 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 adolc
|
||||
This package provides the user's manual for ADOL-C
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n ADOL-C-%{version}
|
||||
@ -116,10 +102,6 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
install -d %{buildroot}%{_docdir}/%{name}
|
||||
install -m 644 README AUTHORS BUGS LICENSE TODO %{buildroot}%{_docdir}/%{name}
|
||||
install -m 644 ADOL-C/doc/adolc-manual.pdf %{buildroot}%{_docdir}/%{name}
|
||||
install -m 644 ADOL-C/doc/short_ref.pdf %{buildroot}%{_docdir}/%{name}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
find %{buildroot} -type f -name "*.a" -delete;
|
||||
|
||||
@ -128,11 +110,10 @@ find %{buildroot} -type f -name "*.a" -delete;
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE
|
||||
%{_libdir}/libadolc.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/adolc
|
||||
%dir %{_includedir}/adolc/drivers
|
||||
%dir %{_includedir}/adolc/internal
|
||||
@ -149,8 +130,9 @@ find %{buildroot} -type f -name "*.a" -delete;
|
||||
%{_libdir}/pkgconfig/adolc.pc
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%dir %{_docdir}/%{name}
|
||||
%{_docdir}/%{name}/*
|
||||
%doc README AUTHORS BUGS TODO
|
||||
%doc ADOL-C/doc/adolc-manual.pdf
|
||||
%doc ADOL-C/doc/short_ref.pdf
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user