Accepting request 186353 from science

- Update to new upstream release 4.52.1 (forwarded request 186283 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/186353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glpk?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2013-08-10 11:04:58 +00:00 committed by Git OBS Bridge
commit 4f18588485
6 changed files with 59 additions and 18 deletions

3
glpk-4.52.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3231685b9ff92d30ccbb5c21ba7815b25ba59c7d1e5194e57a880dd1ebb3e95b
size 2812957

BIN
glpk-4.52.1.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a82025fef6af4a08c6cdf5d5b3ec97a33409c9365d56e2eaef18738aa8a04df
size 2558197

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Aug 7 16:30:21 UTC 2013 - jengelh@inai.de
- Update to new upstream release 4.52.1
* Version linkage information in the shared library was incorrect
- Set RPM groups according to common practice
- Do optional signature verification
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 25 19:46:35 UTC 2013 - matwey.kornilov@gmail.com Thu Jul 25 19:46:35 UTC 2013 - matwey.kornilov@gmail.com

28
glpk.keyring Normal file
View File

@ -0,0 +1,28 @@
pub 1024D/5981E818 2003-07-15
uid Andrew Makhorin <mao@mai2.rcnet.ru>
sub 1024g/5676121E 2003-07-15
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.19 (GNU/Linux)
mQGiBD8UdT8RBAC6yWYxoa1b7U973J0jBuQpgZnhXlGJJpMZgAW9efDBD17vhkJm
hPVOQBKRUeOOLcW3/a7NMoNLMdmF1Rgz1FPVy3RgBDsYj4Sp4RBCsX/o0xXh+jxe
gncr4bdN0Ruk03pezVtLi9oYygdxfI51SsjZ2vwYP6BhMwv+xrIgcnc4qwCgoCit
26mTd0FoGOmsQuipo6X5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@
Name: glpk Name: glpk
Version: 4.52 %define lname libglpk36
Version: 4.52.1
Release: 0 Release: 0
%define libmaj 35
Summary: GNU Linear Programming Kit Summary: GNU Linear Programming Kit
License: GPL-3.0 License: GPL-3.0
Group: Development/Libraries/C and C++ Group: Productivity/Scientific/Math
Url: http://www.gnu.org/software/glpk/glpk.html Url: http://www.gnu.org/software/glpk/glpk.html
Source: %{name}-%{version}.tar.bz2 #DL-URL: http://ftp.gnu.org/gnu/glpk/
Source: http://ftp.gnu.org/gnu/glpk/%name-%version.tar.gz
Source2: http://ftp.gnu.org/gnu/glpk/%name-%version.tar.gz
Source3: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghostscript BuildRequires: ghostscript
BuildRequires: texlive BuildRequires: texlive
@ -41,7 +44,7 @@ callable library.
%package devel %package devel
Summary: GNU Linear Programming Kit Summary: GNU Linear Programming Kit
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libglpk%{libmaj} = %{version} Requires: %lname = %version
%description devel %description devel
The GLPK package is intended for solving large-scale linear The GLPK package is intended for solving large-scale linear
@ -51,11 +54,11 @@ callable library.
%package -n libglpk%{libmaj} %package -n %lname
Summary: GNU Linear Programming Kit Summary: GNU Linear Programming Kit
Group: Development/Libraries/C and C++ Group: System/Libraries
%description -n libglpk%{libmaj} %description -n %lname
The GLPK package is intended for solving large-scale linear The GLPK package is intended for solving large-scale linear
programming, mixed integer programming, and other related problems. It programming, mixed integer programming, and other related problems. It
is a set of routines written in ANSI C and organized in the form of a is a set of routines written in ANSI C and organized in the form of a
@ -65,7 +68,7 @@ callable library.
%package doc %package doc
Summary: GNU Linear Programming Kit Summary: GNU Linear Programming Kit
Group: Development/Libraries/C and C++ Group: Documentation/Other
%if 0%{?suse_version} >= 1120 || 0%{?fedora_version} %if 0%{?suse_version} >= 1120 || 0%{?fedora_version}
BuildArch: noarch BuildArch: noarch
%endif %endif
@ -79,10 +82,12 @@ callable library.
%prep %prep
%{?gpg_verify: %gpg_verify %{S:2}}
%setup -q %setup -q
%build %build
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --enable-static=no export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -94,9 +99,9 @@ mkdir $RPM_BUILD_ROOT%{_docdir}/%{name}/doc
cp doc/{*.txt,*.pdf} $RPM_BUILD_ROOT%{_docdir}/%{name}/doc cp doc/{*.txt,*.pdf} $RPM_BUILD_ROOT%{_docdir}/%{name}/doc
cp {AUTHORS,ChangeLog,COPYING,NEWS,README} $RPM_BUILD_ROOT%{_docdir}/%{name} cp {AUTHORS,ChangeLog,COPYING,NEWS,README} $RPM_BUILD_ROOT%{_docdir}/%{name}
%post -n libglpk%{libmaj} -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n libglpk%{libmaj} -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -108,14 +113,14 @@ cp {AUTHORS,ChangeLog,COPYING,NEWS,README} $RPM_BUILD_ROOT%{_docdir}/%{name}
%{_docdir}/%{name}/README %{_docdir}/%{name}/README
%{_bindir}/glpsol %{_bindir}/glpsol
%files -n libglpk%{libmaj} %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libglpk.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/libglpk.so
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)