rpms/glpk/devel glpk.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Tue Aug 9 15:07:36 UTC 2005


Author: qspencer

Update of /cvs/extras/rpms/glpk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31086/devel

Modified Files:
	.cvsignore sources 
Added Files:
	glpk.spec 
Log Message:
auto-import glpk-4.8-1 on branch devel from glpk-4.8-1.src.rpm


--- NEW FILE glpk.spec ---
Name:           glpk
Version:        4.8
Release:        1
Summary:        GNU Linear Programming Kit

Group:          System Environment/Libraries
License:        GPL
URL:            http://www.gnu.org/software/glpk/glpk.html
Source0:        ftp://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%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
Group:          Development/Libraries

%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
Group:          Development/Libraries
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).


%prep
%setup -q

%build
%configure
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
## 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


### This section is for future use when shared libraries are supported.
#%files
#%defattr(-,root,root)
#%doc AUTHORS ChangeLog COPYING NEWS README
#%{_libdir}/*.so*

%files devel
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README doc
%{_includedir}/glpk
%{_libdir}/*.a

%files utils
%defattr(-,root,root)
%doc COPYING examples
%{_bindir}/*

%changelog
* Fri Jul 22 2005 Quentin Spencer <qspencer at users.sf.net> 4.8-1
- First version.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/glpk/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Aug 2005 15:04:35 -0000	1.1
+++ .cvsignore	9 Aug 2005 15:07:34 -0000	1.2
@@ -0,0 +1 @@
+glpk-4.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/glpk/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Aug 2005 15:04:35 -0000	1.1
+++ sources	9 Aug 2005 15:07:34 -0000	1.2
@@ -0,0 +1 @@
+ec4df7a56a4ed98369c9f0bc7c82322b  glpk-4.8.tar.gz




More information about the fedora-extras-commits mailing list