- recompress source to bz2 for SLE
- use %%makeinstall macro instead of %%make_install OBS-URL: https://build.opensuse.org/package/show/science/gfan?expand=0&rev=4
This commit is contained in:
parent
93559c208e
commit
634b023d8b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 18 21:47:55 UTC 2012 - scorot@free.fr
|
||||
|
||||
- recompress source to bz2 for SLE
|
||||
- use %%makeinstall macro instead of %%make_install
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 27 01:02:28 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
|
11
gfan.spec
11
gfan.spec
@ -24,12 +24,12 @@ 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.xz
|
||||
Source: %name%version.tar.bz2
|
||||
Patch1: gfan-automake.diff
|
||||
Patch2: gfan-format.diff
|
||||
Patch3: gfan-returns.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cddlib-devel, gcc-c++, gmp-devel, xz
|
||||
BuildRequires: cddlib-devel, gcc-c++, gmp-devel
|
||||
%define with_pdf 1
|
||||
%if 0%{?with_pdf}
|
||||
BuildRequires: texlive-latex
|
||||
@ -62,7 +62,12 @@ varieties. These are polyhedral fans associated to polynomial ideals.
|
||||
|
||||
%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}
|
||||
@ -71,7 +76,7 @@ make -C doc %{?_smp_mflags};
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
%make_install
|
||||
%makeinstall
|
||||
find "$b" -type f -name "*.la" -delete;
|
||||
|
||||
%files
|
||||
|
3
gfan0.5.tar.bz2
Normal file
3
gfan0.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bcc163ddf01a987008b70439dbc9287d4490bc315b7ffd6bf6b5f47be8067a6c
|
||||
size 947375
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d04a05ff4b5554f182ff254e94dd23c325170c6f2ceb2f773212e704681c6661
|
||||
size 726408
|
Loading…
Reference in New Issue
Block a user