Summary: Library of Optimized Inner Loops, CPU optimized functions Name: liboil Version: 0.3.16 Release: 28%{?dist} # See COPYING which details everything, various BSD licenses apply License: BSD URL: http://liboil.freedesktop.org/ Source: http://liboil.freedesktop.org/download/%{name}-%{version}.tar.gz # https://bugzilla.redhat.com/show_bug.cgi?id=435771 Patch4: liboil-0.3.13-disable-ppc64-opts.patch BuildRequires: gcc BuildRequires: glib2-devel, pkgconfig BuildRequires: make %description Liboil is a library of simple functions that are optimized for various CPUs. These functions are generally loops implementing simple algorithms, such as converting an array of N integers to floating-poing numbers or multiplying and summing an array of N numbers. Clearly such functions are candidates for significant optimization using various techniques, especially by using extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.). %package devel Summary: Development files and static library for %{name} Requires: %{name} = %{version}-%{release} Requires: pkgconfig, gtk-doc %description devel Liboil is a library of simple functions that are optimized for various CPUs. These functions are generally loops implementing simple algorithms, such as converting an array of N integers to floating-poing numbers or multiplying and summing an array of N numbers. Clearly such functions are candidates for significant optimization using various techniques, especially by using extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.). %prep %setup -q %patch4 -p0 -b .disable-ppc64-opts %build # configure tests try to compile code containing ASMs to a .o file # In an LTO world, that always works as compilation does not happen until # link time. As a result we get the wrong results from configure. # This can be fixed by using -ffat-lto-objects # -ffat-lto-objects forces compilation even with LTO. It is the default # for F33, but not expected to be enabled by default for F34 %define _lto_cflags -flto=auto -ffat-lto-objects %configure # Remove standard rpath from oil-bugreport 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 make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.a %ldconfig_post %ldconfig_postun %files %doc AUTHORS COPYING BUG-REPORTING NEWS README %{_libdir}/*.so.* %files devel %doc HACKING %{_bindir}/oil-bugreport %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %doc %{_datadir}/gtk-doc/html/%{name}/ %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.3.16-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.3.16-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.3.16-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.16-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Aug 21 2020 Jeff Law - 0.3.16-24 - Re-enable LTO * Tue Jul 28 2020 Fedora Release Engineering - 0.3.16-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 14 2020 Jeff Law - 0.3.16-22 - Disable LTO * Wed Jan 29 2020 Fedora Release Engineering - 0.3.16-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.3.16-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.3.16-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.3.16-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.3.16-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.3.16-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.3.16-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.3.16-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.3.16-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.3.16-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.3.16-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.3.16-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.3.16-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.3.16-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.3.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.3.16-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.3.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 0.3.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jun 10 2009 Bastien Nocera 0.3.16-3 - Fix ordering of the files members * Wed Jun 10 2009 Bastien Nocera 0.3.16-2 - Update with comments from merge review (#226036) * Thu Mar 26 2009 - Behdad Esfahbod - 0.3.16-1 - Update to 0.3.16 - Remove upstreamed patches - Resolves #489861 * Wed Feb 25 2009 Fedora Release Engineering - 0.3.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 11 2008 Caolán McNamara - 0.3.14-2 - rebuild to get provides pkgconfig(liboil-0.3) * Mon Apr 07 2008 Colin Walters - 0.3.14-1 - New upstream version - Drop upstreamed liboil-0.3.13-better-altivec-detect.patch - Drop upstreamed clobber-ecx.patch * Wed Mar 12 2008 - Bastien Nocera - 0.3.13-6 - Disable PPC64 optimisations as rgb2bgr_ppc() crashes on 64-bit * Tue Mar 11 2008 - Bastien Nocera - 0.3.13-5 - Detect Altivec using /proc instead of causing a SIGILL fault * Mon Mar 10 2008 - Bastien Nocera - 0.3.13-4 - Try disabling Altivec for now * Tue Feb 26 2008 Matthias Clasen - 0.3.13-3 - Use the upstream fix instead * Mon Feb 25 2008 Matthias Clasen - 0.3.13-2 - Work around a segfault by compiling the offending file with -O0 for now * Fri Feb 22 2008 Matthias Clasen - 0.3.13-1 - Update to 0.3.13 * Mon Feb 18 2008 Fedora Release Engineering - 0.3.12-12 - Autorebuild for GCC 4.3 * Fri Sep 07 2007 - Bastien Nocera - 0.3.12-11 - Revert the previous commit, it's still broken, see: http://koji.fedoraproject.org/koji/taskinfo?taskID=151172 * Thu Aug 30 2007 - David Woodhouse - 0.3.12-10 - Re-enable explicit Altivec but don't let the compiler use it automatically - Start applying the ppc64-configure patch again * Thu Aug 23 2007 - Bastien Nocera - 0.3.12-9 - Disable Altivec so we don't crash on non-Altivec PPCs, see https://bugzilla.redhat.com/bugzilla/process_bug.cgi#c16 * Thu Aug 16 2007 - Bastien Nocera - 0.3.12-8 - And another go at fixing #252179 * Wed Aug 15 2007 - Bastien Nocera - 0.3.12-7 - Add upstream patch to not crash on PPC machines without Altivec (hopefully this time the right one) (#252179) * Tue Aug 14 2007 - Bastien Nocera - 0.3.12-6 - Revert previous change it's not the fix * Tue Aug 14 2007 - Bastien Nocera - 0.3.12-5 - Add upstream patch to not crash on PPC machines without Altivec (#252179) * Sun Aug 5 2007 Matthias Saou 0.3.12-4 - Update License field. - Remove standard gcc-c++ build requirement. - Spec file cleanup, only consistency changes. - Remove standard rpath from oil-bugreport. * Mon Jun 04 2007 - Bastien Nocera - 0.3.12-3 - Add patch from David Woodhouse to allow building on ppc64 systems (#242418) * Mon Jun 4 2007 Christopher Aillon - 0.3.12-2 - ExcludeArch: ppc64 for now as it fails to build (#242418) * Mon Jun 4 2007 Christopher Aillon - 0.3.12-1 - Update to 0.3.12 * Tue Nov 21 2006 Behdad Esfahbod - 0.3.10-1 - Update to 0.3.10 * Mon Oct 23 2006 Matthias Clasen - 0.3.9-1 - Update to 0.3.9 * Wed Jul 12 2006 Jesse Keating - 0.3.8-2.1 - rebuild * Mon Mar 27 2006 Ray Strode 0.3.8-2 - Update to 0.3.8 (bug 186930) * Tue Mar 21 2006 Matthias Saou 0.3.7.1-1 - Update to today's CVS code which should fix the PPC build issue. - Include new oil-bugreport tool in the devel package. * Mon Mar 6 2006 Matthias Saou 0.3.7-3 - FC5 rebuild (well, try at least since PPC fixes are required). * Thu Feb 9 2006 Matthias Saou 0.3.7-2 - Rebuild for new gcc/glibc. * Fri Feb 3 2006 Matthias Saou 0.3.7-1 - Update to 0.3.7. * Wed Dec 14 2005 Matthias Saou 0.3.6-1 - Update to 0.3.6. * Mon Nov 14 2005 Matthias Saou 0.3.5-3 - Sync spec files across branches. - Parallel make seems to have worked for 0.3.5 on devel, but just in case... * Sat Nov 12 2005 Thomas Vander Stichele 0.3.5-2 - Trigger rebuild. * Sat Nov 12 2005 Thomas Vander Stichele 0.3.5-1 - Update to 0.3.5. * Wed Oct 12 2005 Matthias Saou 0.3.3-3 - Add patch to disable unrecognized "-fasm-blocks" gcc option on PPC. * Tue Oct 4 2005 Matthias Saou 0.3.3-2 - Update to 0.3.3. - Update liboil-0.3.3-gccoptfixes.patch. * Thu Jun 16 2005 Thomas Vander Stichele 0.3.2-2 - Disable parallel make * Wed May 25 2005 Matthias Saou 0.3.2-1 - Update to 0.3.2. - Change ldconfig calls to be the program. - Include new gtk-doc files in the devel package. - add dist macro. * Tue May 24 2005 Tom "spot" Callaway - 0.3.0-4 - fix compilation error in FC-4 (bz #158641) - use buildtime exported CFLAGS instead of making up its own * Sun May 22 2005 Jeremy Katz - 0.3.0-3 - rebuild on all arches * Fri Apr 7 2005 Michael Schwendt - rebuilt * Fri Jan 28 2005 Matthias Saou 0.3.0-1 - Update to 0.3.0. * Wed Nov 24 2004 Matthias Saou 0.2.2-1 - Update to 0.2.2. * Thu Nov 4 2004 Matthias Saou 0.2.0-1 - Initial RPM release.