Accepting request 865494 from home:alois:branches:science
- Update to version 5.0 * The copyright was transferred to the Free Software Foundation. * To fix some licensing problems the routines in the following files were disabled by replacing with dummy ones that print an error message: + src/api/gridgen.c + src/api/netgen.c + src/api/rmfgen.c + src/misc/qmd.c + src/misc/relax4.c + Note that this change does not affect the main functionality of the package. * Some minor bugs were fixed. - Added pkgconfig file OBS-URL: https://build.opensuse.org/request/show/865494 OBS-URL: https://build.opensuse.org/package/show/science/glpk?expand=0&rev=50
This commit is contained in:
parent
1921c0726e
commit
3ad536579b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4281e29b628864dfe48d393a7bedd781e5b475387c20d8b0158f329994721a10
|
|
||||||
size 4167110
|
|
Binary file not shown.
3
glpk-5.0.tar.gz
Normal file
3
glpk-5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4a1013eebb50f728fc601bdd833b0b2870333c3b3e5a816eeba921d95bec6f15
|
||||||
|
size 4132649
|
BIN
glpk-5.0.tar.gz.sig
Normal file
BIN
glpk-5.0.tar.gz.sig
Normal file
Binary file not shown.
18
glpk.changes
18
glpk.changes
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 21 18:31:45 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Update to version 5.0
|
||||||
|
* The copyright was transferred to the Free Software Foundation.
|
||||||
|
* To fix some licensing problems the routines in the following
|
||||||
|
files were disabled by replacing with dummy ones that print an
|
||||||
|
error message:
|
||||||
|
+ src/api/gridgen.c
|
||||||
|
+ src/api/netgen.c
|
||||||
|
+ src/api/rmfgen.c
|
||||||
|
+ src/misc/qmd.c
|
||||||
|
+ src/misc/relax4.c
|
||||||
|
+ Note that this change does not affect the main functionality
|
||||||
|
of the package.
|
||||||
|
* Some minor bugs were fixed.
|
||||||
|
- Added pkgconfig file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 3 15:28:09 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
Mon Feb 3 15:28:09 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
GPG keys of Andrew Makhorin <mao>
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
Version: GnuPG v1.2.2 (MingW32)
|
Version: GnuPG v1.2.2 (MingW32)
|
||||||
|
|
||||||
|
23
glpk.spec
23
glpk.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package glpk
|
# spec file for package glpk
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%define sover 40
|
%define sover 40
|
||||||
%define lname libglpk%{sover}
|
%define lname libglpk%{sover}
|
||||||
Name: glpk
|
Name: glpk
|
||||||
Version: 4.65
|
Version: 5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GNU Linear Programming Kit
|
Summary: GNU Linear Programming Kit
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
@ -34,6 +34,7 @@ BuildRequires: gmp-devel
|
|||||||
BuildRequires: libiodbc-devel
|
BuildRequires: libiodbc-devel
|
||||||
BuildRequires: libmariadb-devel
|
BuildRequires: libmariadb-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: texlive
|
BuildRequires: texlive
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -66,9 +67,7 @@ callable library.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: GNU Linear Programming Kit
|
Summary: GNU Linear Programming Kit
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
%if 0%{?suse_version} >= 1120 || 0%{?fedora_version}
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
The GLPK package is intended for solving large-scale linear
|
The GLPK package is intended for solving large-scale linear
|
||||||
@ -101,6 +100,21 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
|
# creates support file for pkg-config
|
||||||
|
mkdir -p %{buildroot}/%{_libdir}/pkgconfig
|
||||||
|
tee %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc << "EOF"
|
||||||
|
prefix=%{_prefix}
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/%{_lib}
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: %{name}
|
||||||
|
Description: GNU Linear Programming Kit
|
||||||
|
Version: %{version}
|
||||||
|
Libs: -lglpk
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
EOF
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
@ -117,6 +131,7 @@ make %{?_smp_mflags} check
|
|||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/libglpk.so
|
%{_libdir}/libglpk.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc ChangeLog NEWS README
|
%doc ChangeLog NEWS README
|
||||||
|
Loading…
Reference in New Issue
Block a user