123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- Name: glpk
- Version: 4.43
- Release: 1%{?_dist_release}
- Summary: GNU Linear Programming Kit
- Summary(ja): GNU 線形計画法キット
- Group: System Environment/Libraries
- License: GPLv3
- URL: http://www.gnu.org/software/glpk/glpk.html
- Source0: ftp://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gmp-devel
- BuildRequires: zlib-devel
- %description
- The GLPK (GNU Linear Programming Kit) package is intended for solving
- large-scale linear programming (LP), mixed integer programming (MIP),
- and other related problems. It is a set of routines written in ANSI C
- and organized in the form of a callable library.
- GLPK supports the GNU MathProg language, which is a subset of the AMPL
- language.
- The GLPK package includes the following main components:
- * Revised simplex method.
- * Primal-dual interior point method.
- * Branch-and-bound method.
- * Translator for GNU MathProg.
- * Application program interface (API).
- * Stand-alone LP/MIP solver.
- %package devel
- Summary: Development headers and files for GLPK
- Summary(ja): GLPK の開発用ファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: gmp-devel
- %description devel
- The glpk-devel package contains libraries and headers for developing
- applications which use GLPK (GNU Linear Programming Kit).
- %package utils
- Summary: GLPK-related utilities and examples
- Summary(ja): GLPK に関連するユーティリティとサンプル集
- Group: Applications/Engineering
- Requires: %{name} = %{version}-%{release}
- %description utils
- The glpk-utils package contains the standalone solver programs glpksol
- and tspsol that use GLPK (GNU Linear Programming Kit).
- %package static
- Summary: Static version of GLPK libraries
- Group: Development/Libraries
- Requires: %{name}-devel = %{version}-%{release}
- %description static
- The glpk-static package contains the statically linkable version of
- the GLPK (GNU Linear Programming Kit) libraries.
- %prep
- %setup -q
- %build
- %configure --enable-dl --with-gmp --with-zlib
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install prefix=$RPM_BUILD_ROOT%{_prefix} \
- bindir=$RPM_BUILD_ROOT%{_bindir} libdir=$RPM_BUILD_ROOT%{_libdir} \
- includedir=$RPM_BUILD_ROOT%{_includedir}/%{name}
- rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
- ## Clean up directories that are included in docs
- make clean
- rm -Rf examples/.deps examples/Makefile* doc/*.dvi doc/*.latex
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %doc AUTHORS ChangeLog COPYING NEWS README doc
- %{_libdir}/*.so.*
- %files devel
- %defattr(-,root,root)
- %doc AUTHORS ChangeLog COPYING NEWS README doc
- %{_includedir}/glpk
- %{_libdir}/*.so
- #exclude %{_libdir}/*.la
- %files utils
- %defattr(-,root,root)
- %doc COPYING examples
- %{_bindir}/*
- %files static
- %defattr(-,root,root)
- %{_libdir}/*.a
- %changelog
- * Sat Apr 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.43-1
- - new upstream release
- - built with new toolchain
- - added static sub-package
- * Wed Apr 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.37-1
- - new upstream release
- - added --with-gmp and --with-zlib
- - built with libtool-2.2.6a
- - removed static library
- - added Japanese summary
- * Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.28-1
- - new upstream release
- * Wed Jan 02 2008 NAKAMURA Kenta <kenta@vinelinux.org> 4.24-1vl1
- - New release.
- * Wed Aug 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.20-1vl3
- - rebuilt for VineSeed
- * Wed Aug 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.20-1vl2
- - added BuildRequires: gmp-devel
- * Mon Aug 6 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.20-1vl1
- - initial build for Vine
- * Fri Jul 27 2007 Quentin Spencer <qspencer@users.sf.net> 4.20-1
- - New release.
- - Split static libs into separate package.
- * Thu Jun 28 2007 Quentin Spencer <qspencer@users.sf.net> 4.18-1
- - New release.
- * Wed Mar 28 2007 Quentin Spencer <qspencer@users.sf.net> 4.15-1
- - New release. Shared libraries are now supported.
- * Tue Dec 12 2006 Quentin Spencer <qspencer@users.sf.net> 4.13-1
- - New release.
- * Tue Aug 29 2006 Quentin Spencer <qspencer@users.sf.net> 4.11-2
- - Rebuild for FC6.
- * Tue Jul 25 2006 Quentin Spencer <qspencer@users.sf.net> 4.11-1
- - New release.
- * Fri May 12 2006 Quentin Spencer <qspencer@users.sf.net> 4.10-1
- - New release.
- * Tue Feb 14 2006 Quentin Spencer <qspencer@users.sf.net> 4.9-2
- - Add dist tag
- * Tue Feb 14 2006 Quentin Spencer <qspencer@users.sf.net> 4.9-1
- - New release.
- * Tue Aug 09 2005 Quentin Spencer <qspencer@users.sf.net> 4.8-3
- - Remove utils dependency on base package, since it doesn't exist until
- shared libraries are enabled.
- * Tue Aug 09 2005 Quentin Spencer <qspencer@users.sf.net> 4.8-2
- - Add -fPIC to compile flags.
- * Fri Jul 22 2005 Quentin Spencer <qspencer@users.sf.net> 4.8-1
- - First version.
|