automatic version update by autodist [release 5.5.2.11-1mamba;Mon Jul 25 2022]

This commit is contained in:
Automatic Build System 2024-01-06 04:59:35 +01:00
parent 92beba4115
commit 0b32d67462

View File

@ -1,11 +1,12 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: liblp_solve Name: liblp_solve
Version: 5.5.0.13 Version: 5.5.2.11
Release: 2mamba Release: 1mamba
Summary: a Mixed Integer Linear Programming (MILP) solver Summary: A Mixed Integer Linear Programming (MILP) solver
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://lpsolve.sourceforge.net/ URL: http://lpsolve.sourceforge.net/
Source: http://downloads.sourceforge.net/lpsolve/lp_solve_%{version}_source.tar.gz Source: http://downloads.sourceforge.net/lpsolve/lp_solve_%{version}_source.tar.gz
Patch0: liblp_solve-5.5.0.11.cflags.patch Patch0: liblp_solve-5.5.0.11.cflags.patch
@ -15,7 +16,6 @@ BuildRequires: flex
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Mixed Integer Linear Programming (MILP) solver lp_solve solves pure linear, Mixed Integer Linear Programming (MILP) solver lp_solve solves pure linear,
@ -33,8 +33,7 @@ Mixed Integer Linear Programming (MILP) solver lp_solve solves pure linear,
(mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models.
lp_solve is written in ANSI C and can be compiled on many different platforms lp_solve is written in ANSI C and can be compiled on many different platforms
like Linux and WINDOW like Linux and WINDOW
This package contains header files needed for development.
This package contains header files need for development.
%package static %package static
Group: Development/Libraries Group: Development/Libraries
@ -46,8 +45,7 @@ Mixed Integer Linear Programming (MILP) solver lp_solve solves pure linear,
(mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models.
lp_solve is written in ANSI C and can be compiled on many different platforms lp_solve is written in ANSI C and can be compiled on many different platforms
like Linux and WINDOW like Linux and WINDOW
This package contains static libraries needed for development.
This package contains static libraries need for development.
%package demo %package demo
Group: Development/Tools Group: Development/Tools
@ -59,13 +57,14 @@ Mixed Integer Linear Programming (MILP) solver lp_solve solves pure linear,
(mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models.
lp_solve is written in ANSI C and can be compiled on many different platforms lp_solve is written in ANSI C and can be compiled on many different platforms
like Linux and WINDOW like Linux and WINDOW
This package contains a demo program for %{name}. This package contains a demo program for %{name}.
%prep %debug_package
%prep
%setup -q -n lp_solve_%{majver}
#%patch -p1
%setup -q -n lp_solve_5.5
%patch -p1
%build %build
cd lp_solve cd lp_solve
sh -x ccc sh -x ccc
@ -73,6 +72,7 @@ cd ../demo
sh -x ccc sh -x ccc
cd ../lpsolve55 cd ../lpsolve55
sh -x ccc sh -x ccc
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_bindir}
@ -82,11 +82,11 @@ install -d %{buildroot}%{_includedir}/lpsolve
install -m 755 \ install -m 755 \
demo/demo %{buildroot}%{_bindir} demo/demo %{buildroot}%{_bindir}
install -m 755 \ install -m 755 \
lp_solve/lp_solve %{buildroot}%{_bindir} lp_solve/bin/ux%{__isa_bits}/lp_solve %{buildroot}%{_bindir}
install -m 755 \ install -m 755 \
lpsolve55/liblpsolve55.so %{buildroot}%{_libdir} lpsolve55/bin/ux%{__isa_bits}/liblpsolve55.so %{buildroot}%{_libdir}
install -m 644 \ install -m 644 \
lpsolve55/liblpsolve55.a %{buildroot}%{_libdir} lpsolve55/bin/ux%{__isa_bits}/liblpsolve55.a %{buildroot}%{_libdir}
install -m 644 \ install -m 644 \
lp*.h %{buildroot}%{_includedir}/lpsolve lp*.h %{buildroot}%{_includedir}/lpsolve
@ -101,25 +101,22 @@ install -m 644 \
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/lp_solve %{_bindir}/lp_solve
%{_libdir}/*.so %{_libdir}/*.so
%doc README.txt
%doc ./bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt
%doc ./bfp/bfp_LUSOL/LUSOL/LUSOL_README.txt
%doc ./bfp/bfp_LUSOL/LUSOL/LUSOL-overview.txt
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/lpsolve %dir %{_includedir}/lpsolve
%{_includedir}/lpsolve/*.h %{_includedir}/lpsolve/*.h
%files static
%defattr(-,root,root)
%{_libdir}/*.a %{_libdir}/*.a
%doc README.txt
%files demo %files demo
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/demo %{_bindir}/demo
%changelog %changelog
* Mon Jul 25 2022 Automatic Build System <autodist@mambasoft.it> 5.5.2.11-1mamba
- automatic version update by autodist
* Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 5.5.0.13-2mamba * Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 5.5.0.13-2mamba
- automatic rebuild by autodist - automatic rebuild by autodist