commit gfan for openSUSE:Factory

2020-09-21 Thread root
Hello community,

here is the log from the commit of package gfan for openSUSE:Factory checked in 
at 2020-09-21 17:42:00

Comparing /work/SRC/openSUSE:Factory/gfan (Old)
 and  /work/SRC/openSUSE:Factory/.gfan.new.4249 (New)


Package is "gfan"

Mon Sep 21 17:42:00 2020 rev:10 rq:835562 version:0.6.2

Changes:

--- /work/SRC/openSUSE:Factory/gfan/gfan.changes2019-08-27 
10:19:18.179947892 +0200
+++ /work/SRC/openSUSE:Factory/.gfan.new.4249/gfan.changes  2020-09-21 
17:43:59.628945287 +0200
@@ -1,0 +2,5 @@
+Sat Sep 19 10:05:47 UTC 2020 - Jan Engelhardt 
+
+- Add cddlib.patch
+
+---

New:

  cddlib.patch



Other differences:
--
++ gfan.spec ++
--- /var/tmp/diff_new_pack.Y4OkR4/_old  2020-09-21 17:44:01.432946987 +0200
+++ /var/tmp/diff_new_pack.Y4OkR4/_new  2020-09-21 17:44:01.436946991 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gfan
 #
-# Copyright (c) 2019 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
@@ -27,6 +27,7 @@
 Source: http://home.imf.au.dk/jensen/software/gfan/%name%version.tar.gz
 Patch1: gfan-automake.diff
 Patch2: gfan-warnings.diff
+Patch3: cddlib.patch
 BuildRequires:  automake
 BuildRequires:  cddlib-devel
 BuildRequires:  gcc-c++

++ cddlib.patch ++
From: Jan Engelhardt 
Date: 2020-09-19 11:39:47.110726857 +0200

To fix the CDDPREFIX yes-or-no conundrum, cddlib 0.94k has introduced
new unique locations for use inside <>. Adjust gfan.

---
 src/app_librarytest.cpp |9 ++---
 src/gfanlib_zcone.cpp   |9 ++---
 src/lp_cdd.cpp  |   12 +++-
 3 files changed, 7 insertions(+), 23 deletions(-)

Index: gfan0.6.2/src/app_librarytest.cpp
===
--- gfan0.6.2.orig/src/app_librarytest.cpp
+++ gfan0.6.2/src/app_librarytest.cpp
@@ -8,13 +8,8 @@
 #include "gfanapplication.h"
 #include "gfanlib.h"
 #include "printer.h"
-#ifdef NOCDDPREFIX
-#include "setoper.h"
-#include "cdd.h"
-#else
-#include "cdd/setoper.h"
-#include "cdd/cdd.h"
-#endif
+#include 
+#include 
 #include 
 #include 
 using namespace gfan;
Index: gfan0.6.2/src/gfanlib_zcone.cpp
===
--- gfan0.6.2.orig/src/gfanlib_zcone.cpp
+++ gfan0.6.2/src/gfanlib_zcone.cpp
@@ -12,13 +12,8 @@
 #include 
 
 //extern "C"{
-#ifdef NOCDDPREFIX
-#include "setoper.h"
-#include "cdd.h"
-#else
-#include "cdd/setoper.h"
-#include "cdd/cdd.h"
-#endif
+#include 
+#include 
 //}
 
 namespace gfan{
Index: gfan0.6.2/src/lp_cdd.cpp
===
--- gfan0.6.2.orig/src/lp_cdd.cpp
+++ gfan0.6.2/src/lp_cdd.cpp
@@ -1,14 +1,8 @@
 #include "lp_cdd.h"
 //extern "C"{
-#ifdef NOCDDPREFIX
-#include "setoper.h"
-#include "cdd.h"
-#include "cdd_f.h"
-#else
-#include "cdd/setoper.h"
-#include "cdd/cdd.h"
-#include "cdd/cdd_f.h"
-#endif
+#include 
+#include 
+#include 
 //}
 #include "termorder.h"
 #include "printer.h"



commit gfan for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package gfan for openSUSE:Factory checked in 
at 2019-08-27 10:19:12

Comparing /work/SRC/openSUSE:Factory/gfan (Old)
 and  /work/SRC/openSUSE:Factory/.gfan.new.7948 (New)


Package is "gfan"

Tue Aug 27 10:19:12 2019 rev:9 rq:725843 version:0.6.2

Changes:

--- /work/SRC/openSUSE:Factory/gfan/gfan.changes2018-01-23 
13:52:33.614817078 +0100
+++ /work/SRC/openSUSE:Factory/.gfan.new.7948/gfan.changes  2019-08-27 
10:19:18.179947892 +0200
@@ -1,0 +2,5 @@
+Sat Aug 24 16:14:41 UTC 2019 - Jan Engelhardt 
+
+- Specfile modernization.
+
+---



Other differences:
--
++ gfan.spec ++
--- /var/tmp/diff_new_pack.G0Tho5/_old  2019-08-27 10:19:19.823947783 +0200
+++ /var/tmp/diff_new_pack.G0Tho5/_new  2019-08-27 10:19:19.823947783 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gfan
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -20,14 +20,13 @@
 Version:0.6.2
 Release:0
 Summary:Calculation of Gröbner fans
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Productivity/Scientific/Math
-Url:http://home.imf.au.dk/jensen/software/gfan/gfan.html
+URL:http://home.imf.au.dk/jensen/software/gfan/gfan.html
 
 Source: http://home.imf.au.dk/jensen/software/gfan/%name%version.tar.gz
 Patch1: gfan-automake.diff
 Patch2: gfan-warnings.diff
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  automake
 BuildRequires:  cddlib-devel
 BuildRequires:  gcc-c++
@@ -53,8 +52,7 @@
 varieties. These are polyhedral fans associated to polynomial ideals.
 
 %prep
-%setup -qn %name%version
-%patch -P 1 -P 2 -p1
+%autosetup -p1 -n %name%version
 
 %build
 autoreconf -fi
@@ -70,11 +68,11 @@
 %make_install
 for i in $(src/gfan _list | grep ^gfan_); do
ln -s gfan "$b/%_bindir/$i"
-done;
+done
 
 %files
-%defattr(-,root,root)
 %_bindir/gfan*
+%license COPYING
 %doc examples
 %if 0%{?with_pdf}
 %doc doc/manual.pdf




commit gfan for openSUSE:Factory

2018-01-23 Thread root
Hello community,

here is the log from the commit of package gfan for openSUSE:Factory checked in 
at 2018-01-23 13:52:32

Comparing /work/SRC/openSUSE:Factory/gfan (Old)
 and  /work/SRC/openSUSE:Factory/.gfan.new (New)


Package is "gfan"

Tue Jan 23 13:52:32 2018 rev:8 rq:559957 version:0.6.2

Changes:

--- /work/SRC/openSUSE:Factory/gfan/gfan.changes2016-06-19 
10:50:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.gfan.new/gfan.changes   2018-01-23 
13:52:33.614817078 +0100
@@ -1,0 +2,17 @@
+Mon Dec 25 21:21:45 UTC 2017 - jeng...@inai.de
+
+- Update to new upstream release 0.6.2
+  * Improved mixed volume computation, improved Gröbner basis
+implementation.
+  * New tropical starting cone algorithm, resultant fan
+algorithms, tropical hypersurface reconstruction algorithm,
+tropical basis detection (in _tropicalintersection -t was
+replaced by --tropicalbasistest)
+  * Stable intersection of tropical cycles (_fancommonrefinement
+--stable)
+  * Better implementation of the field of rational functions).
+- Delete gfan-format.diff, gfan-returns.diff,
+  gfan-remove-debug-code.diff (fixed upstream)
+- Add gfan-warnings.diff
+
+---

Old:

  gfan-format.diff
  gfan-remove-debug-code.diff
  gfan-returns.diff
  gfan0.5.tar.gz

New:

  gfan-warnings.diff
  gfan0.6.2.tar.gz



Other differences:
--
++ gfan.spec ++
--- /var/tmp/diff_new_pack.ryqwMP/_old  2018-01-23 13:52:36.118700107 +0100
+++ /var/tmp/diff_new_pack.ryqwMP/_new  2018-01-23 13:52:36.118700107 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gfan
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,8 +17,7 @@
 
 
 Name:   gfan
-%define lname  libgfan-0_5
-Version:0.5
+Version:0.6.2
 Release:0
 Summary:Calculation of Gröbner fans
 License:GPL-2.0
@@ -27,14 +26,12 @@
 
 Source: http://home.imf.au.dk/jensen/software/gfan/%name%version.tar.gz
 Patch1: gfan-automake.diff
-Patch2: gfan-format.diff
-Patch3: gfan-returns.diff
-Patch4: gfan-remove-debug-code.diff
+Patch2: gfan-warnings.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  automake
 BuildRequires:  cddlib-devel
 BuildRequires:  gcc-c++
 BuildRequires:  gmp-devel
-BuildRequires:  libtool >= 2
 %define with_pdf 1
 %if 0%{?with_pdf}
 BuildRequires:  texlive-latex
@@ -55,50 +52,25 @@
 Gfan is a software package for computing Gröbner fans and tropical
 varieties. These are polyhedral fans associated to polynomial ideals.
 
-%package -n %lname
-Summary:Library for calculation of Gröbner fans
-Group:  System/Libraries
-
-%description -n %lname
-Gfan is a software package for computing Gröbner fans and tropical
-varieties. These are polyhedral fans associated to polynomial ideals.
-
-%package -n libgfan-devel
-Summary:Development files for libgfan
-Group:  Development/Libraries/C and C++
-Requires:   %lname = %version
-
-%description -n libgfan-devel
-Gfan is a software package for computing Gröbner fans and tropical
-varieties. These are polyhedral fans associated to polynomial ideals.
-
 %prep
 %setup -qn %name%version
-%patch -P 1 -P 2 -P 3 -P 4 -p1
+%patch -P 1 -P 2 -p1
 
 %build
 autoreconf -fi
-export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused 
-std=gnu++98"
-%if 0%{?suse_version} > 1110
-# -Wno-unused-result not known in old SUSE
-export CXXFLAGS="$CXXFLAGS -Wno-unused-result"
-%endif
-%configure --disable-static --enable-silent-rules
-make %{?_smp_mflags}
+export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused 
-Wno-comment -Wno-misleading-indentation -std=gnu++11"
+%configure
+make %{?_smp_mflags} V=1
 %if 0%{?with_pdf}
 make -C doc %{?_smp_mflags}
 %endif
 
 %install
 b="%buildroot"
-make install DESTDIR="$b"
-for i in $(./gfan _list | grep ^gfan_); do
+%make_install
+for i in $(src/gfan _list | grep ^gfan_); do
ln -s gfan "$b/%_bindir/$i"
 done;
-rm -fv "$b/%_libdir"/*.la
-
-%post   -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -108,13 +80,4 @@
 %doc doc/manual.pdf
 %endif
 
-%files -n %lname
-%defattr(-,root,root)
-%_libdir/libgfan-%version.so
-
-%files -n libgfan-devel
-%defattr(-,root,root)
-%_libdir/libgfan.so
-%_includedir/*
-
 %changelog

++ gfan-automake.diff ++
--- /var/tmp/diff_new_pack.ryqwMP/_old  2018-01-23 13:52:36.146698799 +0100
+++ 

commit gfan for openSUSE:Factory

2016-06-19 Thread h_root
Hello community,

here is the log from the commit of package gfan for openSUSE:Factory checked in 
at 2016-06-19 10:50:07

Comparing /work/SRC/openSUSE:Factory/gfan (Old)
 and  /work/SRC/openSUSE:Factory/.gfan.new (New)


Package is "gfan"

Changes:

--- /work/SRC/openSUSE:Factory/gfan/gfan.changes2014-10-14 
07:11:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.gfan.new/gfan.changes   2016-06-19 
10:50:10.0 +0200
@@ -1,0 +2,7 @@
+Thu Jun 16 21:38:19 UTC 2016 - jeng...@inai.de
+
+- Add missing post and postun sections for ldconfig
+- Build with std=gnu++98 because the code has not been written
+  with C++11's std::rank in mind.
+
+---



Other differences:
--
++ gfan.spec ++
--- /var/tmp/diff_new_pack.CO0s3R/_old  2016-06-19 10:50:11.0 +0200
+++ /var/tmp/diff_new_pack.CO0s3R/_new  2016-06-19 10:50:11.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gfan
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -77,26 +77,28 @@
 %patch -P 1 -P 2 -P 3 -P 4 -p1
 
 %build
-autoreconf -fi;
-%if 0%{?suse_version} <= 1110
-# -Wno-unused-result is not a recognized option of gcc 4.3
-export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused";
-%else
-export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused 
-Wno-unused-result";
+autoreconf -fi
+export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused 
-std=gnu++98"
+%if 0%{?suse_version} > 1110
+# -Wno-unused-result not known in old SUSE
+export CXXFLAGS="$CXXFLAGS -Wno-unused-result"
 %endif
 %configure --disable-static --enable-silent-rules
-make %{?_smp_mflags};
+make %{?_smp_mflags}
 %if 0%{?with_pdf}
-make -C doc %{?_smp_mflags};
+make -C doc %{?_smp_mflags}
 %endif
 
 %install
-b="%buildroot";
-make install DESTDIR="$b";
+b="%buildroot"
+make install DESTDIR="$b"
 for i in $(./gfan _list | grep ^gfan_); do
-   ln -s gfan "$b/%_bindir/$i";
+   ln -s gfan "$b/%_bindir/$i"
 done;
-rm -f "$b/%_libdir"/*.la;
+rm -fv "$b/%_libdir"/*.la
+
+%post   -n %lname -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)




commit gfan for openSUSE:Factory

2014-10-13 Thread h_root
Hello community,

here is the log from the commit of package gfan for openSUSE:Factory checked in 
at 2014-10-14 07:10:39

Comparing /work/SRC/openSUSE:Factory/gfan (Old)
 and  /work/SRC/openSUSE:Factory/.gfan.new (New)


Package is gfan

Changes:

--- /work/SRC/openSUSE:Factory/gfan/gfan.changes2013-09-12 
19:52:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.gfan.new/gfan.changes   2014-10-14 
07:11:03.0 +0200
@@ -1,0 +2,5 @@
+Sat Oct 11 20:03:42 UTC 2014 - jeng...@inai.de
+
+- Use source URLs
+
+---

Old:

  gfan0.5.tar.bz2

New:

  gfan0.5.tar.gz



Other differences:
--
++ gfan.spec ++
--- /var/tmp/diff_new_pack.SPYatS/_old  2014-10-14 07:11:04.0 +0200
+++ /var/tmp/diff_new_pack.SPYatS/_new  2014-10-14 07:11:04.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gfan
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 Group:  Productivity/Scientific/Math
 Url:http://home.imf.au.dk/jensen/software/gfan/gfan.html
 
-Source: %name%version.tar.bz2
+Source: http://home.imf.au.dk/jensen/software/gfan/%name%version.tar.gz
 Patch1: gfan-automake.diff
 Patch2: gfan-format.diff
 Patch3: gfan-returns.diff
@@ -84,7 +84,7 @@
 %else
 export CXXFLAGS=%optflags -Wno-sign-compare -Wno-reorder -Wno-unused 
-Wno-unused-result;
 %endif
-%configure --disable-static
+%configure --disable-static --enable-silent-rules
 make %{?_smp_mflags};
 %if 0%{?with_pdf}
 make -C doc %{?_smp_mflags};

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gfan for openSUSE:Factory

2013-09-12 Thread h_root
Hello community,

here is the log from the commit of package gfan for openSUSE:Factory checked in 
at 2013-09-12 19:52:18

Comparing /work/SRC/openSUSE:Factory/gfan (Old)
 and  /work/SRC/openSUSE:Factory/.gfan.new (New)


Package is gfan

Changes:

--- /work/SRC/openSUSE:Factory/gfan/gfan.changes2012-12-08 
15:51:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.gfan.new/gfan.changes   2013-09-12 
19:52:19.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep 12 08:45:36 UTC 2013 - wer...@suse.de
+
+- Make it build with latest TeXLive 2013
+
+---



Other differences:
--
++ gfan.spec ++
--- /var/tmp/diff_new_pack.0JpQcm/_old  2013-09-12 19:52:21.0 +0200
+++ /var/tmp/diff_new_pack.0JpQcm/_new  2013-09-12 19:52:21.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gfan
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -14,14 +14,16 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+
+
 Name:   gfan
 %define lname  libgfan-0_5
 Version:0.5
 Release:0
-Group:  Productivity/Scientific/Math
 Summary:   Calculation of Gröbner fans
 License:GPL-2.0
-URL:http://home.imf.au.dk/jensen/software/gfan/gfan.html
+Group:  Productivity/Scientific/Math
+Url:http://home.imf.au.dk/jensen/software/gfan/gfan.html
 
 Source: %name%version.tar.bz2
 Patch1:gfan-automake.diff
@@ -29,12 +31,23 @@
 Patch3:gfan-returns.diff
 Patch4:gfan-remove-debug-code.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires: cddlib-devel, gcc-c++, gmp-devel, libtool = 2
+BuildRequires:  cddlib-devel
+BuildRequires:  gcc-c++
+BuildRequires:  gmp-devel
+BuildRequires:  libtool = 2
 %define with_pdf 1
 %if 0%{?with_pdf}
 BuildRequires: texlive-latex
 %if 0%{?suse_version} = 1230
-BuildRequires: texlive-bibtex, texlive-dvips, texlive-ntgclass, texlive-ulem
+BuildRequires:  texlive-amsfonts
+BuildRequires:  texlive-bibtex
+BuildRequires:  texlive-cm-super
+BuildRequires:  texlive-dvips
+BuildRequires:  texlive-ntgclass
+BuildRequires:  texlive-ulem
+%if 0%{?suse_version}  1230
+BuildRequires:  tex(english.ldf)
+%endif
 %endif
 %endif
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gfan for openSUSE:Factory

2012-12-08 Thread h_root
Hello community,

here is the log from the commit of package gfan for openSUSE:Factory checked in 
at 2012-12-08 15:51:28

Comparing /work/SRC/openSUSE:Factory/gfan (Old)
 and  /work/SRC/openSUSE:Factory/.gfan.new (New)


Package is gfan, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2012-11-30 12:21:47.308011256 +0100
+++ /work/SRC/openSUSE:Factory/.gfan.new/gfan.changes   2012-12-08 
15:51:30.0 +0100
@@ -0,0 +1,14 @@
+---
+Thu Dec  6 10:02:08 UTC 2012 - jeng...@inai.de
+
+- Add symlinks that are expected by other programs
+
+---
+Wed Dec  5 13:23:19 UTC 2012 - jeng...@inai.de
+
+- Throw out undocumented patches, throw out %makeinstall
+
+---
+Tue Sep 27 01:02:28 UTC 2011 - jeng...@medozas.de
+
+- Initial package (version 0.5) for build.opensuse.org

New:

  gfan-automake.diff
  gfan-format.diff
  gfan-remove-debug-code.diff
  gfan-returns.diff
  gfan.changes
  gfan.spec
  gfan0.5.tar.bz2



Other differences:
--
++ gfan.spec ++
#
# spec file for package gfan
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# 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/
#
Name:   gfan
%define lname   libgfan-0_5
Version:0.5
Release:0
Group:  Productivity/Scientific/Math
Summary:Calculation of Gröbner fans
License:GPL-2.0
URL:http://home.imf.au.dk/jensen/software/gfan/gfan.html

Source: %name%version.tar.bz2
Patch1: gfan-automake.diff
Patch2: gfan-format.diff
Patch3: gfan-returns.diff
Patch4: gfan-remove-debug-code.diff
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  cddlib-devel, gcc-c++, gmp-devel, libtool = 2
%define with_pdf 1
%if 0%{?with_pdf}
BuildRequires:  texlive-latex
%if 0%{?suse_version} = 1230
BuildRequires:  texlive-bibtex, texlive-dvips, texlive-ntgclass, texlive-ulem
%endif
%endif

%description
Gfan is a software package for computing Gröbner fans and tropical
varieties. These are polyhedral fans associated to polynomial ideals.

%package -n %lname
Summary:Library for calculation of Gröbner fans
Group:  System/Libraries

%description -n %lname
Gfan is a software package for computing Gröbner fans and tropical
varieties. These are polyhedral fans associated to polynomial ideals.

%package -n libgfan-devel
Summary:Development files for libgfan
Group:  Development/Libraries/C and C++
Requires:   %lname = %version

%description -n libgfan-devel
Gfan is a software package for computing Gröbner fans and tropical
varieties. These are polyhedral fans associated to polynomial ideals.

%prep
%setup -qn %name%version
%patch -P 1 -P 2 -P 3 -P 4 -p1

%build
autoreconf -fi;
%if 0%{?suse_version} = 1110
# -Wno-unused-result is not a recognized option of gcc 4.3
export CXXFLAGS=%optflags -Wno-sign-compare -Wno-reorder -Wno-unused;
%else
export CXXFLAGS=%optflags -Wno-sign-compare -Wno-reorder -Wno-unused 
-Wno-unused-result;
%endif
%configure --disable-static
make %{?_smp_mflags};
%if 0%{?with_pdf}
make -C doc %{?_smp_mflags};
%endif

%install
b=%buildroot;
make install DESTDIR=$b;
for i in $(./gfan _list | grep ^gfan_); do
ln -s gfan $b/%_bindir/$i;
done;
rm -f $b/%_libdir/*.la;

%files
%defattr(-,root,root)
%_bindir/gfan*
%doc examples
%if 0%{?with_pdf}
%doc doc/manual.pdf
%endif

%files -n %lname
%defattr(-,root,root)
%_libdir/libgfan-%version.so

%files -n libgfan-devel
%defattr(-,root,root)
%_libdir/libgfan.so
%_includedir/*

%changelog
++ gfan-automake.diff ++
From: Jan Engelhardt jeng...@medozas.de
Date: 2011-09-27 03:33:14.793222451 +0200
Upstream: dead?

Use much simpler Makefiles.

---
 Makefile.am  |  241 +++
 configure.ac |8 +
 2 files changed, 249 insertions(+)

Index: gfan0.5/Makefile.am
===
--- /dev/null
+++ gfan0.5/Makefile.am
@@ -0,0 +1,241 @@
+# -*- Makefile -*-
+