Hello community, here is the log from the commit of package adolc for openSUSE:Factory checked in at 2015-04-25 16:46:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/adolc (Old) and /work/SRC/openSUSE:Factory/.adolc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "adolc" Changes: -------- --- /work/SRC/openSUSE:Factory/adolc/adolc.changes 2014-08-27 07:45:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.adolc.new/adolc.changes 2015-04-25 16:46:52.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Apr 22 17:36:30 UTC 2015 - [email protected] + +- Use source for url +- Do not pull autotools when they are not used +- Cleanup spec-file with spec-cleaner + +------------------------------------------------------------------- Old: ---- adolc-2.5.2.tar.xz New: ---- ADOL-C-2.5.2.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ adolc.spec ++++++ --- /var/tmp/diff_new_pack.gEpCyp/_old 2015-04-25 16:46:52.000000000 +0200 +++ /var/tmp/diff_new_pack.gEpCyp/_new 2015-04-25 16:46:52.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package adolc # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,25 +16,20 @@ # -Name: adolc %define lname libadolc2 +Name: adolc Version: 2.5.2 Release: 0 Summary: Algorithmic Differentiation Library for C/C++ License: GPL-2.0+ or EPL-1.0 Group: Development/Libraries/C and C++ Url: http://projects.coin-or.org/ADOL-C -Source: %{name}-%{version}.tar.xz +Source0: http://www.coin-or.org/download/source/ADOL-C/ADOL-C-%{version}.tgz Source1: baselibs.conf BuildRequires: ColPack-devel -BuildRequires: autoconf -BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libstdc++-devel -BuildRequires: libtool BuildRequires: pkg-config -BuildRequires: xz -# BuildRequires: texlive texlive-latex BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -48,11 +43,11 @@ truncation errors at a small multiple of the run time and randomly accessed memory of the given function evaluation program. -%package -n %lname +%package -n %{lname} Summary: Algorithmic Differentiation Library for C/C++ Group: System/Libraries -%description -n %lname +%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 @@ -66,7 +61,7 @@ %package devel Summary: Algorithmic Differentiation Library for C/C++ -- development files Group: Development/Libraries/C and C++ -Requires: %lname = %{version} +Requires: %{lname} = %{version} %description devel The package ADOL-C (Automatic Differentiation by OverLoading in C++) @@ -84,7 +79,7 @@ %package doc Summary: Algorithmic Differentiation Library for C/C++ -- documentation Group: Documentation/Other -%if 0%{?suse_version} && %{suse_version} >= 1120 +%if 0%{?suse_version} && 0%{?suse_version} >= 1120 BuildArch: noarch %endif @@ -102,31 +97,31 @@ This package provides the user“s manual for adolc %prep -%setup -q -n %{name}-%{version} +%setup -q -n ADOL-C-%{version} %build # autoreconf -v --install --force -%configure --prefix=/usr -make %{_smp_mflags} +%configure +make %{?_smp_mflags} # pushd ADOL-C/doc # for ((i=0; i < 3; i++)); do # pdflatex adolc-manual.tex &>/dev/null # done %install -%makeinstall -install -d %{buildroot}%{_datadir}/doc/packages/%{name} -install -m 644 README AUTHORS BUGS LICENSE TODO %{buildroot}%{_datadir}/doc/packages/%{name} -install -m 644 ADOL-C/doc/adolc-manual.pdf %{buildroot}%{_datadir}/doc/packages/%{name} -install -m 644 ADOL-C/doc/short_ref.pdf %{buildroot}%{_datadir}/doc/packages/%{name} -find "%buildroot" -type f -name "*.la" -delete; -find "%buildroot" -type f -name "*.a" -delete; +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; -%post -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%files -n %lname +%files -n %{lname} %defattr(-,root,root) %{_libdir}/libadolc.so.* @@ -145,7 +140,7 @@ %files doc %defattr(-,root,root) -%dir %{_datadir}/doc/packages/%{name} -%{_datadir}/doc/packages/%{name}/* +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/* %changelog
