From 38a94a3ec438ec54522550332ecb0a896affe58a879d4079015943c8ffd1f06b Mon Sep 17 00:00:00 2001 From: Kshitij Kulshreshtha Date: Tue, 12 Apr 2011 11:38:50 +0000 Subject: [PATCH 1/5] - update to upstream release 2.2.0 * numerous bugfixes * memory leak fixes * new revamped internal memory manager OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=11 --- ColPack-1.0.3.tar.bz2 | 3 +++ ColPack.tar.gz | 3 --- adolc-2.1.12.tar.bz2 | 3 --- adolc-2.2.0.tar.bz2 | 3 +++ adolc.changes | 8 ++++++++ adolc.spec | 15 ++++++++++++--- 6 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 ColPack-1.0.3.tar.bz2 delete mode 100644 ColPack.tar.gz delete mode 100644 adolc-2.1.12.tar.bz2 create mode 100644 adolc-2.2.0.tar.bz2 diff --git a/ColPack-1.0.3.tar.bz2 b/ColPack-1.0.3.tar.bz2 new file mode 100644 index 0000000..64e2685 --- /dev/null +++ b/ColPack-1.0.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2911c42ba889afee54fe83eadd7ed534fd3e3c99ef6327fdcd83ea8a6a245f15 +size 1003059 diff --git a/ColPack.tar.gz b/ColPack.tar.gz deleted file mode 100644 index 09abaf0..0000000 --- a/ColPack.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f56132aeb14fdf2032433f5bed9378c0bfe8d31012db94f881bcd79d4aaa9534 -size 400073 diff --git a/adolc-2.1.12.tar.bz2 b/adolc-2.1.12.tar.bz2 deleted file mode 100644 index 05f30f0..0000000 --- a/adolc-2.1.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4275acc3b16b0938606c787260efc751a9c71acab3b976c599ee3b2ad85df1ba -size 12692424 diff --git a/adolc-2.2.0.tar.bz2 b/adolc-2.2.0.tar.bz2 new file mode 100644 index 0000000..2d62d35 --- /dev/null +++ b/adolc-2.2.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:921630903e9292869b277f3094f6a3d88b136a4eaca280aab17daa4f45fdf1f4 +size 12702565 diff --git a/adolc.changes b/adolc.changes index 7ce8cf9..7ac1df0 100644 --- a/adolc.changes +++ b/adolc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Apr 12 11:36:09 UTC 2011 - kkhere.geo@gmail.com + +- update to upstream release 2.2.0 + * numerous bugfixes + * memory leak fixes + * new revamped internal memory manager + ------------------------------------------------------------------- Thu Nov 11 12:09:19 UTC 2010 - kshitij@math.upb.de diff --git a/adolc.spec b/adolc.spec index 067f2dd..56e1610 100644 --- a/adolc.spec +++ b/adolc.spec @@ -17,18 +17,19 @@ # norootforbuild -%define packver 2.1.12 +%define packver 2.2.0 Name: adolc -Version: 2.1.12 +Version: 2.2.0 Release: 1 License: GPLv2 or CPL Summary: Algorithmic Differentiation Library for C/C++ Url: http://projects.coin-or.org/ADOL-C Group: Development/Languages/C and C++ Source: %{name}-%{packver}.tar.bz2 -Source1: ColPack.tar.gz +Source1: ColPack-1.0.3.tar.bz2 BuildRequires: gcc-c++ libstdc++-devel +BuildRequires: texlive texlive-latex BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on @@ -113,6 +114,14 @@ popd autoreconf -v --install --force %configure --prefix=/usr make %{_smp_mflags} +pushd ADOL-C/doc +for ((i=0; i < 3; i++)); do + pdflatex adolc-manual.tex +done +for ((i=0; i < 3; i++)); do + latex adolc-manual.tex +done +dvips adolc-manual.dvi %install %makeinstall From 0c5c24119982961f20d2f453172aed585737865c7f729d01e3bc228930386348 Mon Sep 17 00:00:00 2001 From: Kshitij Kulshreshtha Date: Tue, 12 Apr 2011 11:45:40 +0000 Subject: [PATCH 2/5] don't compile postscript OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=12 --- adolc.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/adolc.spec b/adolc.spec index 56e1610..3a9b84f 100644 --- a/adolc.spec +++ b/adolc.spec @@ -118,10 +118,6 @@ pushd ADOL-C/doc for ((i=0; i < 3; i++)); do pdflatex adolc-manual.tex done -for ((i=0; i < 3; i++)); do - latex adolc-manual.tex -done -dvips adolc-manual.dvi %install %makeinstall From d5fb32c555fccea9527216895ad3536e256067484b78d0704b77c47abda15a28 Mon Sep 17 00:00:00 2001 From: Kshitij Kulshreshtha Date: Tue, 12 Apr 2011 11:57:57 +0000 Subject: [PATCH 3/5] add more build dependencies OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=13 --- adolc.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/adolc.spec b/adolc.spec index 3a9b84f..a0e3a19 100644 --- a/adolc.spec +++ b/adolc.spec @@ -28,6 +28,7 @@ Url: http://projects.coin-or.org/ADOL-C Group: Development/Languages/C and C++ Source: %{name}-%{packver}.tar.bz2 Source1: ColPack-1.0.3.tar.bz2 +BuildRequires: autoconf automake libtool BuildRequires: gcc-c++ libstdc++-devel BuildRequires: texlive texlive-latex BuildRoot: %{_tmppath}/%{name}-%{version}-build From c80f1e85d4bebce531d9ffb7cbf56bbeb6a190d9445f4c17ac80d627d8e7555e Mon Sep 17 00:00:00 2001 From: Kshitij Kulshreshtha Date: Tue, 12 Apr 2011 11:59:02 +0000 Subject: [PATCH 4/5] silence latex OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=14 --- adolc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adolc.spec b/adolc.spec index a0e3a19..e54c4b3 100644 --- a/adolc.spec +++ b/adolc.spec @@ -117,7 +117,7 @@ autoreconf -v --install --force make %{_smp_mflags} pushd ADOL-C/doc for ((i=0; i < 3; i++)); do - pdflatex adolc-manual.tex + pdflatex adolc-manual.tex &>/dev/null done %install From 37d778d68a4ffbff9b5e84f1f69f4f68aa8d77a2f2fed4c661d563d24585a82e Mon Sep 17 00:00:00 2001 From: Kshitij Kulshreshtha Date: Tue, 12 Apr 2011 12:09:04 +0000 Subject: [PATCH 5/5] build ColPack with RPM_OPT_FLAGS OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adolc?expand=0&rev=15 --- adolc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adolc.spec b/adolc.spec index e54c4b3..237b374 100644 --- a/adolc.spec +++ b/adolc.spec @@ -110,7 +110,7 @@ popd %build pushd ThirdParty/ColPack -make %{_smp_mflags} +make %{_smp_mflags} EXTRA_FLAGS="$RPM_OPT_FLAGS" CXXFLAGS+="$RPM_OPT_FLAGS" popd autoreconf -v --install --force %configure --prefix=/usr