From df5e65db1f2f4d22b692c8521ea46ba1b502df2c Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 17 2013 13:19:30 +0000 Subject: import liboil-0.3.16-8.el7.src.rpm --- diff --git a/.liboil.metadata b/.liboil.metadata new file mode 100644 index 0000000..d5befa4 --- /dev/null +++ b/.liboil.metadata @@ -0,0 +1 @@ +0d6530ccb22d805c5209a185a94b575111ec34f3 SOURCES/liboil-0.3.16.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/liboil-0.3.13-disable-ppc64-opts.patch b/SOURCES/liboil-0.3.13-disable-ppc64-opts.patch new file mode 100644 index 0000000..9e0cdc6 --- /dev/null +++ b/SOURCES/liboil-0.3.13-disable-ppc64-opts.patch @@ -0,0 +1,29 @@ +--- configure.old 2008-03-12 17:30:29.000000000 +0000 ++++ configure 2008-03-12 17:34:06.000000000 +0000 +@@ -10534,7 +10534,7 @@ cat >>confdefs.h <<\_ACEOF + _ACEOF + + ;; +- xpowerpc|xppc|xpowerpc64|xppc64) ++ xpowerpc|xppc) + HAVE_POWERPC=yes + + cat >>confdefs.h <<\_ACEOF +@@ -10631,7 +10631,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then +- flag_ok=yes ++ flag_ok=no + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 +@@ -10641,7 +10641,7 @@ fi + + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +- if test "X$flag_ok" = Xyes ; then ++ if test "X$flag_ok" = Xyes -a "X$HAVE_POWERPC" = "Xyes" ; then + HAVE_GCC_ASM_POWERPC_FPU=yes + true + else diff --git a/SPECS/liboil.spec b/SPECS/liboil.spec new file mode 100644 index 0000000..e6018cf --- /dev/null +++ b/SPECS/liboil.spec @@ -0,0 +1,255 @@ +Summary: Library of Optimized Inner Loops, CPU optimized functions +Name: liboil +Version: 0.3.16 +Release: 8%{?dist} +# See COPYING which details everything, various BSD licenses apply +License: BSD +Group: System Environment/Libraries +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 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: glib2-devel, pkgconfig + +%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} +Group: Development/Libraries +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 +# 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 + + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING BUG-REPORTING NEWS README +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%doc HACKING +%{_bindir}/oil-bugreport +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%doc %{_datadir}/gtk-doc/html/%{name}/ + + +%changelog +* 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. +