[mingw-liboil: 2/13] initial import

epienbro epienbro at fedoraproject.org
Wed Mar 7 19:42:10 UTC 2012


commit 913cd804e5ff2ddf28caee9ab7907752b6d86efb
Author: Levente Farkas <lfarkas at fedoraproject.org>
Date:   Fri Mar 20 09:13:55 2009 +0000

    initial import

 .cvsignore          |    1 +
 import.log          |    1 +
 mingw32-liboil.spec |  247 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 4 files changed, 250 insertions(+), 0 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..17dd48e 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+liboil-0.3.15.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..5f52a87
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+mingw32-liboil-0_3_15-2:HEAD:mingw32-liboil-0.3.15-2.src.rpm:1237540314
diff --git a/mingw32-liboil.spec b/mingw32-liboil.spec
new file mode 100644
index 0000000..306932e
--- /dev/null
+++ b/mingw32-liboil.spec
@@ -0,0 +1,247 @@
+%define __strip %{_mingw32_strip}
+%define __objdump %{_mingw32_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw32_findrequires}
+%define __find_provides %{_mingw32_findprovides}
+
+Summary: Library of Optimized Inner Loops, CPU optimized functions
+Name: mingw32-liboil
+Version: 0.3.15
+Release: 2%{?dist}
+# See COPYING which details everything, various BSD licenses apply
+License: BSD
+Group: System Environment/Libraries
+URL: http://liboil.freedesktop.org/
+Source: liboil-%{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
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+
+BuildRequires: mingw32-filesystem >= 40
+BuildRequires: mingw32-gcc
+BuildRequires: mingw32-binutils
+BuildRequires: mingw32-glib2
+BuildRequires: pkgconfig
+Requires: 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 liboil
+#Group: Development/Libraries
+#Requires: %{name} = %{version}-%{release}, pkgconfig
+
+#%description devel
+
+%prep
+%setup -q -n liboil-%{version}
+#%patch4 -p0 -b .disable-ppc64-opts
+
+# Disable Altivec, so that liboil doesn't SIGILL on non-Altivec PPCs
+# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=252179#c15
+#sed -i 's/CFLAGS="$CFLAGS "-maltivec""/CFLAGS="$CFLAGS "-fno-tree-vectorize -Wa,-maltivec""/' configure
+#sed -i 's/LIBOIL_CFLAGS -maltivec/LIBOIL_CFLAGS -fno-tree-vectorize -Wa,-maltivec/' configure
+
+
+%build
+%{_mingw32_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
+# multi-jobbed make makes the build fail:
+# ./build_prototypes_doc >liboilfuncs-doc.h
+# /bin/sh: ./build_prototypes_doc: No such file or directory
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# Remove static libraries but DON'T remove *.dll.a files.
+rm $RPM_BUILD_ROOT%{_mingw32_libdir}/liboil-0.3.a
+rm $RPM_BUILD_ROOT%{_mingw32_libdir}/liboil-0.3.la
+
+# Remove manpages which duplicate Fedora native.
+rm -rf $RPM_BUILD_ROOT%{_mingw_mandir} 
+
+# Remove documentation too.
+rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc 
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING BUG-REPORTING NEWS README
+
+#%files devel
+#%defattr(-,root,root,-)
+%{_mingw32_bindir}/oil-bugreport.exe
+%{_mingw32_includedir}/*
+%{_mingw32_bindir}/liboil-0.3*.dll
+%{_mingw32_libdir}/liboil-0.3*.dll.a
+%{_mingw32_libdir}/pkgconfig/liboil-0.3*.pc
+
+
+%changelog
+* Wed Mar 18 2009 Levente Farkas <lfarkas at lfarkas.org> - 0.3.15-2
+- Add new BRs
+
+* Mon Mar 11 2009 Zoltan Seress <gatesofdarkness at gmail.com> - 0.3.15-1
+- Windows cross compilation
+
+* Mon Apr 07 2008 Colin Walters <walters at redhat.com> - 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 <bnocera at redhat.com> - 0.3.13-6
+- Disable PPC64 optimisations as rgb2bgr_ppc() crashes on 64-bit
+
+* Tue Mar 11 2008 - Bastien Nocera <bnocera at redhat.com> - 0.3.13-5
+- Detect Altivec using /proc instead of causing a SIGILL fault
+
+* Mon Mar 10 2008 - Bastien Nocera <bnocera at redhat.com> - 0.3.13-4
+- Try disabling Altivec for now
+
+* Tue Feb 26 2008 Matthias Clasen  <mclasen at redhat.com> - 0.3.13-3
+- Use the upstream fix instead
+
+* Mon Feb 25 2008 Matthias Clasen  <mclasen at redhat.com> - 0.3.13-2
+- Work around a segfault by compiling the offending file with -O0 for now
+
+* Fri Feb 22 2008 Matthias Clasen  <mclasen at redhat.com> - 0.3.13-1
+- Update to 0.3.13
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.3.12-12
+- Autorebuild for GCC 4.3
+
+* Fri Sep 07 2007 - Bastien Nocera <bnocera at redhat.com> - 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 <dwmw2 at infradead.org> - 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 <bnocera at redhat.com> - 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 <bnocera at redhat.com> - 0.3.12-8
+- And another go at fixing #252179
+
+* Wed Aug 15 2007 - Bastien Nocera <bnocera at redhat.com> - 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 <bnocera at redhat.com> - 0.3.12-6
+- Revert previous change it's not the fix
+
+* Tue Aug 14 2007 - Bastien Nocera <bnocera at redhat.com> - 0.3.12-5
+- Add upstream patch to not crash on PPC machines without Altivec
+  (#252179)
+
+* Sun Aug  5 2007 Matthias Saou <http://freshrpms.net/> 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 <bnocera at redhat.com> - 0.3.12-3
+- Add patch from David Woodhouse <dwmw2 at redhat.com> to allow building
+  on ppc64 systems (#242418)
+
+* Mon Jun  4 2007 Christopher Aillon <caillon at redhat.com> - 0.3.12-2
+- ExcludeArch: ppc64 for now as it fails to build (#242418)
+
+* Mon Jun  4 2007 Christopher Aillon <caillon at redhat.com> - 0.3.12-1
+- Update to 0.3.12
+
+* Tue Nov 21 2006 Behdad Esfahbod <besfahbo at redhat.com> - 0.3.10-1
+- Update to 0.3.10
+
+* Mon Oct 23 2006 Matthias Clasen <mclasen at redhat.com> - 0.3.9-1
+- Update to 0.3.9
+
+* Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 0.3.8-2.1
+- rebuild
+
+* Mon Mar 27 2006 Ray Strode <rstrode at redhat.com> 0.3.8-2
+- Update to 0.3.8 (bug 186930)
+
+* Tue Mar 21 2006 Matthias Saou <http://freshrpms.net/> 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 <http://freshrpms.net/> 0.3.7-3
+- FC5 rebuild (well, try at least since PPC fixes are required).
+
+* Thu Feb  9 2006 Matthias Saou <http://freshrpms.net/> 0.3.7-2
+- Rebuild for new gcc/glibc.
+
+* Fri Feb  3 2006 Matthias Saou <http://freshrpms.net/> 0.3.7-1
+- Update to 0.3.7.
+
+* Wed Dec 14 2005 Matthias Saou <http://freshrpms.net/> 0.3.6-1
+- Update to 0.3.6.
+
+* Mon Nov 14 2005 Matthias Saou <http://freshrpms.net/> 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 <thomas at apestaart dot org> 0.3.5-2
+- Trigger rebuild.
+
+* Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org> 0.3.5-1
+- Update to 0.3.5.
+
+* Wed Oct 12 2005 Matthias Saou <http://freshrpms.net/> 0.3.3-3
+- Add patch to disable unrecognized "-fasm-blocks" gcc option on PPC.
+
+* Tue Oct  4 2005 Matthias Saou <http://freshrpms.net/> 0.3.3-2
+- Update to 0.3.3.
+- Update liboil-0.3.3-gccoptfixes.patch.
+
+* Thu Jun 16 2005 Thomas Vander Stichele <thomas at apestaart dot org> 0.3.2-2
+- Disable parallel make
+
+* Wed May 25 2005 Matthias Saou <http://freshrpms.net/> 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 <tcallawa at redhat.com> - 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 <katzj at redhat.com> - 0.3.0-3
+- rebuild on all arches
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
+* Fri Jan 28 2005 Matthias Saou <http://freshrpms.net/> 0.3.0-1
+- Update to 0.3.0.
+
+* Wed Nov 24 2004 Matthias Saou <http://freshrpms.net/> 0.2.2-1
+- Update to 0.2.2.
+
+* Thu Nov  4 2004 Matthias Saou <http://freshrpms.net/> 0.2.0-1
+- Initial RPM release.
+
diff --git a/sources b/sources
index e69de29..c7b73c0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+11dd39b1ca13ce2e0618d4df8303f137  liboil-0.3.15.tar.gz


More information about the scm-commits mailing list