SHA256
1
0
forked from pool/azove

- Modernize specfile.

OBS-URL: https://build.opensuse.org/package/show/science/azove?expand=0&rev=4
This commit is contained in:
Jan Engelhardt 2019-08-24 15:50:00 +00:00 committed by Git OBS Bridge
parent 2cd98fc78e
commit 0567c748ad
2 changed files with 15 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Aug 24 15:48:35 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 23 09:00:55 UTC 2013 - jengelh@inai.de Thu May 23 09:00:55 UTC 2013 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package azove # spec file for package azove
# #
# Copyright (c) 2013 SUSE LINUX Products 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,15 +20,16 @@ Name: azove
Version: 2.0 Version: 2.0
Release: 0 Release: 0
Summary: Another Zero One Vertex Enumeration tool Summary: Another Zero One Vertex Enumeration tool
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
Url: http://www.mpi-inf.mpg.de/~behle/azove.html URL: https://www.mpi-inf.mpg.de/~behle/azove.html
Source: http://www.mpi-inf.mpg.de/~behle/azove-2.0.tar.gz # without a cookie, mpi-inf.mpg.de presents a landing page, failing the download check :(
#Source: https://www.mpi-inf.mpg.de/~behle/%name-%version.tar.gz
Source: %name-%version.tar.gz
Patch1: azove-cpp.diff Patch1: azove-cpp.diff
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
azove is a tool designed for counting (without explicit enumeration) azove is a tool designed for counting (without explicit enumeration)
@ -43,20 +44,18 @@ the vertex enumeration problem. In fact, it can also solve the 0/1
knapsack problem and the 0/1 subset sum problem. knapsack problem and the 0/1 subset sum problem.
%prep %prep
%setup -q %autosetup -p1
%patch -P 1 -p1
%build %build
make %{?_smp_mflags} COMPILER_FLAGS="%optflags" make %{?_smp_mflags} COMPILER_FLAGS="%optflags"
%install %install
c="%buildroot/%_bindir"; c="%buildroot/%_bindir"
mkdir -p "$c" mkdir -p "$c"
install -pm0755 azove2 "$c" install -pm0755 azove2 "$c"
%files %files
%defattr(-,root,root)
%_bindir/azove2 %_bindir/azove2
%doc COPYING %license COPYING
%changelog %changelog