%global module Cgl Name: coin-or-%{module} Summary: Cut Generation Library Version: 0.60.3 Release: 7%{?dist} License: EPL-1.0 URL: https://github.com/coin-or/%{module} Source0: %{url}/archive/releases/%{version}/%{module}-%{version}.tar.gz BuildRequires: coin-or-CoinUtils-doc BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: make BuildRequires: pkgconfig(clp) BuildRequires: pkgconfig(dylp) BuildRequires: pkgconfig(vol) # Install documentation in standard rpm directory Patch0: %{name}-docdir.patch # Fix use of uninitialized variables Patch1: %{name}-uninit.patch %description The COIN-OR Cut Generation Library (Cgl) is a collection of cut generators that can be used with other COIN-OR packages that make use of cuts, such as, among others, the linear solver Clp or the mixed integer linear programming solvers Cbc or BCP. %package devel Summary: Development files for %{name} Requires: coin-or-Osi-devel%{?_isa} 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} Requires: coin-or-CoinUtils-doc Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc This package contains the documentation for %{name}. %prep %autosetup -p1 -n %{module}-releases-%{version} %build %configure # Get rid of undesirable hardcoded rpaths; workaround libtool reordering # -Wl,--as-needed after all the libraries. sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ -e 's|CC="\(g..\)"|CC="\1 -Wl,--as-needed"|' \ -i libtool %make_build all doxydoc %install %make_install rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_docdir}/%{name}/{LICENSE,cgl_addlibs.txt} cp -a doxydoc/{html,*.tag} %{buildroot}%{_docdir}/%{name} %check LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test %ldconfig_scriptlets %files %license LICENSE %dir %{_docdir}/%{name} %{_docdir}/%{name}/AUTHORS %{_docdir}/%{name}/README %{_libdir}/libCgl.so.1 %{_libdir}/libCgl.so.1.* %files devel %{_includedir}/coin/* %{_libdir}/libCgl.so %{_libdir}/pkgconfig/cgl.pc %files doc %{_docdir}/%{name}/html %{_docdir}/%{name}/cgl_doxy.tag %changelog * Wed Jul 20 2022 Fedora Release Engineering - 0.60.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.60.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.60.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 20 2021 Antonio Trande - 0.60.3-4 - Rebuild for MUMPS-5.4.0 * Tue Jan 26 2021 Fedora Release Engineering - 0.60.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.60.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Feb 21 2020 Jerry James - 0.60.3-1 - Version 0.60.3 * Tue Jan 28 2020 Fedora Release Engineering - 0.60.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.60.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 27 2019 Jerry James - 0.60.2-1 - Update to latest upstream release (bz 1461036) - Update project URL - Change License from EPL to EPL-1.0 - Eliminate unnecessary BRs and Rs - Eliminate rpath from the library - Force libtool to not defeat -Wl,--as-needed - Be explicit about library versions as required by latest guidelines - Filter out unnecessary Libs values from pkgconfig files - Package doxygen tag file to enable cross-linking * Thu Jan 31 2019 Fedora Release Engineering - 0.59.9-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jul 31 2018 Florian Weimer - 0.59.9-8 - Rebuild with fixed binutils * Thu Jul 12 2018 Fedora Release Engineering - 0.59.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.59.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.59.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.59.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 15 2017 Fedora Release Engineering - 0.59.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.59.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Mar 11 2016 pcpa - 0.59.9-1 - Update to latest upstream release (#1308282) * Wed Feb 03 2016 Fedora Release Engineering - 0.59.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Sep 25 2015 pcpa - 0.59.7-1 - Update to latest upstream release (#1257927) * Sat Jun 20 2015 pcpa - 0.59.5-4 - Full rebuild of coin-or stack. * Wed Jun 17 2015 Fedora Release Engineering - 0.59.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Apr 12 2015 pcpa - 0.59.5-2 - Rebuild to ensure built after all dependencies available. * Sun Apr 12 2015 pcpa - 0.59.5-1 - Update to latest upstream release (#1227749) * Sun Apr 12 2015 pcpa - 0.59.4-1 - Update to latest upstream release (#1201066) * Sat Feb 21 2015 pcpa - 0.59.1-2 - Rebuild to ensure using latest C++ abi changes. * Sun Feb 8 2015 pcpa - 0.59.1-1 - Update to latest upstream release (#1159474). * Sun Aug 31 2014 pcpa - 0.58.9-2 - Rebuild to ensure packages are built in proper order. * Sat Aug 30 2014 pcpa - 0.58.9-1 - Update to latest upstream release (#1133490#c1). * Sat Aug 16 2014 Fedora Release Engineering - 0.58.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Wed Jul 16 2014 pcpa - 0.58.7-1 - Update to latest upstream release (#1089922). * Sat Jun 07 2014 Fedora Release Engineering - 0.58.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Jan 8 2014 pcpa - 0.58.5-1 - Update to latest upstream release. - Remove "missing" patch applied upstream. * Mon Nov 4 2013 pcpa - 0.58.2-4 - Correct source url path (#894587#c7). - Add coin-or-CoinUtils-devel requires to the devel package (#894587#c7). * Fri Nov 1 2013 pcpa - 0.58.2-3 - Install missing header file required by other coin-or modules. * Fri Nov 1 2013 pcpa - 0.58.2-2 - Use proper _smp_flags macro (#894586#c6). * Fri Nov 1 2013 pcpa - 0.58.2-1 - Update to latest upstream release. * Mon Jan 14 2013 pcpa - 0.57.4-1 - Update to latest upstream release. * Sat Jan 12 2013 pcpa - 0.57.3-3 - Rename repackaged tarball. * Sun Nov 18 2012 pcpa - 0.57.3-2 - Rename package to coin-or-Cgl. - Do not package Thirdy party data or data without clean license. * Thu Sep 27 2012 pcpa - 0.57.3-1 - Initial coinor-Cgl spec.