Репозитории ALT
S: | 0.3.17-alt1.qa2 |
5.1: | 0.3.16-alt1 |
4.1: | 0.3.14-alt1 |
4.0: | 0.3.10-alt2 |
3.0: | 0.3.2-alt1 |
Группа :: Система/Библиотеки
Пакет: liboil
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: liboil
Version: 0.3.10
Release: alt2
Summary: Library of Optimized Inner Loops
License: BSD-style
Group: System/Libraries
Url: http://liboil.freedesktop.org
Packager: Igor Zubkov <icesik at altlinux.org>
%define pkgdocdir %_docdir/%name-%version
Source: %url/download/liboil-%version.tar
Patch: liboil-0.3.10-deb1.patch
# Automatically added by buildreq on Thu Jan 18 2007
BuildRequires: glib2-devel gtk-doc
%def_disable static
%def_enable check
%if_enabled check
BuildRequires: /proc
%endif
ExclusiveArch: %ix86 x86_64
%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. Clearly 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 broad range of applications.
%package devel
Summary: Development environment for liboil
Group: Development/C
Requires: %name = %version-%release
%description devel
This package contains development files required for building
liboil-based software.
%package devel-doc
Summary: Development documentation for liboil
Group: Development/C
%description devel-doc
This package contains development documentation for the liboil library.
%package devel-static
Summary: Static liboil library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains development files required for building
statically linked liboil-based software.
%package examples
Summary: Examples for liboil
Group: Development/C
Requires: %name-devel = %version-%release
%description examples
This package contains examples for writing applications using
the liboil library.
%prep
%setup -q
%patch -p1
bzip2 -9k ChangeLog
%build
autoreconf -fisv
%configure \
--enable-gtk-doc \
%{subst_enable static}
#--with-alternate-optimization='%optflags'
# SMP-incompatible build
%make
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:make -k -C testsuite check}}}
%install
%makeinstall
install -d -m755 %buildroot%pkgdocdir
install -p -m644 AUTHORS COPYING ChangeLog.bz2 README \
%buildroot%pkgdocdir/
%make -C examples clean
cp -a examples %buildroot%pkgdocdir/
find %buildroot%pkgdocdir -type f -name Makefile -delete
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%pkgdocdir/*
%exclude %pkgdocdir/examples
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%files devel-doc
%_datadir/gtk-doc/html/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%files examples
%pkgdocdir/examples
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.3.10
Release: alt2
Summary: Library of Optimized Inner Loops
License: BSD-style
Group: System/Libraries
Url: http://liboil.freedesktop.org
Packager: Igor Zubkov <icesik at altlinux.org>
%define pkgdocdir %_docdir/%name-%version
Source: %url/download/liboil-%version.tar
Patch: liboil-0.3.10-deb1.patch
# Automatically added by buildreq on Thu Jan 18 2007
BuildRequires: glib2-devel gtk-doc
%def_disable static
%def_enable check
%if_enabled check
BuildRequires: /proc
%endif
ExclusiveArch: %ix86 x86_64
%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. Clearly 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 broad range of applications.
%package devel
Summary: Development environment for liboil
Group: Development/C
Requires: %name = %version-%release
%description devel
This package contains development files required for building
liboil-based software.
%package devel-doc
Summary: Development documentation for liboil
Group: Development/C
%description devel-doc
This package contains development documentation for the liboil library.
%package devel-static
Summary: Static liboil library
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains development files required for building
statically linked liboil-based software.
%package examples
Summary: Examples for liboil
Group: Development/C
Requires: %name-devel = %version-%release
%description examples
This package contains examples for writing applications using
the liboil library.
%prep
%setup -q
%patch -p1
bzip2 -9k ChangeLog
%build
autoreconf -fisv
%configure \
--enable-gtk-doc \
%{subst_enable static}
#--with-alternate-optimization='%optflags'
# SMP-incompatible build
%make
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:make -k -C testsuite check}}}
%install
%makeinstall
install -d -m755 %buildroot%pkgdocdir
install -p -m644 AUTHORS COPYING ChangeLog.bz2 README \
%buildroot%pkgdocdir/
%make -C examples clean
cp -a examples %buildroot%pkgdocdir/
find %buildroot%pkgdocdir -type f -name Makefile -delete
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%pkgdocdir/*
%exclude %pkgdocdir/examples
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%files devel-doc
%_datadir/gtk-doc/html/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%files examples
%pkgdocdir/examples
%changelog
…
Полный changelog можно просмотреть здесь