Группа :: Звук
Пакет: denemo
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable jack
%def_disable lash
Name: denemo
Version: 0.8.2_230_g06967f1
Release: alt1
Summary: WYSIWYG musical score editor, and frontend for Lilypond
Summary(ru_RU.KOI8-R): Нотный редактор с поддержкой Lilypond
Group: Sound
License: GPL
Url: http://www.%name.org/
Packager: Ildar Mulyukov <ildar at altlinux.ru>
Source: %name.tar
Requires: TiMidity++ lilypond
# csound
# Automatically added by buildreq on Fri Nov 07 2008 (-bi)
BuildRequires: ImageMagick cvs flex guile18-devel libaubio-devel libfftw3-devel libgtk+2-devel libportaudio2-devel libsamplerate-devel libxml2-devel lzma-utils
#gtk-doc
%if_enabled jack
BuildRequires: jackit-devel
Requires: jackd
%endif
%if_enabled lash
BuildRequires: liblash-devel
%endif
%description
Denemo is a music notation program for Linux and Windows that lets you rapidly
enter notation for typesetting via the LilyPond music engraver. Music can be
typed in at the PC-Keyboard, or played into a microphone plugged into your
computer's soundcard.
Denemo itself does not engrave the music - it uses LilyPond which generates
beautiful sheet music to the highest publishing standards. Denemo just displays
the music so you can enter and edit the music efficiently.
%description -l ru_RU.KOI8-R
Denemo - графический WYSIWYG редактор партитур, поддерживает ввод с
клавиатуры компьютера и midi-клавиатуры, или даже с микрофона, подключённого
к звуковой карте компьютера. Для вывода нотных записей на печать использует
Lilypond.
%prep
%setup -q -n %name
%build
%autoreconf
%configure \
%{subst_enable jack} \
%{subst_enable lash} \
%make_build
%install
%make_install DESTDIR=%buildroot install
find %buildroot -name 'Makefile*' -exec rm -f {} \;
mv %buildroot%_datadir/fonts/{truetype,ttf}
mkdir -p %buildroot%_iconsdir/hicolor/{48x48,32x32,16x16}/apps/
convert %buildroot%_iconsdir/%name.png -resize 48x48 %buildroot%_liconsdir/%name.png
convert %buildroot%_iconsdir/%name.png -resize 32x32 %buildroot%_niconsdir/%name.png
convert %buildroot%_iconsdir/%name.png -resize 16x16 %buildroot%_miconsdir/%name.png
sed -i '
/=$/d;
/^Encoding=/d;
s/\.png$//;
s/GNOME;Application;AudioVideo;/Audio;Music;/' \
%buildroot%_desktopdir/%name.desktop
lzma ChangeLog
%find_lang %name
%post
fc-cache %_datadir/fonts/ttf/%name ||:
%files -f %name.lang
%_sysconfdir/%name/%name.conf
%_bindir/*
%_desktopdir/%name.desktop
%_datadir/%name
%_datadir/fonts/ttf/%name
%_iconsdir/%name.png
%_iconsdir/hicolor/*/apps/%name.png
%doc AUTHORS ChangeLog* LICENSE_OFL.txt NEWS README*
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable lash
Name: denemo
Version: 0.8.2_230_g06967f1
Release: alt1
Summary: WYSIWYG musical score editor, and frontend for Lilypond
Summary(ru_RU.KOI8-R): Нотный редактор с поддержкой Lilypond
Group: Sound
License: GPL
Url: http://www.%name.org/
Packager: Ildar Mulyukov <ildar at altlinux.ru>
Source: %name.tar
Requires: TiMidity++ lilypond
# csound
# Automatically added by buildreq on Fri Nov 07 2008 (-bi)
BuildRequires: ImageMagick cvs flex guile18-devel libaubio-devel libfftw3-devel libgtk+2-devel libportaudio2-devel libsamplerate-devel libxml2-devel lzma-utils
#gtk-doc
%if_enabled jack
BuildRequires: jackit-devel
Requires: jackd
%endif
%if_enabled lash
BuildRequires: liblash-devel
%endif
%description
Denemo is a music notation program for Linux and Windows that lets you rapidly
enter notation for typesetting via the LilyPond music engraver. Music can be
typed in at the PC-Keyboard, or played into a microphone plugged into your
computer's soundcard.
Denemo itself does not engrave the music - it uses LilyPond which generates
beautiful sheet music to the highest publishing standards. Denemo just displays
the music so you can enter and edit the music efficiently.
%description -l ru_RU.KOI8-R
Denemo - графический WYSIWYG редактор партитур, поддерживает ввод с
клавиатуры компьютера и midi-клавиатуры, или даже с микрофона, подключённого
к звуковой карте компьютера. Для вывода нотных записей на печать использует
Lilypond.
%prep
%setup -q -n %name
%build
%autoreconf
%configure \
%{subst_enable jack} \
%{subst_enable lash} \
%make_build
%install
%make_install DESTDIR=%buildroot install
find %buildroot -name 'Makefile*' -exec rm -f {} \;
mv %buildroot%_datadir/fonts/{truetype,ttf}
mkdir -p %buildroot%_iconsdir/hicolor/{48x48,32x32,16x16}/apps/
convert %buildroot%_iconsdir/%name.png -resize 48x48 %buildroot%_liconsdir/%name.png
convert %buildroot%_iconsdir/%name.png -resize 32x32 %buildroot%_niconsdir/%name.png
convert %buildroot%_iconsdir/%name.png -resize 16x16 %buildroot%_miconsdir/%name.png
sed -i '
/=$/d;
/^Encoding=/d;
s/\.png$//;
s/GNOME;Application;AudioVideo;/Audio;Music;/' \
%buildroot%_desktopdir/%name.desktop
lzma ChangeLog
%find_lang %name
%post
fc-cache %_datadir/fonts/ttf/%name ||:
%files -f %name.lang
%_sysconfdir/%name/%name.conf
%_bindir/*
%_desktopdir/%name.desktop
%_datadir/%name
%_datadir/fonts/ttf/%name
%_iconsdir/%name.png
%_iconsdir/hicolor/*/apps/%name.png
%doc AUTHORS ChangeLog* LICENSE_OFL.txt NEWS README*
%changelog
…
Полный changelog можно просмотреть здесь