Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37737690
en ru br
Репозитории ALT
4.1: 1.1.1-alt0.M41.1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libtheora1

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define src libtheora

Name: %{src}1
Version: 1.1.1
Release: alt0.M41.1

Summary: Theora Video Compression Codec
License: BSD-style
Group: System/Libraries
Url: http://www.theora.org/
# http://downloads.xiph.org/releases/theora/%name-%version.tar.bz2
Source: %src-%version.tar
Patch0: libtheora-1.1.1-alt-link.patch
Patch1: libtheora-1.1.1-alt-find_prow.patch

# Automatically added by buildreq on Tue Nov 23 2010

BuildRequires: doxygen libSDL-devel libpng-devel libvorbis-devel

%add_findprov_lib_path %_libdir/%name

%description
Theora is Xiph.Org's first publicly released video codec, intended
for use within the Ogg's project's Ogg multimedia streaming system.
Theora is derived directly from On2's VP3 codec.  Currently the two are
nearly identical, varying only in encapsulating decoder tables in the
bitstream headers, but Theora will make use of this extra freedom
in the future to improve over what is possible with VP3.

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release
Provides: %src-devel
Obsoletes: %src-devel < %version

%description devel
This package contains development files for the software development
using %name library.

%package devel-doc
Summary: Documentation for developing Theora applications
Group: Development/C
BuildArch: noarch
Requires: %name = %version-%release

%description devel-doc
This package contains documentation for the software development
using %name library.

%package -n theora-tools
Summary: Command line tools for Theora videos
Group: Video
Requires: %name = %version-%release

%description -n theora-tools
This package contains simple command line tools for use with
theora bitstreams.

%prep
%setup -n %src-%version
%patch0 -p1
%patch1 -p1
ln -s m4/as-ac-expand.m4 acinclude.m4

%build
%autoreconf
%configure \
   --disable-static --includedir=%_includedir/%name --libdir=%_libdir/%name
%make_build

%install
%makeinstall_std
mkdir -p %buildroot%_bindir
install -pm755 examples/.libs/dump_video \
%buildroot%_bindir/theora_dump_video
install -pm755 examples/.libs/encoder_example \
%buildroot%_bindir/theora_encode
install -pm755 examples/.libs/player_example \
%buildroot%_bindir/theora_player
install -pm755 examples/.libs/png2theora \
%buildroot%_bindir/png2theora
%define docdir %_docdir/%name-%version
mv %buildroot/%_docdir/%src-%version %buildroot%docdir
mv %buildroot/%_libdir/%name/pkgconfig %buildroot%_libdir/
install -pm644 AUTHORS CHANGES COPYING LICENSE README %buildroot%docdir/

%make_build -k check

%files
%dir %docdir
%docdir/[ACLR]*
%_libdir/%name/*.so.*

%files devel
%dir %_libdir/%name
%_libdir/%name/*.so
%_includedir/%name
%_pkgconfigdir/*.pc

%files devel-doc
%docdir
%exclude %docdir/[ACLR]*
%exclude %docdir/latex
%exclude %docdir/*.stamp
%exclude %docdir/*.xml

%files -n theora-tools
%_bindir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin