This commit is contained in:
commit
8857e2e3e5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
glpk-4.31.tar.bz2
Normal file
3
glpk-4.31.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:73dd337fc548490c3695b2829592423091e6044053e7adad38a9153f6142e821
|
||||
size 1346486
|
114
glpk.changes
Normal file
114
glpk.changes
Normal file
@ -0,0 +1,114 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 16:05:56 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- ghostscript instead of ghostscript-mini in the BuildRequires
|
||||
section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 14:06:30 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- updated to 4.31:
|
||||
* glpspx.h, glpspx01.c, glpspx02.c, glpapi06.c
|
||||
The dual simplex solver (spx_dual_opt) was replaced by a new
|
||||
implementation of the two-phase dual simplex method (spx_dual).
|
||||
Old simplex method routines (spx_prim_opt, spx_prim_feas, and
|
||||
spx_dual_opt) were removed from the package.
|
||||
|
||||
* glpk.h, glpscl.h, glpscl.c, glpapi04.c
|
||||
New API routine glp_scale_prob was added. It replaces routine
|
||||
lpx_scale_prob which is deprecated.
|
||||
|
||||
* glpk.h, glpini.h, glpini01.c, glpini02.c, glpapi05.c
|
||||
New API routines glp_std_basis, glp_adv_basis, glp_cpx_basis
|
||||
were added. They replace routines lpx_std_basis, lpx_adv_basis,
|
||||
lpx_cpx_basis which are deprecated.
|
||||
|
||||
* glpdmp.c
|
||||
8-byte data alignment was added to the module (sufficient for
|
||||
both ILP32 and LP64 environments).
|
||||
|
||||
* glplib07.c
|
||||
16-byte data alignment was added to the module to provide
|
||||
compatibility with LP64 environment (8-byte is not sufficient
|
||||
due to jmp_buf; thanks to Xypron for investigation).
|
||||
|
||||
* glplpx16.c
|
||||
New version of the routine lpx_write_pb was added. Thanks to
|
||||
Oscar Gustafsson <oscarg@isy.liu.se> for the contribution.
|
||||
|
||||
* glpspx.h, glpspx03.c, glpapi06.c
|
||||
The primal simplex solver (spx_prim_opt, spx_prim_feas) was
|
||||
replaced by a new implementation (spx_primal), which currently
|
||||
provides the same features as the old version.
|
||||
|
||||
* glpmpl01.c, glpmpl03.c
|
||||
Some changes were made in the MathProg translator to allow <,
|
||||
<=, >=, and > on comparing symbolic values. Thanks to Heinrich
|
||||
Schuchardt <heinrich.schuchardt@gmx.de> for patches.
|
||||
|
||||
* glplpx10.c
|
||||
Internal routine set_d_eps in the exact LP solver was changed
|
||||
to prevent approximation errors in case of integral data.
|
||||
Thanks to Markus Pilz <pilz@cs.uni-bonn.de> for bug report.
|
||||
|
||||
* configure.ac
|
||||
The configure script was changed to disable optional features
|
||||
by default. For details see file INSTALL.
|
||||
|
||||
* glpipp02.c
|
||||
A bug was fixed in the internal routine reduce_bounds. Thanks
|
||||
to Anne-Laurence Putz <anne-laurence.putz@eurodecision.com> for
|
||||
the bug report.
|
||||
|
||||
* glpapi01.c
|
||||
New API routine glp_erase_prob was added.
|
||||
|
||||
* glpapi13.c
|
||||
New API routines glp_read_mps and glp_write_mps were added.
|
||||
They replace API routines lpx_read_mps, lpx_read_freemps,
|
||||
lpx_write_mps, and lpx_write_freemps, which are deprecated.
|
||||
|
||||
* glpapi14.c
|
||||
New API routines glp_read_lp and glp_write_lp were added. They
|
||||
replace API routines lpx_read_cpxlp and lpx_write_cpxlp, which
|
||||
are deprecated.
|
||||
|
||||
* glpsql.c
|
||||
Minor bug was fixed. Thanks to Xypron <xypron.glpk@gmx.de> for
|
||||
the bug report.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 16:30:15 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- fixed glpk.pdf and gmpl.pdf build [bnc#417864]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 3 16:09:19 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- updated to 4.28:
|
||||
* Three wrapper routines xdlopen, xdlsym, and xdlclose, which
|
||||
provide the shared library support, were added.
|
||||
* A static linking to iODBC and MySQL libraries used in the
|
||||
MathProg table drivers was replaced by a dynamic linking to
|
||||
corresponding shared libraries.
|
||||
* Compressed data file support was added.
|
||||
* Command-line interface routines were added.
|
||||
* bug fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 19 10:40:35 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- sort_pool() defined as void [bnc#319454]
|
||||
(void-function.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 7 13:50:53 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- fixed BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 27 12:58:51 CET 2008 - pgajdos@suse.cz
|
||||
|
||||
- initial version, moved from OBS (project home:akos_ladanyi)
|
||||
|
212
glpk.spec
Normal file
212
glpk.spec
Normal file
@ -0,0 +1,212 @@
|
||||
#
|
||||
# spec file for package glpk (Version 4.31)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: glpk
|
||||
Version: 4.31
|
||||
Release: 4
|
||||
License: GPL v3 only
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: GNU Linear Programming Kit
|
||||
Url: http://www.gnu.org/software/glpk/glpk.html
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Requires: libglpk0 >= %{version}
|
||||
BuildRequires: ghostscript texlive
|
||||
|
||||
%description
|
||||
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 devel
|
||||
License: GPL v3 only
|
||||
Summary: GNU Linear Programming Kit
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libglpk0 = %{version}
|
||||
|
||||
%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 libglpk0
|
||||
License: GPL v3 only
|
||||
Summary: GNU Linear Programming Kit
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n libglpk0
|
||||
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
|
||||
License: GPL v3 only
|
||||
Summary: GNU Linear Programming Kit
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libglpk0 = %{version}
|
||||
|
||||
%description doc
|
||||
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.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --enable-static=no
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
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
|
||||
dvipdf doc/glpk.dvi doc/glpk.pdf
|
||||
dvipdf doc/gmpl.dvi doc/gmpl.pdf
|
||||
cp doc/{*.txt,*.pdf} $RPM_BUILD_ROOT%{_docdir}/%{name}/doc
|
||||
cp {AUTHORS,ChangeLog,COPYING,NEWS,README} $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%post -n libglpk0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libglpk0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_docdir}/%{name}
|
||||
%{_docdir}/%{name}/AUTHORS
|
||||
%{_docdir}/%{name}/ChangeLog
|
||||
%{_docdir}/%{name}/COPYING
|
||||
%{_docdir}/%{name}/NEWS
|
||||
%{_docdir}/%{name}/README
|
||||
%{_bindir}/glpsol
|
||||
|
||||
%files -n libglpk0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%dir %{_docdir}/%{name}
|
||||
%dir %{_docdir}/%{name}/doc
|
||||
%doc %{_docdir}/%{name}/doc/*
|
||||
%dir %{_docdir}/%{name}/examples
|
||||
%doc %{_docdir}/%{name}/examples/*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 15 2008 pgajdos@suse.cz
|
||||
- ghostscript instead of ghostscript-mini in the BuildRequires
|
||||
section
|
||||
* Thu Sep 11 2008 pgajdos@suse.cz
|
||||
- updated to 4.31:
|
||||
* glpspx.h, glpspx01.c, glpspx02.c, glpapi06.c
|
||||
The dual simplex solver (spx_dual_opt) was replaced by a new
|
||||
implementation of the two-phase dual simplex method (spx_dual).
|
||||
Old simplex method routines (spx_prim_opt, spx_prim_feas, and
|
||||
spx_dual_opt) were removed from the package.
|
||||
* glpk.h, glpscl.h, glpscl.c, glpapi04.c
|
||||
New API routine glp_scale_prob was added. It replaces routine
|
||||
lpx_scale_prob which is deprecated.
|
||||
* glpk.h, glpini.h, glpini01.c, glpini02.c, glpapi05.c
|
||||
New API routines glp_std_basis, glp_adv_basis, glp_cpx_basis
|
||||
were added. They replace routines lpx_std_basis, lpx_adv_basis,
|
||||
lpx_cpx_basis which are deprecated.
|
||||
* glpdmp.c
|
||||
8-byte data alignment was added to the module (sufficient for
|
||||
both ILP32 and LP64 environments).
|
||||
* glplib07.c
|
||||
16-byte data alignment was added to the module to provide
|
||||
compatibility with LP64 environment (8-byte is not sufficient
|
||||
due to jmp_buf; thanks to Xypron for investigation).
|
||||
* glplpx16.c
|
||||
New version of the routine lpx_write_pb was added. Thanks to
|
||||
Oscar Gustafsson <oscarg@isy.liu.se> for the contribution.
|
||||
* glpspx.h, glpspx03.c, glpapi06.c
|
||||
The primal simplex solver (spx_prim_opt, spx_prim_feas) was
|
||||
replaced by a new implementation (spx_primal), which currently
|
||||
provides the same features as the old version.
|
||||
* glpmpl01.c, glpmpl03.c
|
||||
Some changes were made in the MathProg translator to allow <,
|
||||
<=, >=, and > on comparing symbolic values. Thanks to Heinrich
|
||||
Schuchardt <heinrich.schuchardt@gmx.de> for patches.
|
||||
* glplpx10.c
|
||||
Internal routine set_d_eps in the exact LP solver was changed
|
||||
to prevent approximation errors in case of integral data.
|
||||
Thanks to Markus Pilz <pilz@cs.uni-bonn.de> for bug report.
|
||||
* configure.ac
|
||||
The configure script was changed to disable optional features
|
||||
by default. For details see file INSTALL.
|
||||
* glpipp02.c
|
||||
A bug was fixed in the internal routine reduce_bounds. Thanks
|
||||
to Anne-Laurence Putz <anne-laurence.putz@eurodecision.com> for
|
||||
the bug report.
|
||||
* glpapi01.c
|
||||
New API routine glp_erase_prob was added.
|
||||
* glpapi13.c
|
||||
New API routines glp_read_mps and glp_write_mps were added.
|
||||
They replace API routines lpx_read_mps, lpx_read_freemps,
|
||||
lpx_write_mps, and lpx_write_freemps, which are deprecated.
|
||||
* glpapi14.c
|
||||
New API routines glp_read_lp and glp_write_lp were added. They
|
||||
replace API routines lpx_read_cpxlp and lpx_write_cpxlp, which
|
||||
are deprecated.
|
||||
* glpsql.c
|
||||
Minor bug was fixed. Thanks to Xypron <xypron.glpk@gmx.de> for
|
||||
the bug report.
|
||||
* Mon Aug 18 2008 pgajdos@suse.cz
|
||||
- fixed glpk.pdf and gmpl.pdf build [bnc#417864]
|
||||
* Thu Jul 03 2008 pgajdos@suse.cz
|
||||
- updated to 4.28:
|
||||
* Three wrapper routines xdlopen, xdlsym, and xdlclose, which
|
||||
provide the shared library support, were added.
|
||||
* A static linking to iODBC and MySQL libraries used in the
|
||||
MathProg table drivers was replaced by a dynamic linking to
|
||||
corresponding shared libraries.
|
||||
* Compressed data file support was added.
|
||||
* Command-line interface routines were added.
|
||||
* bug fixes
|
||||
* Mon May 19 2008 pgajdos@suse.cz
|
||||
- sort_pool() defined as void [bnc#319454]
|
||||
(void-function.patch)
|
||||
* Mon Apr 07 2008 pgajdos@suse.cz
|
||||
- fixed BuildRequires
|
||||
* Thu Mar 27 2008 pgajdos@suse.cz
|
||||
- initial version, moved from OBS (project home:akos_ladanyi)
|
Loading…
Reference in New Issue
Block a user