Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37321740
en ru br
Репозитории ALT
5.1: 1.3-alt3.1
4.1: 1.3-alt3.1
4.0: 1.3-alt3
3.0: 1.3-alt3
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-pyvorbis

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

Name: python-module-pyvorbis
Version: 1.3
Release: alt3.1

Summary: A Python module for the the Ogg/Vorbis library
Group: Development/Python
License: GPL
Url: http://www.andrewchatham.com/pyogg

Packager: Dmitry Vukolov <dav at altlinux.ru>

%setup_python_module pyvorbis

Source: %url/download/%modulename-%version.tar.bz2

%define libvorbis_ver 1.0
%define pyogg_ver 1.3

Requires: libvorbis >= %libvorbis_ver
Requires: python-module-pyogg >= %pyogg_ver

Provides: pyvorbis = %version
Obsoletes: pyvorbis

BuildPreReq: libvorbis-devel >= %libvorbis_ver
BuildPreReq: python-module-pyogg-devel >= %pyogg_ver

# Automatically added by buildreq on Mon Jul 19 2004

BuildRequires: libogg-devel libvorbis-devel python-base python-dev python-module-pyogg-devel python-modules-encodings

%description
%name is a wrapper for libvorbis, a compressed audio format library.

%package devel
Summary: %name headers and example programs
Group: Development/Python
Requires: %name = %version-%release
Provides: pyvorbis-devel = %version
Obsoletes: pyvorbis-devel

%description devel
%name is a wrapper for libvorbis, a compressed audio format library.

Install %name-devel if you need the API documentation and example
programs.

%define python_libdir %_libdir/python%__python_version
%define python_site_packages_dir %python_libdir/site-packages
%define python_includedir %_includedir/python%__python_version

%prep
%setup -q -n %modulename-%version

%build
export CFLAGS="$RPM_OPT_FLAGS"
%__python config_unix.py --prefix /usr
%__python setup.py build

%install
%__python setup.py install --root=%buildroot --optimize=2

%__mkdir_p %buildroot%python_includedir/%modulename
%__install -m644 src/*.h %buildroot%python_includedir/%modulename
%__chmod -x test/*

%files
%python_site_packages_dir/ogg/*.so
%doc AUTHORS ChangeLog README

%files devel
%python_includedir/%modulename
%doc test/*

%changelog

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

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