Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
lpsolve
lpsolve.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lpsolve.spec of Package lpsolve
# # spec file for package lpsolve (Version 5.5.0.13) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: lpsolve Summary: A Mixed Integer Linear Programming (MILP) Solver Version: 5.5.0.13 Release: 12 Group: Productivity/Scientific/Math License: LGPLv2.0+ Url: http://sourceforge.net/projects/lpsolve Source: lp_solve_%{version}_source.tar.bz2 Patch0: lpsolve-5.5.0.11-cflags.patch Patch1: lpsolve-pic.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Mixed Integer Linear Programming (MILP) solver lpsolve solves pure linear, (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. %package -n liblpsolve55 License: LGPLv2.0+ Summary: A Mixed Integer Linear Programming (MILP) Solver Library Group: Productivity/Scientific/Math %description -n liblpsolve55 Mixed Integer Linear Programming (MILP) solver library lpsolve solves pure linear, (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. %package devel License: LGPLv2.0+ Requires: liblpsolve55 = %{version}-%{release} Summary: Files for Developing with lpsolve Group: Development/Libraries/C and C++ %description devel Includes and definitions for developing with the lpsolve library. %prep %setup -q -n lp_solve_5.5 %patch0 -p1 -b .cflags.patch %patch -P 1 -p1 %build cd lpsolve55 sh -x ccc rm liblpsolve55.a cd ../lp_solve sh -x ccc %install 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} install -m 755 lpsolve55/liblpsolve55.so $RPM_BUILD_ROOT%{_libdir} install -m 644 lp*.h $RPM_BUILD_ROOT%{_includedir}/lpsolve %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL_README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL-overview.txt %{_bindir}/lp_solve %files -n liblpsolve55 %defattr(-,root,root,-) %doc README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL_LGPL.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL_README.txt ./bfp/bfp_LUSOL/LUSOL/LUSOL-overview.txt %{_libdir}/*.so %files devel %defattr(-,root,root,-) %{_includedir}/lpsolve %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor