7caf769
Summary: Library of Optimized Inner Loops, CPU optimized functions
7caf769
Name: liboil
Behdad Esfahbod 652220f
Version: 0.3.16
badc5d4
Release: 5%{?dist}
9896cc8
# See COPYING which details everything, various BSD licenses apply
9896cc8
License: BSD
7caf769
Group: System Environment/Libraries
7caf769
URL: http://liboil.freedesktop.org/
af4f622
Source: http://liboil.freedesktop.org/download/%{name}-%{version}.tar.gz
2c25cf1
5eda557
# https://bugzilla.redhat.com/show_bug.cgi?id=435771
5eda557
Patch4: liboil-0.3.13-disable-ppc64-opts.patch
a0e66e5
7caf769
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
3b8e316
BuildRequires: glib2-devel, pkgconfig
7caf769
7caf769
%description
7caf769
Liboil is a library of simple functions that are optimized for various CPUs.
7caf769
These functions are generally loops implementing simple algorithms, such as
7caf769
converting an array of N integers to floating-poing numbers or multiplying
7caf769
and summing an array of N numbers. Clearly such functions are candidates for
7caf769
significant optimization using various techniques, especially by using
7caf769
extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
7caf769
7caf769
7caf769
%package devel
af4f622
Summary: Development files and static library for %{name}
7caf769
Group: Development/Libraries
af4f622
Requires: %{name} = %{version}-%{release}
af4f622
Requires: pkgconfig, gtk-doc
7caf769
7caf769
%description devel
7caf769
Liboil is a library of simple functions that are optimized for various CPUs.
7caf769
These functions are generally loops implementing simple algorithms, such as
7caf769
converting an array of N integers to floating-poing numbers or multiplying
7caf769
and summing an array of N numbers. Clearly such functions are candidates for
7caf769
significant optimization using various techniques, especially by using
7caf769
extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
7caf769
7caf769
%prep
7caf769
%setup -q
5eda557
%patch4 -p0 -b .disable-ppc64-opts
7caf769
7caf769
%build
44ec535
%configure
9896cc8
# Remove standard rpath from oil-bugreport
9896cc8
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
9896cc8
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
a0e66e5
make %{?_smp_mflags}
7caf769
7caf769
%install
9896cc8
rm -rf %{buildroot}
9896cc8
make install DESTDIR=%{buildroot}
9896cc8
rm -f %{buildroot}%{_libdir}/*.la
9896cc8
rm -f %{buildroot}%{_libdir}/*.a
7caf769
7caf769
7caf769
%clean
9896cc8
rm -rf %{buildroot}
7caf769
7caf769
7caf769
%post -p /sbin/ldconfig
7caf769
7caf769
%postun -p /sbin/ldconfig
7caf769
7caf769
7caf769
%files
9896cc8
%defattr(-,root,root,-)
c78aa1f
%doc AUTHORS COPYING BUG-REPORTING NEWS README
7caf769
%{_libdir}/*.so.*
7caf769
7caf769
%files devel
9896cc8
%defattr(-,root,root,-)
797ec95
%doc HACKING
44ec535
%{_bindir}/oil-bugreport
7caf769
%{_includedir}/*
7caf769
%{_libdir}/*.so
7caf769
%{_libdir}/pkgconfig/*.pc
af4f622
%doc %{_datadir}/gtk-doc/html/%{name}/
7caf769
7caf769
7caf769
%changelog
badc5d4
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.16-5
badc5d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
badc5d4
289904f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.16-4
289904f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
289904f
797ec95
* Wed Jun 10 2009 Bastien Nocera <bnocera@redhat.com> 0.3.16-3
797ec95
- Fix ordering of the files members
797ec95
af4f622
* Wed Jun 10 2009 Bastien Nocera <bnocera@redhat.com> 0.3.16-2
af4f622
- Update with comments from merge review (#226036)
af4f622
Behdad Esfahbod 652220f
* Thu Mar 26 2009 - Behdad Esfahbod <besfahbo@redhat.com> - 0.3.16-1
Behdad Esfahbod 652220f
- Update to 0.3.16
Behdad Esfahbod 652220f
- Remove upstreamed patches
Behdad Esfahbod 652220f
- Resolves #489861
Behdad Esfahbod 652220f
62d07ab
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.14-3
62d07ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
62d07ab
3b8e316
* Thu Dec 11 2008 Caolán McNamara <caolanm@redhat.com> - 0.3.14-2
3b8e316
- rebuild to get provides pkgconfig(liboil-0.3)
3b8e316
c7c4dae
* Mon Apr 07 2008 Colin Walters <walters@redhat.com> - 0.3.14-1
c7c4dae
- New upstream version
c7c4dae
- Drop upstreamed liboil-0.3.13-better-altivec-detect.patch
c7c4dae
- Drop upstreamed clobber-ecx.patch
c7c4dae
5eda557
* Wed Mar 12 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.13-6
5eda557
- Disable PPC64 optimisations as rgb2bgr_ppc() crashes on 64-bit
5eda557
e28dda8
* Tue Mar 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.13-5
e28dda8
- Detect Altivec using /proc instead of causing a SIGILL fault
e28dda8
32baa38
* Mon Mar 10 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.13-4
32baa38
- Try disabling Altivec for now
32baa38
a0e66e5
* Tue Feb 26 2008 Matthias Clasen  <mclasen@redhat.com> - 0.3.13-3
a0e66e5
- Use the upstream fix instead
a0e66e5
5a769e8
* Mon Feb 25 2008 Matthias Clasen  <mclasen@redhat.com> - 0.3.13-2
5a769e8
- Work around a segfault by compiling the offending file with -O0 for now
5a769e8
fafadcd
* Fri Feb 22 2008 Matthias Clasen  <mclasen@redhat.com> - 0.3.13-1
fafadcd
- Update to 0.3.13
fafadcd
64de694
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.12-12
64de694
- Autorebuild for GCC 4.3
64de694
77c7834
* Fri Sep 07 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3.12-11
77c7834
- Revert the previous commit, it's still broken, see:
77c7834
  http://koji.fedoraproject.org/koji/taskinfo?taskID=151172
77c7834
b77022a
* Thu Aug 30 2007 - David Woodhouse <dwmw2@infradead.org> - 0.3.12-10
b77022a
- Re-enable explicit Altivec but don't let the compiler use it automatically
b77022a
- Start applying the ppc64-configure patch again
b77022a
2c25cf1
* Thu Aug 23 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3.12-9
2c25cf1
- Disable Altivec so we don't crash on non-Altivec PPCs, see
2c25cf1
  https://bugzilla.redhat.com/bugzilla/process_bug.cgi#c16
2c25cf1
36b4f87
* Thu Aug 16 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3.12-8
36b4f87
- And another go at fixing #252179
36b4f87
b847277
* Wed Aug 15 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3.12-7
b847277
- Add upstream patch to not crash on PPC machines without Altivec
b847277
  (hopefully this time the right one) (#252179)
b847277
2456bdf
* Tue Aug 14 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3.12-6
2456bdf
- Revert previous change it's not the fix
2456bdf
6149723
* Tue Aug 14 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3.12-5
6149723
- Add upstream patch to not crash on PPC machines without Altivec
6149723
  (#252179)
6149723
9896cc8
* Sun Aug  5 2007 Matthias Saou <http://freshrpms.net/> 0.3.12-4
9896cc8
- Update License field.
9896cc8
- Remove standard gcc-c++ build requirement.
9896cc8
- Spec file cleanup, only consistency changes.
9896cc8
- Remove standard rpath from oil-bugreport.
9896cc8
018501d
* Mon Jun 04 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3.12-3
018501d
- Add patch from David Woodhouse <dwmw2@redhat.com> to allow building
018501d
  on ppc64 systems (#242418)
018501d
0eba079
* Mon Jun  4 2007 Christopher Aillon <caillon@redhat.com> - 0.3.12-2
0eba079
- ExcludeArch: ppc64 for now as it fails to build (#242418)
0eba079
a0d78fb
* Mon Jun  4 2007 Christopher Aillon <caillon@redhat.com> - 0.3.12-1
a0d78fb
- Update to 0.3.12
a0d78fb
besfahbo 8378751
* Tue Nov 21 2006 Behdad Esfahbod <besfahbo@redhat.com> - 0.3.10-1
besfahbo 8378751
- Update to 0.3.10
besfahbo 8378751
90efca4
* Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.3.9-1
90efca4
- Update to 0.3.9
90efca4
e9b4d5f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.3.8-2.1
e9b4d5f
- rebuild
e9b4d5f
44ec535
* Mon Mar 27 2006 Ray Strode <rstrode@redhat.com> 0.3.8-2
44ec535
- Update to 0.3.8 (bug 186930)
44ec535
44ec535
* Tue Mar 21 2006 Matthias Saou <http://freshrpms.net/> 0.3.7.1-1
44ec535
- Update to today's CVS code which should fix the PPC build issue.
44ec535
- Include new oil-bugreport tool in the devel package.
34b04cb
44ec535
* Mon Mar  6 2006 Matthias Saou <http://freshrpms.net/> 0.3.7-3
44ec535
- FC5 rebuild (well, try at least since PPC fixes are required).
95535f5
44ec535
* Thu Feb  9 2006 Matthias Saou <http://freshrpms.net/> 0.3.7-2
44ec535
- Rebuild for new gcc/glibc.
7350752
44ec535
* Fri Feb  3 2006 Matthias Saou <http://freshrpms.net/> 0.3.7-1
44ec535
- Update to 0.3.7.
7caf769
7caf769
* Wed Dec 14 2005 Matthias Saou <http://freshrpms.net/> 0.3.6-1
7caf769
- Update to 0.3.6.
7caf769
7caf769
* Mon Nov 14 2005 Matthias Saou <http://freshrpms.net/> 0.3.5-3
7caf769
- Sync spec files across branches.
7caf769
- Parallel make seems to have worked for 0.3.5 on devel, but just in case...
7caf769
7caf769
* Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org> 0.3.5-2
7caf769
- Trigger rebuild.
7caf769
7caf769
* Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org> 0.3.5-1
7caf769
- Update to 0.3.5.
7caf769
7caf769
* Wed Oct 12 2005 Matthias Saou <http://freshrpms.net/> 0.3.3-3
7caf769
- Add patch to disable unrecognized "-fasm-blocks" gcc option on PPC.
7caf769
7caf769
* Tue Oct  4 2005 Matthias Saou <http://freshrpms.net/> 0.3.3-2
7caf769
- Update to 0.3.3.
7caf769
- Update liboil-0.3.3-gccoptfixes.patch.
7caf769
7caf769
* Thu Jun 16 2005 Thomas Vander Stichele <thomas at apestaart dot org> 0.3.2-2
7caf769
- Disable parallel make
7caf769
7caf769
* Wed May 25 2005 Matthias Saou <http://freshrpms.net/> 0.3.2-1
7caf769
- Update to 0.3.2.
7caf769
- Change ldconfig calls to be the program.
7caf769
- Include new gtk-doc files in the devel package.
7caf769
- add dist macro.
7caf769
7caf769
* Tue May 24 2005 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.0-4
7caf769
- fix compilation error in FC-4 (bz #158641)
7caf769
- use buildtime exported CFLAGS instead of making up its own
7caf769
7caf769
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.3.0-3
7caf769
- rebuild on all arches
7caf769
7caf769
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
7caf769
- rebuilt
7caf769
7caf769
* Fri Jan 28 2005 Matthias Saou <http://freshrpms.net/> 0.3.0-1
7caf769
- Update to 0.3.0.
7caf769
7caf769
* Wed Nov 24 2004 Matthias Saou <http://freshrpms.net/> 0.2.2-1
7caf769
- Update to 0.2.2.
7caf769
7caf769
* Thu Nov  4 2004 Matthias Saou <http://freshrpms.net/> 0.2.0-1
7caf769
- Initial RPM release.
7caf769