COIN-OR::LEMON - Graph Library

source: lemon-0.x/lemon.spec.in @ 2240:d93c034d3c98

Last change on this file since 2240:d93c034d3c98 was 2237:5674a5983e1e, checked in by Alpar Juttner, 18 years ago

Improve the configuration environment / repository layout:

  • Update README
  • svn-head -> svnhead version tag change (in favor of rpm build)
  • rpmbuild-glpk: a script to build glpk rpm.
File size: 925 bytes
RevLine 
[1483]1Summary: A C++ template library aimed at combinatorial optimization tasks.
2Name: @PACKAGE_TARNAME@
3Version: @PACKAGE_VERSION@
4Release: 1
5License: Boost
6URL: http://lemon.cs.elte.hu
7Source0: %{name}-%{version}.tar.gz
8Group: Development/Libraries
9BuildRoot: %{_tmppath}/%{name}-root
[2207]10Requires: glpk
[2237]11BuildRequires: glpk-devel
[1483]12
13%description
14LEMON stands for Library of Efficient Models and
15Optimization in Networks. It is a C++ template
16library aimed at combinatorial optimization tasks,
17especially those working with graphs and networks.
18
19%prep
20%setup -q
21
22%build
[2138]23%configure --with-glpk --without-cplex
[1483]24make
25
26%install
27rm -rf $RPM_BUILD_ROOT
28make DESTDIR=$RPM_BUILD_ROOT install
29
30%clean
31rm -rf $RPM_BUILD_ROOT
32
33%post -p /sbin/ldconfig
34
35%postun -p /sbin/ldconfig
36
37%files
38%defattr(-,root,root)
39%{_includedir}/%{name}
40%{_libdir}/lib*
41%{_libdir}/pkgconfig/lemon.pc
[1671]42%doc %{_datadir}/doc/%{name}
[1483]43%doc AUTHORS COPYING LICENSE NEWS README
Note: See TracBrowser for help on using the repository browser.