File liboil.spec of Package liboil
#
# spec file for package liboil (Version 0.3.12)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: liboil
BuildRequires: glib2-devel gtk-doc sgml-skel
Version: 0.3.13
Release: 1
Url: http://liboil.freedesktop.org/wiki/
Group: System/Libraries
License: Other uncritical OpenSource License
Summary: Library of Optimized Inner Loops
Source: %{name}-%{version}.tar.gz
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch1: s390.patch
Patch2: liboil-random-data-warning.patch
Patch3: liboil-disable-sse.patch
%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-point
numbers or multiplying and summing an array of N numbers. Such
functions are candidates for significant optimization using various
techniques, especially by using extended instructions provided by
modern CPUs (Altivec, MMX, SSE, etc.).
Many multimedia applications and libraries already do similar things
internally. The goal of this project is to consolidate some of the code
used by various multimedia projects and also make optimizations easier
to use by a broader range of applications.
Authors:
--------
David Schleef <ds@schleef.org>
%package devel
Group: Development/Libraries/C and C++
Summary: Library of Optimized Inner Loops
Requires: %{name} = %{version} glibc-devel
%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-point
numbers or multiplying and summing an array of N numbers. Such
functions are candidates for significant optimization using various
techniques, especially by using extended instructions provided by
modern CPUs (Altivec, MMX, SSE, etc.).
Many multimedia applications and libraries already do similar things
internally. The goal of this project is to consolidate some of the code
used by various multimedia projects, and also make optimizations easier
to use by a broader range of applications.
Authors:
--------
David Schleef <ds@schleef.org>
%package doc
Group: System/Libraries
Summary: Library of Optimized Inner Loops
Requires: %{name} = %{version}
%description doc
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-point
numbers or multiplying and summing an array of N numbers. Such
functions are candidates for significant optimization using various
techniques, especially by using extended instructions provided by
modern CPUs (Altivec, MMX, SSE, etc.).
Many multimedia applications and libraries already do similar things
internally. The goal of this project is to consolidate some of the code
used by various multimedia projects, and also make optimizations easier
to use by a broader range of applications.
Authors:
--------
David Schleef <ds@schleef.org>
%prep
%setup
#%patch1
%patch2
%patch3
%build
autoreconf -f -i
%configure
# does nor work for liboil-0.3.9:
#make %{?jobs:-j%jobs}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr (-, root, root)
%doc AUTHORS COPYING NEWS README
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_bindir}/oil-bugreport
%{_includedir}/liboil-*
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr (-, root, root)
%{_datadir}/gtk-doc/html/liboil
%changelog
* Thu Jan 31 2008 rodrigo@suse.de
- Update to version 0.3.12:
* Lots of new classes and implementations were added for Schrödinger
* Several i386 implementations also compile on amd64, so these were
copied over to a separate directory and are now enabled on amd64
* Feature detection on amd64 has been fixed
* All known startup warnings have been fixed
* The core now handles arrays that are 'N plus a constant' in length
* Wrap a bunch of functions in HAVE_UNALIGNED_ACCESS to indicate that
they require an architecture that handles unaligned access
* Tue Jan 09 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Wed Dec 06 2006 abockover@suse.de
- Disable SSE support altogether (BNC #214051)
* Fri Sep 22 2006 jhargadon@suse.de
- update to version 0.3.9
- Fix a mistake in the fast path.
- liboil/sse/multsum_sse.c: disable broken impl
- Change movsx opcodes to something more AT&T-like
- Wrap a bunch of functions in HAVE_UNALIGNED_ACCESS to fix alignment
issues
* Mon Feb 06 2006 rguenther@suse.de
- Use =Q constraint for s390 STCK instruction. Fixes build on
s390 and s390x.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 03 2006 sbrabec@suse.cz
- New SuSE package, version 0.3.6.