Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37509937
en ru br
Репозитории ALT
S:1.2-alt1
5.1: 0.0.bzr8-alt1
www.altlinux.org/Changes

Группа :: Звук
Пакет: asoundconf

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

Summary: utility to read and change the user's ALSA library configuration
Epoch: 1
Name: asoundconf
Version: 1.2
Release: alt1
Packager: Igor Vlasenko <viy at altlinux.ru>
License: GPLv2+
Group: Sound
# OLDURL: https://code.launchpad.net/~motu/asoundconf-ui
# OLDURL: https://code.launchpad.net/asoundconf-ui
# (patches) https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/asoundconf
# https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/asoundconf
Requires: alsa-utils
BuildRequires: rpm-build-python3
Source0: %name-%version.tar
BuildArch: noarch

Patch1: 0001-python3-syntax.patch
Patch2: 0002-python3-spaces.patch
Patch3: 0003-python3-gobject.patch

%description
Command-line Python utility to configure a user's alsa-lib asoundrc
Useful if you have two cards, and switch between the two.
There is already this functionality in GNOME, but this is
indeed useful if you do not use that desktop environment,
and asoundconf also supports PulseAudio toggling.

%package gtk
Summary: gtk utility to read and change the user's ALSA library configuration
Group: Sound
Requires: asoundconf = %EVR

%description gtk
Based on asoundconf code, but as a GTK+ front-end.
Useful if you have two cards, and switch between the two.
There is already this functionality in GNOME, but this is
indeed useful if you do not use that desktop environment,
and asoundconf-gtk also supports PulseAudio toggling.


%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1

#sed -i 1s,python,python3, asoundconf


%build
%python3_build


%install
%python3_install

#install -d %buildroot%_bindir

#install -m755 asoundconf %buildroot%_bindir/

# installing debian man pages

#install -d %buildroot%_man1dir
#install -m644 asoundconf.1 %buildroot%_man1dir/

#install -d %buildroot%_bindir

#install -m755 asoundconf-gtk/asoundconf-gtk %buildroot%_bindir/

# installing debian man pages

#install -d %buildroot%_man8dir
#install -m644 debian/asoundconf-gtk.8 %buildroot%_man8dir/

#install -d %buildroot%_desktopdir

#install -m644 asoundconf-gtk.desktop %buildroot%_desktopdir/

%files gtk
%_bindir/asoundconf-gtk
#%_man8dir/asoundconf-gtk.8*
%_desktopdir/asoundconf-gtk.desktop

%files
%_bindir/asoundconf
%_man1dir/asoundconf.1*
%python3_sitelibdir/*

%changelog

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

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