2013-11-04 18:54:43 +00:00
|
|
|
%global module Clp
|
|
|
|
|
|
|
|
Name: coin-or-%{module}
|
|
|
|
Group: Applications/Engineering
|
|
|
|
Summary: Coin-or linear programming
|
2016-03-11 18:38:55 +00:00
|
|
|
Version: 1.16.10
|
|
|
|
Release: 1%{?dist}
|
2013-11-04 18:54:43 +00:00
|
|
|
License: EPL
|
|
|
|
URL: http://projects.coin-or.org/%{module}
|
|
|
|
Source0: http://www.coin-or.org/download/pkgsource/%{module}/%{module}-%{version}.tgz
|
|
|
|
BuildRequires: atlas-devel
|
|
|
|
BuildRequires: blas-devel
|
2013-11-04 19:45:13 +00:00
|
|
|
BuildRequires: bzip2-devel
|
2013-11-04 18:54:43 +00:00
|
|
|
BuildRequires: coin-or-CoinUtils-devel
|
|
|
|
BuildRequires: coin-or-Osi-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: glpk-devel
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: lapack-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: readline-devel
|
2013-11-04 19:45:13 +00:00
|
|
|
BuildRequires: zlib-devel
|
2013-11-04 18:54:43 +00:00
|
|
|
|
|
|
|
# Install documentation in standard rpm directory
|
2015-02-09 16:15:09 +00:00
|
|
|
Patch0: %{name}-docdir.patch
|
2013-11-04 18:54:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Clp (Coin-or linear programming) is an open-source linear programming
|
|
|
|
solver written in C++. It is primarily meant to be used as a callable
|
|
|
|
library, but a basic, stand-alone executable version is also available.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: coin-or-CoinUtils-devel
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation files for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains the documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{module}-%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
# Kill rpaths
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2014-03-08 21:01:35 +00:00
|
|
|
make %{?_smp_mflags} all doxydoc
|
2013-11-04 18:54:43 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
cp -a doxydoc/html %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
%check
|
|
|
|
LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
%doc %{_docdir}/%{name}/AUTHORS
|
|
|
|
%doc %{_docdir}/%{name}/clp_addlibs.txt
|
|
|
|
%doc %{_docdir}/%{name}/LICENSE
|
|
|
|
%doc %{_docdir}/%{name}/README
|
|
|
|
%{_bindir}/clp
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/coin/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc %{_docdir}/%{name}/html
|
|
|
|
|
|
|
|
%changelog
|
2016-03-11 18:38:55 +00:00
|
|
|
* Fri Mar 11 2016 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.10-1
|
|
|
|
- Update to latest upstream release (#1308278)
|
|
|
|
|
2016-02-03 17:54:28 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-10-11 18:41:31 +00:00
|
|
|
* Sun Oct 11 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.9-1
|
|
|
|
- Update to latest upstream release (#1270497)
|
|
|
|
|
2015-09-25 22:53:16 +00:00
|
|
|
* Fri Sep 25 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.8-1
|
|
|
|
- Update to latest upstream release (#1257923)
|
|
|
|
- Remove no longer needed patch to prevent coin-or-OS crash in %%check
|
|
|
|
|
2015-06-23 01:37:34 +00:00
|
|
|
* Mon Jun 22 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.6-5
|
|
|
|
- Correct crash on coin-or-OS check
|
|
|
|
|
2015-06-20 19:30:54 +00:00
|
|
|
* Sat Jun 20 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.6-4
|
|
|
|
- Bump release.
|
|
|
|
|
2015-06-20 17:49:35 +00:00
|
|
|
* Sat Jun 20 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.6-3
|
|
|
|
- Full rebuild or coin-or stack.
|
|
|
|
|
2015-06-17 02:59:08 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-12 16:09:14 +00:00
|
|
|
* Sun Apr 12 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.6-1
|
|
|
|
- Update to latest upstream release (#1201068)
|
|
|
|
|
2015-02-21 19:54:48 +00:00
|
|
|
* Sat Feb 21 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.3-2
|
|
|
|
- Rebuild to ensure using latest C++ abi changes.
|
|
|
|
|
2015-02-09 16:15:09 +00:00
|
|
|
* Mon Feb 9 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.3-1
|
|
|
|
- Update to latest upstream release (#1190729).
|
|
|
|
|
2015-02-09 13:27:21 +00:00
|
|
|
* Sat Feb 07 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.16.1-1
|
|
|
|
- Update to latest upstream release (#1159475).
|
|
|
|
|
2014-08-31 17:23:21 +00:00
|
|
|
* Sun Aug 31 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.15.10-2
|
|
|
|
- Rebuild to ensure packages are built in proper order.
|
|
|
|
|
2014-08-30 19:48:03 +00:00
|
|
|
* Sat Aug 30 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.15.10-1
|
|
|
|
- Update to latest upstream release (#1133195#c2).
|
|
|
|
|
2014-08-16 00:48:24 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-16 15:43:13 +00:00
|
|
|
* Wed Jul 16 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.15.7-1
|
|
|
|
- Update to latest upstream release (#1089923).
|
|
|
|
|
2014-06-07 05:23:31 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-11-04 18:54:43 +00:00
|
|
|
* Mon Nov 4 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.15.3-3
|
|
|
|
- Correct source url path (#894587#c7).
|
|
|
|
- Add coin-or-CoinUtils-devel requires to the devel package (#894587#c7).
|
|
|
|
|
|
|
|
* Fri Nov 1 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.15.3-2
|
|
|
|
- Use proper _smp_flags macro (#894586#c6).
|
|
|
|
|
|
|
|
* Fri Nov 1 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.15.3-1
|
|
|
|
- Update to latest upstream release.
|
|
|
|
|
|
|
|
* Mon Jan 14 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.14.8-1
|
|
|
|
- Update to latest upstream release.
|
|
|
|
|
|
|
|
* Sat Jan 12 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.14.7-3
|
|
|
|
- Rename repackaged tarball.
|
|
|
|
|
|
|
|
* Sun Nov 18 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.14.7-2
|
|
|
|
- Rename package to coin-or-Clp.
|
|
|
|
- Do not package Thirdy party data or data without clean license.
|
|
|
|
|
|
|
|
* Thu Sep 27 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 1.14.7-1
|
|
|
|
- Initial coinor-Clp spec.
|