0897f5
%global		module		CoinUtils
0897f5
0897f5
Name:		coin-or-%{module}
0897f5
Summary:	Coin-or Utilities
0383a3
Version:	2.10.14
0383a3
Release:	1%{?dist}
0897f5
License:	EPL
0897f5
URL:		http://projects.coin-or.org/%{module}
0897f5
Source0:	http://www.coin-or.org/download/pkgsource/%{module}/%{module}-%{version}.tgz
0897f5
BuildRequires:	bzip2-devel
0897f5
BuildRequires:	coin-or-Sample
0897f5
BuildRequires:	doxygen
30833d
BuildRequires:	gcc, gcc-c++
0897f5
BuildRequires:	pkgconfig
0897f5
BuildRequires:	readline-devel
0897f5
BuildRequires:	zlib-devel
0897f5
0897f5
# Install documentation in standard rpm directory
81c892
Patch0:		%{name}-docdir.patch
0897f5
0897f5
# Correct undefined non weak symbols
81c892
Patch1:		%{name}-underlink.patch
0897f5
59237b
# Correct -Werror=format-security
81c892
Patch2:		%{name}-format.patch
59237b
0897f5
%description
0897f5
CoinUtils (Coin-or Utilities) is an open-source collection of classes
0897f5
and functions that are generally useful to more than one COIN-OR project.
0897f5
These utilities include:
0897f5
0897f5
  * Vector classes
0897f5
  * Matrix classes
0897f5
  * MPS file reading
0897f5
  * Comparing floating point numbers with a tolerance
0897f5
0897f5
%package	devel
0897f5
Summary:	Development files for %{name}
0383a3
Requires:	bzip2-devel%{?_isa}
0383a3
Requires:	coin-or-Sample%{?_isa}
0897f5
Requires:	%{name}%{?_isa} = %{version}-%{release}
afc053
Requires:	pkgconfig(zlib)
0897f5
0897f5
%description    devel
0897f5
The %{name}-devel package contains libraries and header files for
0897f5
developing applications that use %{name}.
0897f5
0897f5
%package	doc
0897f5
Summary:	Documentation files for %{name}
0897f5
Requires:	%{name} = %{version}-%{release}
0897f5
BuildArch:	noarch
0897f5
0897f5
%description	doc
0897f5
This package contains the documentation for %{name}.
0897f5
0897f5
%prep
0383a3
%autosetup -p1 -n %{module}-%{version}
0897f5
0897f5
%build
0897f5
%configure
ace7b1
%make_build all doxydoc
0897f5
0897f5
%install
ace7b1
%make_install
0897f5
rm %{buildroot}%{_libdir}/*.la
0383a3
rm -f %{buildroot}%{_docdir}/%{name}/LICENSE
5a46f3
cp -a doxydoc/html %{buildroot}%{_docdir}/%{name}
0897f5
0897f5
%check
f56704
make test
0897f5
ace7b1
%ldconfig_scriptlets
0897f5
0897f5
%files
0383a3
%{_docdir}/%{name}/
0383a3
%exclude %{_docdir}/%{name}/html
0383a3
%license LICENSE
0897f5
%{_libdir}/*.so.*
0897f5
0897f5
%files		devel
5c2f6a
%{_includedir}/coin
0897f5
%{_libdir}/*.so
0897f5
%{_libdir}/pkgconfig/*
0897f5
0897f5
%files		doc
5a46f3
%doc %{_docdir}/%{name}/html
0897f5
0897f5
%changelog
0383a3
* Thu Nov 01 2018 Antonio Trande <sagitter@fedoraproject.org> - 2.10.14-1
0383a3
- Release 2.10.14
0383a3
5538d2
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.13-9
5538d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5538d2
30833d
* Thu Feb 22 2018 Antonio Trande <sagitter@fedoraproject.org> - 2.10.13-8
30833d
- Add gcc gcc-c++ BR
30833d
ace7b1
* Fri Feb 16 2018 Antonio Trande <sagitter@fedoraproject.org> - 2.10.13-7
ace7b1
- Use %%ldconfig_scriptlets
ace7b1
c6e26d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.13-6
c6e26d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c6e26d
0f4773
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.13-5
0f4773
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0f4773
47201d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.13-4
47201d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
47201d
0ab6dc
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.13-3
0ab6dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
0ab6dc
233266
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.13-2
233266
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
233266
ea7a78
* Fri Mar 11 2016 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.13-1
ea7a78
- Update to latest upstream release (#1301938)
ea7a78
672adc
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.11-2
672adc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
672adc
2be51d
* Sun Oct 11 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.11-1
2be51d
- Update to latest upstream release (#1270498)
2be51d
4fe045
* Fri Sep 25 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.10-1
4fe045
- Update to latest upstream release (#1257924)
4fe045
3298fa
* Sat Jun 20 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.8-3
3298fa
- Full rebuild or coin-or stack.
3298fa
01a6c4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.8-2
01a6c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
01a6c4
0ebd38
* Sun Jun 14 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.8-1
0ebd38
- Update to latest upstream release
0ebd38
6f7e6b
* Sun Apr 12 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.7-1
6f7e6b
- Update to latest upstream release
6f7e6b
afc053
* Thu Apr 09 2015 David Tardon <dtardon@redhat.com> - 2.10.3-4
afc053
- ensure all -devel deps are installed
afc053
4062ae
* Sat Feb 21 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.3-3
4062ae
- Rebuild to ensure using latest C++ abi changes.
4062ae
dac835
* Sat Feb 14 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.3-2
dac835
- Rebuild.
dac835
82b340
* Mon Feb  9 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.3-1
82b340
- Update to latest upstream release.
82b340
81c892
* Sun Feb 08 2015 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.10.2-1
81c892
- Update to latest upstream release (#1157434).
9ee73e
1512d9
* Sat Aug 30 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.9.15-1
1512d9
- Update to latest upstream release (#1089925#c2).
1512d9
8fa1ab
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.12-2
8fa1ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8fa1ab
6b19ce
* Wed Jul 16 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.9.12-1
6b19ce
- Update to latest upstream release (#1089925).
6b19ce
345c29
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.7-4
345c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
345c29
59237b
* Mon Dec 16 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.9.7-3
59237b
- Correct build with -Werror=format-security (#1037021)
59237b
5c2f6a
* Fri Nov  1 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.9.7-2
5c2f6a
- Use proper _smp_flags macro (#894586#c6).
5c2f6a
- Make package owner of /usr/include/coin (#894586#c6)
5c2f6a
f56704
* Fri Nov  1 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.9.7-1
f56704
- Update to latest upstream release.
f56704
5a46f3
* Wed Aug  7 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.9.0-3
5a46f3
- Switch to unversioned docdir (#993706)
5a46f3
cc973e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.0-2
cc973e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cc973e
0897f5
* Sun Apr 14 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.9.0-1
0897f5
- Update to latest upstream release.
0897f5
- Switch to the new upstream tarballs without bundled dependencies.
0897f5
- Split documentation in a new subpackage (#894585#3)
0897f5
- Correct undefined non weak symbols (#894585#3)
0897f5
- Removed unneeded atlas, blas, glpk and lapack build requires (#894585#3)
0897f5
0897f5
* Mon Jan 14 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.8.8-1
0897f5
- Add coin-or-Sample to build requires (#894610#c4).
0897f5
- Update to latest upstream release.
0897f5
0897f5
* Sat Jan 12 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.8.7-3
0897f5
- Rename repackaged tarball.
0897f5
0897f5
* Sun Nov 18 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.8.7-2
0897f5
- Rename package to coin-or-CoinUtils
0897f5
- Do not package Thirdy party data or data without clean license.
0897f5
0897f5
* Wed Sep 26 2012 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 2.8.7-1
0897f5
- Initial coinor-CoinUtils spec.