|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: lpsolve
|
|
|
|
|
Summary: A Mixed Integer Linear Programming (MILP) solver
|
|
|
|
|
Version: 5.5.0.15
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Source: http://downloads.sourceforge.net/lpsolve/lp_solve_%{version}_source.tar.gz
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://sourceforge.net/projects/lpsolve
|
|
|
|
@ -41,11 +41,11 @@ sh -x ccc
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
install -d $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}/lpsolve
|
|
|
|
|
install -m 755 \
|
|
|
|
|
install -p -m 755 \
|
|
|
|
|
lp_solve/bin/ux*/lp_solve $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
install -m 755 \
|
|
|
|
|
install -p -m 755 \
|
|
|
|
|
lpsolve55/bin/ux*/liblpsolve55.so $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
install -m 644 \
|
|
|
|
|
install -p -m 644 \
|
|
|
|
|
lp*.h $RPM_BUILD_ROOT%{_includedir}/lpsolve
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
@ -66,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_includedir}/lpsolve
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 21 2009 Caolán McNamara <caolanm@redhat.com> - 5.5.0.15-3
|
|
|
|
|
- Preserve timestamps
|
|
|
|
|
|
|
|
|
|
* Thu Nov 05 2009 Caolán McNamara <caolanm@redhat.com> - 5.5.0.15-2
|
|
|
|
|
- upstream source silently changed content
|
|
|
|
|
|
|
|
|
|