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
This commit is contained in:
parent
e186effeb8
commit
f568730655
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab72c8078402d34d176eda18c3f9a6ef006e223d530897a4d1d73fb4ad12f9a1
|
||||
size 3098202
|
Binary file not shown.
3
glpk-4.55.tar.gz
Normal file
3
glpk-4.55.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:37090d7f16796ec1034496e182a39d5cc8bb7c9fb5dc48a38b13d620bf2b1de7
|
||||
size 3424345
|
BIN
glpk-4.55.tar.gz.sig
Normal file
BIN
glpk-4.55.tar.gz.sig
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
51
glpk.spec
51
glpk.spec
@ -16,22 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
Name: glpk
|
||||
%define lname libglpk36
|
||||
Version: 4.54
|
||||
Name: glpk
|
||||
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
|
||||
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,12 +38,10 @@ 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
|
||||
Summary: GNU Linear Programming Kit
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Requires: %{lname} = %{version}
|
||||
|
||||
%description devel
|
||||
The GLPK package is intended for solving large-scale linear
|
||||
@ -52,20 +49,16 @@ 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.*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user