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 |
---|
[2207] | 10 | Requires: glpk |
---|
[2237] | 11 | BuildRequires: glpk-devel |
---|
[2241] | 12 | Provides: lemon = @PACKAGE_VERSION@ |
---|
| 13 | Provides: lemon-devel = @PACKAGE_VERSION@ |
---|
| 14 | |
---|
[1483] | 15 | |
---|
| 16 | %description |
---|
| 17 | LEMON stands for Library of Efficient Models and |
---|
| 18 | Optimization in Networks. It is a C++ template |
---|
| 19 | library aimed at combinatorial optimization tasks, |
---|
| 20 | especially those working with graphs and networks. |
---|
| 21 | |
---|
| 22 | %prep |
---|
| 23 | %setup -q |
---|
| 24 | |
---|
| 25 | %build |
---|
[2138] | 26 | %configure --with-glpk --without-cplex |
---|
[1483] | 27 | make |
---|
| 28 | |
---|
| 29 | %install |
---|
| 30 | rm -rf $RPM_BUILD_ROOT |
---|
| 31 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 32 | |
---|
| 33 | %clean |
---|
| 34 | rm -rf $RPM_BUILD_ROOT |
---|
| 35 | |
---|
| 36 | %post -p /sbin/ldconfig |
---|
| 37 | |
---|
| 38 | %postun -p /sbin/ldconfig |
---|
| 39 | |
---|
| 40 | %files |
---|
| 41 | %defattr(-,root,root) |
---|
| 42 | %{_includedir}/%{name} |
---|
| 43 | %{_libdir}/lib* |
---|
| 44 | %{_libdir}/pkgconfig/lemon.pc |
---|
[1671] | 45 | %doc %{_datadir}/doc/%{name} |
---|
[1483] | 46 | %doc AUTHORS COPYING LICENSE NEWS README |
---|
Note: See
TracBrowser
for help on using the repository browser.