Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 33345967
en ru br
Репозитории ALT
S:0.1.18d-alt1
5.1: 0.1.18c-alt1
4.1: 0.1.17a-alt1
4.0: 0.1.17a-alt1
3.0: 0.1.17-alt1
www.altlinux.org/Changes

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

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

%def_with ladcca

Name: vkeybd
Version: 0.1.17a
Release: alt1
Serial: 1

Summary: Virtual keyboard for AWE, MIDI and ALSA drivers
Summary(ru_RU.KOI8-R): Эмулятор MIDI-клавиатуры для AWE, MIDI и ALSA-драйверов
Group: Sound
License: GPL
Url: http://www.alsa-project.org/~iwai/alsa.html
Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: http://www.alsa-project.org/~iwai/%name-%version.tar.gz
Source1: %name.png

%define tcl_ver 8.4.0-alt1
%define tk_ver 8.4.0-alt1
%define ladcca_ver 0.4.0

Requires: tcl >= %tcl_ver, tk >= %tk_ver

%if_with ladcca
Requires: libladcca >= %ladcca_ver
BuildPreReq: libladcca-devel >= %ladcca_ver
%endif

BuildPreReq: tcl-devel >= %tcl_ver
BuildPreReq: tk-devel >= %tk_ver
BuildPreReq: menu-devel

# Automatically added by buildreq on Fri Feb 16 2007

BuildRequires: libe2fs-devel libladcca-devel tk-devel

%description
This is a virtual keyboard for AWE, MIDI and ALSA drivers.
It's a simple fake of a MIDI keyboard on X-windows system.
Enjoy a music with your mouse and "computer" keyboard :-)

This program supports:
 - ALSA sequencer
 - AWE driver on OSS  (ver.0.4.3)
 - MIDI device on OSS and ALSA

%description -l ru_RU.KOI8-R
Vkeybd -- это виртуальная клавиатура для AWE, MIDI и ALSA-драйверов.
Фактически, она эмулирует функциональность обычной MIDI-клавиатуры,
позволяя отправлять MIDI-события с клавиатуры или мыши.

%prep
%setup -q -n %name
%__subst 's at CFLAGS = -Wall at CFLAGS = \$(RPM_OPT_FLAGS) at ' Makefile

%build
%add_optflags -DUSE_NON_CONST
%make PREFIX=%prefix TCLLIB=-ltcl TKLIB=-ltk \
%if_with ladcca
   USE_LADCCA=1
%endif

%install
%make_install PREFIX=%buildroot%prefix \
     MAN_DIR=%buildroot%_man1dir \
     install-all

# .desktop

%__mkdir_p %buildroot%_datadir/applications
%__cat <<__DESKTOP__ >%buildroot%_datadir/applications/%name.desktop
[Desktop Entry]
Name=%name
Comment=A Virtual Keyboard Instrument
Exec=%name
Icon=%name
Terminal=false
Type=Application
Categories=Application;AudioVideo
__DESKTOP__

# icon

%__install -pD -m644 %SOURCE1 %buildroot%_datadir/pixmaps/%name.png

%post
%update_menus

%postun
%clean_menus

%files
%_bindir/*
%_man1dir/*
%_datadir/applications/*
%_datadir/%name
%_datadir/pixmaps/*
%doc README

%changelog

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

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