lemon.spec.in
author deba
Mon, 07 May 2007 18:19:55 +0000
changeset 2441 d8d6ab871608
parent 2237 5674a5983e1e
permissions -rw-r--r--
Conformity to new GLPK interface
Hacking Mip without integer variables
     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
    10 Requires: glpk
    11 BuildRequires: glpk-devel
    12 Provides: lemon = @PACKAGE_VERSION@
    13 Provides: lemon-devel = @PACKAGE_VERSION@
    14 
    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
    26 %configure --with-glpk --without-cplex
    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
    45 %doc %{_datadir}/doc/%{name}
    46 %doc AUTHORS COPYING LICENSE NEWS README