COIN-OR::LEMON - Graph Library

source: lemon-0.x/lemon.spec.in @ 2316:c0fae4bbaa5c

Last change on this file since 2316:c0fae4bbaa5c was 2241:37e0966e43b6, checked in by Alpar Juttner, 13 years ago

Improve build environment and scripts

File size: 1004 bytes
Line 
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
10Requires: glpk
11BuildRequires: glpk-devel
12Provides: lemon = @PACKAGE_VERSION@
13Provides: lemon-devel = @PACKAGE_VERSION@
14
15
16%description
17LEMON stands for Library of Efficient Models and
18Optimization in Networks. It is a C++ template
19library aimed at combinatorial optimization tasks,
20especially those working with graphs and networks.
21
22%prep
23%setup -q
24
25%build
26%configure --with-glpk --without-cplex
27make
28
29%install
30rm -rf $RPM_BUILD_ROOT
31make DESTDIR=$RPM_BUILD_ROOT install
32
33%clean
34rm -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
45%doc %{_datadir}/doc/%{name}
46%doc AUTHORS COPYING LICENSE NEWS README
Note: See TracBrowser for help on using the repository browser.