From 42d1ac955dbaa75c06a311d755c2f899aaf25dfdcbbf96cd7e417b71df5435fd Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 8 Aug 2013 07:02:24 +0000 Subject: [PATCH] Accepting request 186283 from home:jengelh:science - Update to new upstream release 4.52.1 OBS-URL: https://build.opensuse.org/request/show/186283 OBS-URL: https://build.opensuse.org/package/show/science/glpk?expand=0&rev=18 --- glpk-4.52.1.tar.gz | 3 +++ glpk-4.52.1.tar.gz.sig | Bin 0 -> 65 bytes glpk-4.52.tar.bz2 | 3 --- glpk.changes | 8 ++++++++ glpk.keyring | 28 ++++++++++++++++++++++++++++ glpk.spec | 35 ++++++++++++++++++++--------------- 6 files changed, 59 insertions(+), 18 deletions(-) create mode 100644 glpk-4.52.1.tar.gz create mode 100644 glpk-4.52.1.tar.gz.sig delete mode 100644 glpk-4.52.tar.bz2 create mode 100644 glpk.keyring diff --git a/glpk-4.52.1.tar.gz b/glpk-4.52.1.tar.gz new file mode 100644 index 0000000..32f7257 --- /dev/null +++ b/glpk-4.52.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3231685b9ff92d30ccbb5c21ba7815b25ba59c7d1e5194e57a880dd1ebb3e95b +size 2812957 diff --git a/glpk-4.52.1.tar.gz.sig b/glpk-4.52.1.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..74bf5685aa623787f780c664a365bc2810724c6a51b004101a14277cfcb2c654 GIT binary patch literal 65 zcmV-H0KWf-KLZ5-QS|eV(R=bRS%K&n5dt3~0H0xCaSJ>8z`dnFm|JetPzi6l^|b(< X8fnA`hA2b=%6t^o;3V!6`Kme+hDRI= literal 0 HcmV?d00001 diff --git a/glpk-4.52.tar.bz2 b/glpk-4.52.tar.bz2 deleted file mode 100644 index 99b97c4..0000000 --- a/glpk-4.52.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a82025fef6af4a08c6cdf5d5b3ec97a33409c9365d56e2eaef18738aa8a04df -size 2558197 diff --git a/glpk.changes b/glpk.changes index 8c3519b..967a601 100644 --- a/glpk.changes +++ b/glpk.changes @@ -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 diff --git a/glpk.keyring b/glpk.keyring new file mode 100644 index 0000000..7bf9957 --- /dev/null +++ b/glpk.keyring @@ -0,0 +1,28 @@ +pub 1024D/5981E818 2003-07-15 +uid Andrew Makhorin +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 +26mTd0FoGOmsQuipo6X5LaUD/1l7NqFIjiGdWthyG3TqsiK5Ew7xF3fLEABXKPjb +PMRTMucX8XXHmW8RUD1vP1uGDnEn6s+fjc3/RtaqKjqGMdLt4XgHQkImaVguNpSS +IxN3LaK600BgAbwSd1bomRqWNlczAM7469VvGG9ASpCBveUUrqwerHZcUbvngL62 +pIcqA/41dO0xYrOTqMRhuguYMgHL2xbwB2Aj2TqRwBm697DIS25B9nE+8UsbjGRx +q3EmeuHeZ5kN5RbESXkGUB8whIcYxvH16HRNmM1ZjmFoBVL2Z6S2gpa2ZUqsq7BZ +s+hriElm3dfOQCt79/o852uKWu5bSjw2yiemVA2T8tG4OoN6DrQjQW5kcmV3IE1h +a2hvcmluIDxtYW9AbWFpMi5yY25ldC5ydT6IYwQTEQIAGwUCPxR1PwYLCQgHAwID +FQIDAxYCAQIeAQIXgAASCRDRe/IwWYHoGAdlR1BHAAEBqkcAnjgybNYqvw6JNzQF +vr9EPnpp6SnfAJ0bOdAwJ9YWR6FA9t41oHnIUiz7xrkBDQQ/FHVQEAQA7dTcfkzS +Ji/ToLiQq3LpF5bJgfgLMwB+naU9VQrNFKM+2gAnpKSsFIoxP5T4NqHFngrgduKe +8ere6+XBZrHHDTArEmXihjoQYTUmqfcH/8CTjtFo0yeuz1Xvf1ZPVg1GlC+HjA4J +4x6QHOSx/jeGbh1JXg8xCQuasR4bb4FhpmcAAwUD/i1UeGMZGTHNxNx8cIH5ijc9 +d4hAy4izTRxUoKs1F4ueL/cFZkLTD20XNlJ3P5RFd589YMa4ALXq8sJU4PTo1whA +a6097Xz11Scp/0GXqpz0PJazFJN0X89supwt8R72Dt8eEjB1j7D+FKrafc0RREzM +eIxPVTcK8d0CzkjNX/IPiE4EGBECAAYFAj8UdVAAEgkQ0XvyMFmB6BgHZUdQRwAB +AUWRAJsEXiZDEq27NBELNsI8kwjHeSg4dwCgkdv0b1WnfUU90oWJ1Ijz2Ey9vzc= +=3DSV +-----END PGP PUBLIC KEY BLOCK----- diff --git a/glpk.spec b/glpk.spec index 0d023e1..d6f939f 100644 --- a/glpk.spec +++ b/glpk.spec @@ -17,15 +17,18 @@ Name: glpk -Version: 4.52 +%define lname libglpk36 +Version: 4.52.1 Release: 0 -%define libmaj 35 Summary: GNU Linear Programming Kit License: GPL-3.0 -Group: Development/Libraries/C and C++ +Group: Productivity/Scientific/Math 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 BuildRequires: ghostscript BuildRequires: texlive @@ -41,7 +44,7 @@ callable library. %package devel Summary: GNU Linear Programming Kit Group: Development/Libraries/C and C++ -Requires: libglpk%{libmaj} = %{version} +Requires: %lname = %version %description devel 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 -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 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 @@ -65,7 +68,7 @@ callable library. %package doc Summary: GNU Linear Programming Kit -Group: Development/Libraries/C and C++ +Group: Documentation/Other %if 0%{?suse_version} >= 1120 || 0%{?fedora_version} BuildArch: noarch %endif @@ -79,10 +82,12 @@ callable library. %prep +%{?gpg_verify: %gpg_verify %{S:2}} %setup -q %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} %install @@ -94,9 +99,9 @@ mkdir $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} -%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 %defattr(-,root,root) @@ -108,14 +113,14 @@ cp {AUTHORS,ChangeLog,COPYING,NEWS,README} $RPM_BUILD_ROOT%{_docdir}/%{name} %{_docdir}/%{name}/README %{_bindir}/glpsol -%files -n libglpk%{libmaj} +%files -n %lname %defattr(-,root,root) -%{_libdir}/*.so.* +%{_libdir}/libglpk.so.* %files devel %defattr(-,root,root) %{_includedir}/* -%{_libdir}/*.so +%{_libdir}/libglpk.so %files doc %defattr(-,root,root)