Репозитории 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.16
Release: alt1
Summary: Library of Optimized Inner Loops
License: BSD-style
Group: System/Libraries
Url: http://liboil.freedesktop.org
%define pkgdocdir %_docdir/%name-%version
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source0: %url/download/liboil-%version.tar.gz
# Automatically added by buildreq on Thu Jan 18 2007
BuildRequires: glib2-devel gtk-doc libltdl-devel libtool_2.2
%def_disable static
%def_enable gtk_doc
%def_enable check
%if_enabled check
BuildRequires: /proc
%endif
%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
BuildArch: noarch
Conflicts: %name-devel < %version
%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
BuildArch: noarch
Requires: %name-devel = %version-%release
%description examples
This package contains examples for writing applications using
the liboil library.
%prep
%setup -q
%build
%autoreconf
%configure \
%{?_enable_gtk_doc:--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 BUG-REPORTING COPYING README HACKING NEWS \
%buildroot%pkgdocdir/
%make -C examples clean
cp -a examples %buildroot%pkgdocdir/
find %buildroot%pkgdocdir -type f -name Makefile -delete
%files
%_libdir/*.so.*
%pkgdocdir/*
%exclude %pkgdocdir/examples
%files devel
%_bindir/oil-bugreport
%_includedir/*
%_libdir/*.so
%dir %pkgdocdir
%_pkgconfigdir/*
%files devel-doc
%_datadir/gtk-doc/html/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%files examples
%dir %pkgdocdir
%pkgdocdir/examples/
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.3.16
Release: alt1
Summary: Library of Optimized Inner Loops
License: BSD-style
Group: System/Libraries
Url: http://liboil.freedesktop.org
%define pkgdocdir %_docdir/%name-%version
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source0: %url/download/liboil-%version.tar.gz
# Automatically added by buildreq on Thu Jan 18 2007
BuildRequires: glib2-devel gtk-doc libltdl-devel libtool_2.2
%def_disable static
%def_enable gtk_doc
%def_enable check
%if_enabled check
BuildRequires: /proc
%endif
%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
BuildArch: noarch
Conflicts: %name-devel < %version
%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
BuildArch: noarch
Requires: %name-devel = %version-%release
%description examples
This package contains examples for writing applications using
the liboil library.
%prep
%setup -q
%build
%autoreconf
%configure \
%{?_enable_gtk_doc:--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 BUG-REPORTING COPYING README HACKING NEWS \
%buildroot%pkgdocdir/
%make -C examples clean
cp -a examples %buildroot%pkgdocdir/
find %buildroot%pkgdocdir -type f -name Makefile -delete
%files
%_libdir/*.so.*
%pkgdocdir/*
%exclude %pkgdocdir/examples
%files devel
%_bindir/oil-bugreport
%_includedir/*
%_libdir/*.so
%dir %pkgdocdir
%_pkgconfigdir/*
%files devel-doc
%_datadir/gtk-doc/html/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%files examples
%dir %pkgdocdir
%pkgdocdir/examples/
%changelog
…
Полный changelog можно просмотреть здесь