Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32
mingw32-ampl-mp
mingw32-ampl-mp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-ampl-mp.spec of Package mingw32-ampl-mp
# # spec file for package mingw32-ampl-mp # # Copyright (c) 2015 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/ # %define _basename ampl-mp Name: mingw32-%{_basename} Version: 2.0.1 Release: 0 #!BuildIgnore: post-build-checks Summary: An open-source library for mathematical programming License: MIT Group: Development/Libraries/C and C++ Url: https://github.com/ampl/mp Source0: https://github.com/ampl/mp/archive/%{version}.tar.gz Patch0: mp-2.0.1-matherr.patch Patch1: mp-2.0.1-gcc6.patch BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem %_mingw32_package_header_debug BuildArch: noarch %description An open-source library for mathematical programming. Features * Reusable high-performance .nl reader * Efficient type-safe C++ API for connecting solvers to AMPL and other systems: source * Interfaces to solvers supporting AMPL extensions for logic and constraint programming: * IBM ILOG CPLEX and CPLEX CP Optimizer (ilogcp) * Gecode * JaCoP * Interfaces to the following solvers: * LocalSolver * Sulum * Interfaces to other solvers via AMPL Solver Library * Cross-platform build support with CMake and continuous integration systems. This includes third-party solvers and libraries (COIN-OR solvers with CMake support are available in the ampl/coin repository). * AMPLGSL, an AMPL function library providing access to the GNU Scientific Library (GSL) functions. See the AMPLGSL documentation. * Database support on Linux and MacOS X. See Database and spreadsheet connection guide. * SMPSWriter, a converter from deterministic equivalent of a two-stage stochastic programming (SP) problem written in AMPL to an SP problem in SMPS format. %package devel Summary: An open-source library for mathematical programming Group: Development/Libraries/C and C++ %description devel An open-source library for mathematical programming. Features * Reusable high-performance .nl reader * Efficient type-safe C++ API for connecting solvers to AMPL and other systems: source * Interfaces to solvers supporting AMPL extensions for logic and constraint programming: * IBM ILOG CPLEX and CPLEX CP Optimizer (ilogcp) * Gecode * JaCoP * Interfaces to the following solvers: * LocalSolver * Sulum * Interfaces to other solvers via AMPL Solver Library * Cross-platform build support with CMake and continuous integration systems. This includes third-party solvers and libraries (COIN-OR solvers with CMake support are available in the ampl/coin repository). * AMPLGSL, an AMPL function library providing access to the GNU Scientific Library (GSL) functions. See the AMPLGSL documentation. * Database support on Linux and MacOS X. See Database and spreadsheet connection guide. * SMPSWriter, a converter from deterministic equivalent of a two-stage stochastic programming (SP) problem written in AMPL to an SP problem in SMPS format. %_mingw32_debug_package %prep %setup -q -n mp-%{version} %patch -P 0 -p1 %patch -P 1 -p1 %build %{_mingw32_cmake} -DCMAKE_SYSTEM_PROCESSOR=x86 \ -DHAVE_ACCESS_DRIVER_EXITCODE=0 \ -DHAVE_ACCESS_DRIVER_EXITCODE__TRYRUN_OUTPUT= \ -DHAVE_EXCEL_DRIVER_EXITCODE=0 \ -DHAVE_EXCEL_DRIVER_EXITCODE__TRYRUN_OUTPUT= \ -DHAVE_ODBC_TEXT_DRIVER_EXITCODE=0 \ -DHAVE_ODBC_TEXT_DRIVER_EXITCODE__TRYRUN_OUTPUT= %{_mingw32_cmake_build} %install %{_mingw32_cmake_install} rm %{buildroot}%{_mingw32_libdir}/libasl.a %files %defattr(-,root,root,-) %{_mingw32_bindir}/tableproxy*.exe %{_mingw32_bindir}/libasl.dll %{_mingw32_bindir}/libmp.dll %{_mingw32_bindir}/ampltabl.dll %{_mingw32_bindir}/cp.dll %doc %{_mingw32_prefix}/share/mp/LICENSE.rst %files devel %defattr(-,root,root,-) %{_mingw32_libdir}/libasl.dll.a %{_mingw32_libdir}/libmp.dll.a %{_mingw32_includedir}/asl/*.h %{_mingw32_includedir}/asl/*.hd %{_mingw32_includedir}/mp/*.h %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