2 Summary: Library of Optimized Inner Loops, CPU optimized functions
5 Group: System/Libraries
7 URL: http://liboil.freedesktop.org/
8 Source0: http://liboil.freedesktop.org/download/liboil-%{version}.tar.gz
9 Patch0: 0001-add-armv7l-to-as-host-defines-m4.patch
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires: pkgconfig(glib-2.0)
16 Liboil is a library of simple functions that are optimized for various CPUs.
17 These functions are generally loops implementing simple algorithms, such as
18 converting an array of N integers to floating-poing numbers or multiplying
19 and summing an array of N numbers. Clearly such functions are candidates for
20 significant optimization using various techniques, especially by using
21 extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
26 Summary: Development files and static library for liboil
27 Group: Development/Libraries
28 Requires: %{name} = %{version}-%{release}
31 Liboil is a library of simple functions that are optimized for various CPUs.
32 These functions are generally loops implementing simple algorithms, such as
33 converting an array of N integers to floating-poing numbers or multiplying
34 and summing an array of N numbers. Clearly such functions are candidates for
35 significant optimization using various techniques, especially by using
36 extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
41 %setup -q -n %{name}-%{version}
43 # 0001-add-armv7l-to-as-host-defines-m4.patch
48 %configure --disable-static
54 rm -rf $RPM_BUILD_ROOT/usr/bin/oil-bugreport
55 rm -rf $RPM_BUILD_ROOT/usr/share/gtk-doc
57 %post -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
66 %{_libdir}/pkgconfig/*.pc