diff -r b9818eea0550 -r e427615afb48 lemon.spec.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lemon.spec.in Tue Jun 14 10:26:37 2005 +0000 @@ -0,0 +1,43 @@ +Summary: A C++ template library aimed at combinatorial optimization tasks. +Name: @PACKAGE_TARNAME@ +Version: @PACKAGE_VERSION@ +Release: 1 +License: Boost +URL: http://lemon.cs.elte.hu +Source0: %{name}-%{version}.tar.gz +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-root +Requires: glpk +BuildRequires: glpk-devel + +%description +LEMON stands for Library of Efficient Models and +Optimization in Networks. It is a C++ template +library aimed at combinatorial optimization tasks, +especially those working with graphs and networks. + +%prep +%setup -q + +%build +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_includedir}/%{name} +%{_libdir}/lib* +%{_libdir}/pkgconfig/lemon.pc +%doc %{_datadir}/doc/%{name}-%{version} +%doc AUTHORS COPYING LICENSE NEWS README