COIN-OR::LEMON - Graph Library

source: lemon-0.x/lemon.spec.in @ 2568:046c055217f6

Last change on this file since 2568:046c055217f6 was 2241:37e0966e43b6, checked in by Alpar Juttner, 18 years ago

Improve build environment and scripts

File size: 1004 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
[2241]12Provides: lemon = @PACKAGE_VERSION@
13Provides: lemon-devel = @PACKAGE_VERSION@
14
[1483]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
[2138]26%configure --with-glpk --without-cplex
[1483]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
[1671]45%doc %{_datadir}/doc/%{name}
[1483]46%doc AUTHORS COPYING LICENSE NEWS README
Note: See TracBrowser for help on using the repository browser.