lemon.spec.in
author hegyi
Thu, 28 Jul 2005 15:54:53 +0000
changeset 1600 c421cc1b70ed
parent 1483 e427615afb48
child 1671 3c82a0d9e0e7
permissions -rw-r--r--
There is no need for these furthermore.
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
ladanyi@1483
    23
%configure
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@1483
    42
%doc %{_datadir}/doc/%{name}-%{version}
ladanyi@1483
    43
%doc AUTHORS COPYING LICENSE NEWS README