Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37737420
en ru br
ALT Linux repositórios
S:0.1.18d-alt1
5.0: 0.1.17a-alt3
4.1: 0.1.17a-alt1
4.0: 0.1.17a-alt1
3.0: 0.1.17-alt1

Group :: Som
RPM: vkeybd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009