|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: lpsolve
|
|
|
|
|
Summary: A Mixed Integer Linear Programming (MILP) solver
|
|
|
|
|
Version: 5.5.0.13
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 5.5.0.14
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Source: http://downloads.sourceforge.net/lpsolve/lp_solve_%{version}_source.tar.gz
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://sourceforge.net/projects/lpsolve
|
|
|
|
@ -34,7 +34,7 @@ sed -i -e 's|-fpic|-fPIC|g' lpsolve55/ccc
|
|
|
|
|
%build
|
|
|
|
|
cd lpsolve55
|
|
|
|
|
sh -x ccc
|
|
|
|
|
rm liblpsolve55.a
|
|
|
|
|
rm bin/ux*/liblpsolve55.a
|
|
|
|
|
cd ../lp_solve
|
|
|
|
|
sh -x ccc
|
|
|
|
|
|
|
|
|
@ -42,9 +42,9 @@ sh -x ccc
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
install -d $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}/lpsolve
|
|
|
|
|
install -m 755 \
|
|
|
|
|
lp_solve/lp_solve $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
lp_solve/bin/ux*/lp_solve $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
install -m 755 \
|
|
|
|
|
lpsolve55/liblpsolve55.so $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
lpsolve55/bin/ux*/liblpsolve55.so $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
install -m 644 \
|
|
|
|
|
lp*.h $RPM_BUILD_ROOT%{_includedir}/lpsolve
|
|
|
|
|
|
|
|
|
@ -66,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_includedir}/lpsolve
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 02 2009 Caolán McNamara <caolanm@redhat.com> - 5.5.0.14-1
|
|
|
|
|
- latest version
|
|
|
|
|
|
|
|
|
|
* Fri Jan 02 2009 Dennis Gilmore <dennis@ausil.us> - 5.5.0.13-2
|
|
|
|
|
- use -fPIC on sparc and s390 arches
|
|
|
|
|
|
|
|
|
|