lemon.spec.in
author alpar
Thu, 10 Aug 2006 13:52:56 +0000
changeset 2174 f9e43b5cc617
parent 1925 00b6f685ab8d
child 2207 75a29ac69c19
permissions -rw-r--r--
Some color constants added (BLACK, WHITE, RED etc)
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
alpar@2138
    23
%configure --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@1483
    39
%{_includedir}/%{name}
ladanyi@1483
    40
%{_libdir}/lib*
ladanyi@1483
    41
%{_libdir}/pkgconfig/lemon.pc
ladanyi@1671
    42
%doc %{_datadir}/doc/%{name}
ladanyi@1483
    43
%doc AUTHORS COPYING LICENSE NEWS README