author | deba |
Mon, 06 Mar 2006 09:38:19 +0000 | |
changeset 1998 | 2ba916d7aae3 |
parent 1671 | 3c82a0d9e0e7 |
child 2138 | a683f63b54e2 |
permissions | -rw-r--r-- |
ladanyi@1483 | 1 |
Summary: A C++ template library aimed at combinatorial optimization tasks. |
ladanyi@1483 | 2 |
Name: @PACKAGE_TARNAME@ |
ladanyi@1483 | 3 |
Version: @PACKAGE_VERSION@ |
ladanyi@1483 | 4 |
Release: 1 |
ladanyi@1483 | 5 |
License: Boost |
ladanyi@1483 | 6 |
URL: http://lemon.cs.elte.hu |
ladanyi@1483 | 7 |
Source0: %{name}-%{version}.tar.gz |
ladanyi@1483 | 8 |
Group: Development/Libraries |
ladanyi@1483 | 9 |
BuildRoot: %{_tmppath}/%{name}-root |
ladanyi@1495 | 10 |
# Requires: glpk |
ladanyi@1495 | 11 |
# BuildRequires: glpk-devel |
ladanyi@1483 | 12 |
|
ladanyi@1483 | 13 |
%description |
ladanyi@1483 | 14 |
LEMON stands for Library of Efficient Models and |
ladanyi@1483 | 15 |
Optimization in Networks. It is a C++ template |
ladanyi@1483 | 16 |
library aimed at combinatorial optimization tasks, |
ladanyi@1483 | 17 |
especially those working with graphs and networks. |
ladanyi@1483 | 18 |
|
ladanyi@1483 | 19 |
%prep |
ladanyi@1483 | 20 |
%setup -q |
ladanyi@1483 | 21 |
|
ladanyi@1483 | 22 |
%build |
ladanyi@1925 | 23 |
%configure --enable-gui --with-glpk --without-cplex |
ladanyi@1483 | 24 |
make |
ladanyi@1483 | 25 |
|
ladanyi@1483 | 26 |
%install |
ladanyi@1483 | 27 |
rm -rf $RPM_BUILD_ROOT |
ladanyi@1483 | 28 |
make DESTDIR=$RPM_BUILD_ROOT install |
ladanyi@1483 | 29 |
|
ladanyi@1483 | 30 |
%clean |
ladanyi@1483 | 31 |
rm -rf $RPM_BUILD_ROOT |
ladanyi@1483 | 32 |
|
ladanyi@1483 | 33 |
%post -p /sbin/ldconfig |
ladanyi@1483 | 34 |
|
ladanyi@1483 | 35 |
%postun -p /sbin/ldconfig |
ladanyi@1483 | 36 |
|
ladanyi@1483 | 37 |
%files |
ladanyi@1483 | 38 |
%defattr(-,root,root) |
ladanyi@1925 | 39 |
%{_bindir}/glemon |
ladanyi@1483 | 40 |
%{_includedir}/%{name} |
ladanyi@1483 | 41 |
%{_libdir}/lib* |
ladanyi@1483 | 42 |
%{_libdir}/pkgconfig/lemon.pc |
ladanyi@1671 | 43 |
%doc %{_datadir}/doc/%{name} |
ladanyi@1483 | 44 |
%doc AUTHORS COPYING LICENSE NEWS README |