package created using the webbuild interface [release 1.8.0-1mamba;Sun Feb 22 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 21:28:30 +01:00
parent 918e4749f1
commit 494632ca62
2 changed files with 138 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# coinmp
CoinMP is a C-API library that supports most of the functionality of CLP (Coin LP), CBC (Coin Branch-and-Cut), and CGL (Cut Generation Library) projects.

136
coinmp.spec Normal file
View File

@ -0,0 +1,136 @@
Name: coinmp
Version: 1.8.0
Release: 1mamba
Summary: A C-API library that supports most of the functionality of CLP, CBC, and CGL projects
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://projects.coin-or.org/CoinMP
Source: http://www.coin-or.org/download/source/CoinMP/CoinMP-%{version}.tgz
License: Common Public License 1.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatlas-devel
BuildRequires: libblas-devel
BuildRequires: libbzip2-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
CoinMP is a C-API library that supports most of the functionality of CLP (Coin LP), CBC (Coin Branch-and-Cut), and CGL (Cut Generation Library) projects.
%package -n lib%{name}
Group: System/Libraries
Summary: A C-API library that supports most of the functionality of CLP, CBC, and CGL projects
%description -n lib%{name}
CoinMP is a C-API library that supports most of the functionality of CLP (Coin LP), CBC (Coin Branch-and-Cut), and CGL (Cut Generation Library) projects.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n CoinMP-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# FIXME
rm -rf %{buildroot}%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/cbc
%{_bindir}/clp
%dir %{_datadir}/coin
%dir %{_datadir}/coin/Data
%dir %{_datadir}/coin/Data/Sample
%{_datadir}/coin/Data/Sample/*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libCbc.so.*
%{_libdir}/libCbcSolver.so.*
%{_libdir}/libCgl.so.*
%{_libdir}/libClp.so.*
%{_libdir}/libClpSolver.so.*
%{_libdir}/libCoinMP.so.*
%{_libdir}/libCoinUtils.so.*
%{_libdir}/libOsi.so.*
%{_libdir}/libOsiCbc.so.*
%{_libdir}/libOsiClp.so.*
%{_libdir}/libOsiCommonTests.so.*
%doc AUTHORS LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/coin
%{_includedir}/coin/CbcOrClpParam.cpp
%{_includedir}/coin/*.hpp
%{_includedir}/coin/*.h
%{_libdir}/libCbc.la
%{_libdir}/libCbc.so
%{_libdir}/libCbcSolver.la
%{_libdir}/libCbcSolver.so
%{_libdir}/libCgl.la
%{_libdir}/libCgl.so
%{_libdir}/libClp.la
%{_libdir}/libClp.so
%{_libdir}/libClpSolver.la
%{_libdir}/libClpSolver.so
%{_libdir}/libCoinMP.la
%{_libdir}/libCoinMP.so
%{_libdir}/libCoinUtils.la
%{_libdir}/libCoinUtils.so
%{_libdir}/libOsi.la
%{_libdir}/libOsi.so
%{_libdir}/libOsiCbc.la
%{_libdir}/libOsiCbc.so
%{_libdir}/libOsiClp.la
%{_libdir}/libOsiClp.so
%{_libdir}/libOsiCommonTests.la
%{_libdir}/libOsiCommonTests.so
%{_libdir}/pkgconfig/cbc.pc
%{_libdir}/pkgconfig/cgl.pc
%{_libdir}/pkgconfig/clp.pc
%{_libdir}/pkgconfig/coindatasample.pc
%{_libdir}/pkgconfig/coinmp.pc
%{_libdir}/pkgconfig/coinutils.pc
%{_libdir}/pkgconfig/osi-cbc.pc
%{_libdir}/pkgconfig/osi-clp.pc
%{_libdir}/pkgconfig/osi-unittests.pc
%{_libdir}/pkgconfig/osi.pc
%dir %{_datadir}/coin/doc
%{_datadir}/coin/doc/*
%doc README
%changelog
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-1mamba
- package created using the webbuild interface