ALT Linux repositórios
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
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