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