Dominique Leuenberger 2021-03-08 14:16:20 +00:00 committed by Git OBS Bridge
commit becde7e1d5
7 changed files with 41 additions and 7 deletions

View File

@ -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
View 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

Binary file not shown.

View File

@ -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>

View File

@ -1,3 +1,4 @@
GPG keys of Andrew Makhorin <mao>
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.2 (MingW32)

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define sover 40
%define lname libglpk%{sover}
Name: glpk
Version: 4.65
Version: 5.0
Release: 0
Summary: GNU Linear Programming Kit
License: GPL-3.0-only
@ -34,6 +34,7 @@ BuildRequires: gmp-devel
BuildRequires: libiodbc-devel
BuildRequires: libmariadb-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: texlive
%description
@ -66,9 +67,7 @@ callable library.
%package doc
Summary: GNU Linear Programming Kit
Group: Documentation/Other
%if 0%{?suse_version} >= 1120 || 0%{?fedora_version}
BuildArch: noarch
%endif
%description doc
The GLPK package is intended for solving large-scale linear
@ -101,6 +100,21 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%make_install
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
make %{?_smp_mflags} check
@ -117,6 +131,7 @@ make %{?_smp_mflags} check
%files devel
%{_includedir}/*
%{_libdir}/libglpk.so
%{_libdir}/pkgconfig/%{name}.pc
%files doc
%doc ChangeLog NEWS README