# $Revision: 1.1 $, $Date: 2002/12/08 19:27:31 $ Summary: Library and tool that solves linear programming problem Summary(pl): Biblioteka i narzędzie do rozwiązywania problemu programowania liniowego Name: lp_solve Version: 3.2 Release: 1 License: LGPL Group: Libraries Source0: ftp://ftp.ics.ele.tue.nl/pub/lp_solve/%{name}_%{version}.tar.gz Patch0: %{name}-shared.patch BuildRequires: bison BuildRequires: flex BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Library and tool that solves linear programming problem using Simplex algorithm. %description -l pl Biblioteka i narzędzie do rozwiązywania problemu programowania liniowego przy użyciu algorytmu Simplex. %package devel Summary: liblpk header files Summary(pl): Pliki nagłówkowe biblioteki liblpk Group: Development/Libraries Requires: %{name} = %{version} %description devel liblpk header files. %description devel -l pl Pliki nagłówkowe biblioteki liblpk. %package static Summary: Static liblpk library Summary(pl): Statyczna biblioteka liblpk Group: Development/Libraries Requires: %{name}-devel = %{version} %description static Static liblpk library. %description static -l pl Statyczna biblioteka liblpk. %prep %setup -q -n %{name}_%{version} %patch -p1 %build %{__make} -f Makefile.linux \ CC="%{__cc}" \ OPT="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT %{__make} install -f Makefile.linux \ DESTDIR=$RPM_BUILD_ROOT rm -f lp_examples/*.{out,mps} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc CHANGELOG MIPLIB_RESULTS MPS.description NETLIB_RESULTS README %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/lib*.so.*.* %{_mandir}/man1/* %files devel %defattr(644,root,root,755) %doc HARTMUT_DOCUMENTATION lp_examples %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_includedir}/* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team All persons listed below can be reached at @pld.org.pl $Log: lp_solve.spec,v $ Revision 1.1 2002/12/08 19:27:31 qboosh - new