189f740
%global		with_bundle	0
189f740
%global		module		SYMPHONY
189f740
189f740
Name:		coin-or-%{module}
189f740
Group:		Applications/Engineering
189f740
Summary:	Solver for mixed-integer linear programs
8afd2f7
Version:	5.6.14
8afd2f7
Release:	1%{?dist}
189f740
License:	EPL
189f740
URL:		http://projects.coin-or.org/%{module}
189f740
Source0:	http://www.coin-or.org/download/pkgsource/%{module}/%{module}-%{version}.tgz
189f740
BuildRequires:	atlas-devel
189f740
BuildRequires:	blas-devel
189f740
BuildRequires:	bzip2-devel
189f740
BuildRequires:	coin-or-Cgl-devel
189f740
BuildRequires:	coin-or-Clp-devel
189f740
BuildRequires:	coin-or-CoinUtils-devel
189f740
BuildRequires:	coin-or-Osi-devel
189f740
BuildRequires:	doxygen
189f740
BuildRequires:	glpk-devel
189f740
BuildRequires:	graphviz
189f740
BuildRequires:	lapack-devel
189f740
BuildRequires:	pkgconfig
189f740
BuildRequires:	readline-devel
189f740
BuildRequires:	zlib-devel
189f740
189f740
# Install documentation in standard rpm directory
6a3f22d
Patch0:		%{name}-docdir.patch
189f740
189f740
%description
189f740
SYMPHONY is an open-source solver for mixed-integer linear programs (MILPs)
189f740
written in C. It can be used in three different main modes:
189f740
189f740
  * As a callable library through either the native C interface or through
189f740
    the Osi.
189f740
  * As an interactive solver using a command-line interface.
189f740
  * As a framework to build customized solvers for specific problem classes. 
189f740
189f740
SYMPHONY can be executed in either parallel (distributed or shared memory)
189f740
or sequential modes and has a number of advanced features that make it unique,
189f740
including the ability to
189f740
189f740
  * solve biobjective MILPs,
189f740
  * warm start the solution procedure, and
189f740
  * perform basic sensitivity analyses. 
189f740
189f740
SYMPHONY links to a number of other COIN projects for additional
189f740
functionality, including:
189f740
189f740
   * Clp (the default solver for LP relaxations)
189f740
   * Osi (an interface to alternative solvers for solving LP relaxations)
189f740
   * Cgl (for cut generation)
189f740
   * CoinUtils (for reading in MPS files and various utilities)
189f740
189f740
%package	devel
189f740
Summary:	Development files for %{name}
189f740
Group:		Development/Libraries
189f740
Requires:	coin-or-CoinUtils-devel
189f740
Requires:	%{name}%{?_isa} = %{version}-%{release}
189f740
189f740
%description    devel
189f740
The %{name}-devel package contains libraries and header files for
189f740
developing applications that use %{name}.
189f740
189f740
%prep
189f740
%setup -q -n %{module}-%{version}
189f740
%patch0 -p1
189f740
189f740
%build
189f740
%configure
189f740
# Kill rpaths
189f740
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
189f740
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
189f740
make %{?_smp_mflags} all
189f740
189f740
%install
189f740
make install DESTDIR=%{buildroot}
189f740
rm -f %{buildroot}%{_libdir}/*.la
189f740
189f740
%check
189f740
LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test
189f740
189f740
%post -p /sbin/ldconfig
189f740
189f740
%postun -p /sbin/ldconfig
189f740
189f740
%files
189f740
%doc %{_docdir}/%{name}
189f740
%{_bindir}/symphony
189f740
%{_libdir}/*.so.*
189f740
189f740
%files		devel
189f740
%{_includedir}/coin/*
189f740
%{_libdir}/*.so
189f740
%{_libdir}/pkgconfig/*
189f740
189f740
%changelog
8afd2f7
* Thu Mar 17 2016 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.6.14-1
8afd2f7
- Update to latest upstream release
8afd2f7
9fd017c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.8-5
9fd017c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9fd017c
d37512a
* Sun Jun 21 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.6.8-4
d37512a
- Full rebuild of coin-or stack.
d37512a
3647e34
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.8-3
3647e34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3647e34
7a0c594
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.6.8-2
7a0c594
- Rebuilt for GCC 5 C++11 ABI change
7a0c594
6a3f22d
* Sun Feb 22 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.6.8-1
6a3f22d
- Update to latest upstream release.
6a3f22d
8deedf4
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.7-3
8deedf4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8deedf4
073167d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.7-2
073167d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
073167d
189f740
* Sat Apr 19 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.5.7-1
189f740
- Update to latest upstream release.
189f740
189f740
* Mon Jan 14 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.4.6-1
189f740
- Update to latest upstream release.
189f740
189f740
* Sat Jan 12 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.4.5-3
189f740
- Rename repackaged tarball.
189f740
189f740
* Sun Nov 18 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.4.5-2
189f740
- Rename package to coin-or-SYMPHONY.
189f740
- Do not package Thirdy party data or data without clean license.
189f740
189f740
* Thu Sep 27 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.4.5-1
189f740
- Initial coinor-SYMPHONY spec.