From f56873065576820683c8b88014c9c35defb66577c6ac6941a5473a654439ba21 Mon Sep 17 00:00:00 2001 From: Dmitry Roshchin Date: Wed, 12 Nov 2014 17:52:27 +0000 Subject: [PATCH] Accepting request 261322 from home:Dmitry_R:branches:science - Update to version 4.55 * Bugfixes, documentation update. See NEWS file for details. OBS-URL: https://build.opensuse.org/request/show/261322 OBS-URL: https://build.opensuse.org/package/show/science/glpk?expand=0&rev=25 --- glpk-4.54.tar.gz | 3 --- glpk-4.54.tar.gz.sig | Bin 65 -> 0 bytes glpk-4.55.tar.gz | 3 +++ glpk-4.55.tar.gz.sig | Bin 0 -> 65 bytes glpk.changes | 6 +++++ glpk.spec | 57 ++++++++++++++++++------------------------- 6 files changed, 33 insertions(+), 36 deletions(-) delete mode 100644 glpk-4.54.tar.gz delete mode 100644 glpk-4.54.tar.gz.sig create mode 100644 glpk-4.55.tar.gz create mode 100644 glpk-4.55.tar.gz.sig diff --git a/glpk-4.54.tar.gz b/glpk-4.54.tar.gz deleted file mode 100644 index e0305c4..0000000 --- a/glpk-4.54.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab72c8078402d34d176eda18c3f9a6ef006e223d530897a4d1d73fb4ad12f9a1 -size 3098202 diff --git a/glpk-4.54.tar.gz.sig b/glpk-4.54.tar.gz.sig deleted file mode 100644 index 268fa2c763e53ebd1987d51d960ac15616fb396ec56375883bc8880d505c6df8..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 65 zcmV-H0KWf-KLZ5-Q#FHO(R=bRS%K&n5dvzu0HB#*V!)-|D-Jv7|AN0pIlUT&oK*my XdXw6P=?np6q1!3R5|k{Esc5H7dvqL| diff --git a/glpk-4.55.tar.gz b/glpk-4.55.tar.gz new file mode 100644 index 0000000..df7b26b --- /dev/null +++ b/glpk-4.55.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37090d7f16796ec1034496e182a39d5cc8bb7c9fb5dc48a38b13d620bf2b1de7 +size 3424345 diff --git a/glpk-4.55.tar.gz.sig b/glpk-4.55.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..96fa1aa7b227287b570120f515f33e250d256df4d3a71b92ee2746810d88a011 GIT binary patch literal 65 zcmV-H0KWf-KLZ5-Q}*iZ(R=bRS%K&n5du+*hsdAw~+p^7`4&t-+lm{ X9$h4-LBGmvL6qfqiy%Gt)O`W5=>H#s literal 0 HcmV?d00001 diff --git a/glpk.changes b/glpk.changes index 851ae27..ef776d0 100644 --- a/glpk.changes +++ b/glpk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 12 17:33:27 UTC 2014 - dmitry_r@opensuse.org + +- Update to version 4.55 + * Bugfixes, documentation update. See NEWS file for details. + ------------------------------------------------------------------- Mon Mar 31 06:34:30 UTC 2014 - pgajdos@suse.com diff --git a/glpk.spec b/glpk.spec index 8438b70..d4cb6ef 100644 --- a/glpk.spec +++ b/glpk.spec @@ -16,22 +16,21 @@ # +%define lname libglpk36 Name: glpk -%define lname libglpk36 -Version: 4.54 +Version: 4.55 Release: 0 Summary: GNU Linear Programming Kit License: GPL-3.0 Group: Productivity/Scientific/Math Url: http://www.gnu.org/software/glpk/glpk.html - -#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.sig -Source3: %name.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build +#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.sig +Source3: %{name}.keyring BuildRequires: ghostscript BuildRequires: texlive +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The GLPK package is intended for solving large-scale linear @@ -39,33 +38,27 @@ 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 callable library. - - -%package devel +%package devel Summary: GNU Linear Programming Kit Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: %{lname} = %{version} -%description devel +%description devel 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 callable library. - - -%package -n %lname +%package -n %{lname} Summary: GNU Linear Programming Kit Group: System/Libraries -%description -n %lname +%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 callable library. - - %package doc Summary: GNU Linear Programming Kit Group: Documentation/Other @@ -79,32 +72,30 @@ 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 callable library. - - %prep -%{?gpg_verify: %gpg_verify %{S:2}} +%{?gpg_verify: %gpg_verify %{SOURCE2}} %setup -q %build -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +export CFLAGS="%{optflags} -fno-strict-aliasing" %configure --disable-static make %{?_smp_mflags} %install -make install DESTDIR="%buildroot" -rm $RPM_BUILD_ROOT%{_libdir}/*.la -mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/examples -cp examples/*.{mod,c,dat,mps,lp} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples -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} +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +mkdir -p %{buildroot}%{_docdir}/%{name}/examples +cp examples/*.{mod,c,dat,mps,lp} %{buildroot}%{_docdir}/%{name}/examples +mkdir %{buildroot}%{_docdir}/%{name}/doc +cp doc/{*.txt,*.pdf} %{buildroot}%{_docdir}/%{name}/doc +cp {AUTHORS,ChangeLog,COPYING,NEWS,README} %{buildroot}%{_docdir}/%{name} %check make check -%post -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig %files %defattr(-,root,root) @@ -116,7 +107,7 @@ make check %{_docdir}/%{name}/README %{_bindir}/glpsol -%files -n %lname +%files -n %{lname} %defattr(-,root,root) %{_libdir}/libglpk.so.*