Accepting request 725843 from science

- Specfile modernization.

OBS-URL: https://build.opensuse.org/request/show/725843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gfan?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2019-08-27 08:19:12 +00:00 committed by Git OBS Bridge
commit 660d6f615a
2 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Aug 24 16:14:41 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Specfile modernization.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 25 21:21:45 UTC 2017 - jengelh@inai.de Mon Dec 25 21:21:45 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package gfan # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 @@ Name: gfan
Version: 0.6.2 Version: 0.6.2
Release: 0 Release: 0
Summary: Calculation of Gröbner fans Summary: Calculation of Gröbner fans
License: GPL-2.0 License: GPL-2.0-only
Group: Productivity/Scientific/Math 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 Source: http://home.imf.au.dk/jensen/software/gfan/%name%version.tar.gz
Patch1: gfan-automake.diff Patch1: gfan-automake.diff
Patch2: gfan-warnings.diff Patch2: gfan-warnings.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake BuildRequires: automake
BuildRequires: cddlib-devel BuildRequires: cddlib-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -53,8 +52,7 @@ Gfan is a software package for computing Gröbner fans and tropical
varieties. These are polyhedral fans associated to polynomial ideals. varieties. These are polyhedral fans associated to polynomial ideals.
%prep %prep
%setup -qn %name%version %autosetup -p1 -n %name%version
%patch -P 1 -P 2 -p1
%build %build
autoreconf -fi autoreconf -fi
@ -70,11 +68,11 @@ b="%buildroot"
%make_install %make_install
for i in $(src/gfan _list | grep ^gfan_); do for i in $(src/gfan _list | grep ^gfan_); do
ln -s gfan "$b/%_bindir/$i" ln -s gfan "$b/%_bindir/$i"
done; done
%files %files
%defattr(-,root,root)
%_bindir/gfan* %_bindir/gfan*
%license COPYING
%doc examples %doc examples
%if 0%{?with_pdf} %if 0%{?with_pdf}
%doc doc/manual.pdf %doc doc/manual.pdf