From 42db456e12c62ae2175dd198f20d8bfcd84f037c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:16:32 +0100 Subject: [PATCH] rebuilt with debug package and aarch64 build fix [release 0.3.17-3mamba;Thu Dec 03 2020] --- README.md | 15 ++++---------- liboil.spec | 56 +++++++++++++++++++++++++---------------------------- 2 files changed, 30 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index a1c1be4..85bc3c6 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,8 @@ # liboil 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. +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. diff --git a/liboil.spec b/liboil.spec index c976869..027120e 100644 --- a/liboil.spec +++ b/liboil.spec @@ -2,7 +2,7 @@ Name: liboil Version: 0.3.17 -Release: 2mamba +Release: 3mamba Summary: A library of simple functions that are optimized for various CPU Group: System/Libraries Vendor: openmamba @@ -11,6 +11,10 @@ Packager: Silvan Calarco URL: http://liboil.freedesktop.org Source: http://liboil.freedesktop.org/download/liboil-%{version}.tar.gz License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +## AUTOBUILDREQ-END BuildRequires: pkgconfig BuildRequires: libglib-devel BuildRequires: gtk-doc @@ -18,17 +22,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %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. +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. %package devel Group: Development/Libraries @@ -37,22 +34,17 @@ Requires: %{name} = %{?epoch:%epoch:}%{version} %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. +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. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%debug_package %prep %setup -q +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub %build %configure @@ -70,22 +62,26 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -%{_bindir}/oil-bugreport -%{_libdir}/*.so.* -%doc AUTHORS COPYING NEWS README +%{_libdir}/liboil-*.so.* +%doc AUTHORS COPYING %files devel %defattr(-,root,root) +%{_bindir}/oil-bugreport %dir %{_includedir}/liboil-%{majversion}/liboil %{_includedir}/liboil-%{majversion}/liboil/*.h -%{_libdir}/*.a -%{_libdir}/*.la -%{_libdir}/*.so +%{_libdir}/liboil-*.a +%{_libdir}/liboil-*.la +%{_libdir}/liboil-*.so %{_libdir}/pkgconfig/liboil-%{majversion}.pc %dir %{_datadir}/gtk-doc/html/liboil %{_datadir}/gtk-doc/html/liboil/* +%doc NEWS README %changelog +* Thu Dec 03 2020 Silvan Calarco 0.3.17-3mamba +- rebuilt with debug package and aarch64 build fix + * Sun Dec 28 2014 Automatic Build System 0.3.17-2mamba - automatic rebuild by autodist