%define libname libglpk Name: glpk Version: 5.0 Release: 2mamba Summary: GNU Linear Programming Kit Group: Applications/Mathematics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnu.org/software/glpk/glpk.html Source: http://ftp.gnu.org/gnu/glpk/glpk-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRequires: ldconfig BuildRequires: libgmp-devel Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} %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 -n %{libname} Group: System/Libraries Summary: Shared libraries for %{name} %description -n %{libname} 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. This package contains the shared libraries for %{name}. %package -n %{libname}-devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} %description -n %{libname}-devel 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. This package contains static libraries and header files needed for development. %debug_package %prep %setup -q %build %configure \ --enable-shared \ --disable-static %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/glpsol #%{_bindir}/tspsol %files -n %{libname} %defattr(-,root,root) %{_libdir}/libglpk.so.* %doc AUTHORS COPYING %files -n %{libname}-devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libglpk.so %doc ChangeLog NEWS README %changelog * Tue Dec 26 2023 Silvan Calarco 5.0-2mamba - rebuilt with debug package and specfile fixes * Thu Dec 17 2020 Automatic Build System 5.0-1mamba - automatic version update by autodist * Mon Feb 19 2018 Automatic Build System 4.65-1mamba - automatic version update by autodist * Sun Dec 17 2017 Automatic Build System 4.64-1mamba - automatic update by autodist * Tue Jul 25 2017 Automatic Build System 4.63-1mamba - automatic version update by autodist * Fri Jun 16 2017 Automatic Build System 4.62-1mamba - automatic version update by autodist * Sun Jan 29 2017 Automatic Build System 4.61-1mamba - automatic version update by autodist * Tue Apr 05 2016 Automatic Build System 4.60-1mamba - automatic version update by autodist * Wed Mar 09 2016 Automatic Build System 4.58-1mamba - automatic version update by autodist * Wed Nov 11 2015 Automatic Build System 4.57-1mamba - automatic version update by autodist * Sat Aug 23 2014 Automatic Build System 4.55-1mamba - automatic update by autodist * Wed Apr 09 2014 Automatic Build System 4.54-1mamba - automatic version update by autodist * Mon Feb 24 2014 Automatic Build System 4.53-1mamba - automatic update by autodist * Mon Aug 26 2013 Automatic Build System 4.52.1-1mamba - automatic update by autodist * Wed Jul 31 2013 Automatic Build System 4.52-1mamba - automatic version update by autodist * Sun Jun 23 2013 Automatic Build System 4.51-1mamba - automatic version update by autodist * Tue May 28 2013 Automatic Build System 4.50-1mamba - automatic version update by autodist * Mon Apr 22 2013 Automatic Build System 4.49-1mamba - automatic version update by autodist * Tue Jan 29 2013 Automatic Build System 4.48-1mamba - automatic version update by autodist * Tue Oct 04 2011 Automatic Build System 4.47-1mamba - automatic version update by autodist * Tue Aug 16 2011 Automatic Build System 4.46-1mamba - automatic version update by autodist * Wed Dec 08 2010 Automatic Build System 4.45-1mamba - automatic update by autodist * Sat Jun 26 2010 Automatic Build System 4.44-1mamba - automatic update by autodist * Sat Apr 17 2010 Automatic Build System 4.43-1mamba - automatic update by autodist * Sat Jan 16 2010 Automatic Build System 4.42-1mamba - automatic update by autodist * Wed Jul 29 2009 Automatic Build System 4.39-1mamba - automatic update by autodist * Sun May 10 2009 Automatic Build System 4.38-1mamba - automatic update by autodist * Sat Apr 04 2009 Silvan Calarco 4.37-1mamba - automatic update by autodist * Mon Mar 02 2009 Silvan Calarco 4.36-1mamba - automatic update by autodist * Sun Jan 04 2009 Silvan Calarco 4.34-1mamba - automatic update by autodist * Tue May 13 2008 Aleph0 4.28-1mamba - update to 4.28 * Mon Feb 25 2008 Aleph0 4.26-1mamba - update to 4.26 * Mon Jan 07 2008 Aleph0 4.25-1mamba - update to 4.25 * Fri Nov 23 2007 Aleph0 4.24-1mamba - update to 4.24 * Thu Sep 20 2007 Aleph0 4.22-1mamba - update to 4.22 * Mon Jul 02 2007 Aleph0 4.18-1mamba - update to 4.18 * Tue Jun 05 2007 Aleph0 4.17-1mamba - update to 4.17 * Mon May 07 2007 Aleph0 4.16-1mamba - update to 4.16 - do not build the static library * Thu Mar 08 2007 Aleph0 4.15-1qilnx - update to version 4.15 by autospec - created the library end devel packages * Thu Nov 09 2006 Davide Madrisan 4.12-1qilnx - update to version 4.12 by autospec * Fri May 12 2006 Davide Madrisan 4.10-1qilnx - package created by autospec