Group :: Som
RPM: denemo
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_enable jack
%def_enable fluidsynth
%def_enable doc
Name: denemo
Version: 2.5.0
Release: alt1
Summary: WYSIWYG musical score editor, and frontend for Lilypond
Summary(ru_RU.UTF-8): Нотный редактор с поддержкой Lilypond
Group: Sound
License: GPLv3+
Url: http://www.denemo.org/
Vcs: https://github.com/denemo/denemo.git
Packager: Ildar Mulyukov <ildar at altlinux.ru>
Source: %name-%version.tar
BuildRequires: convert
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: flex
BuildRequires: guile
BuildRequires: glib2-devel
BuildRequires: guile-devel
BuildRequires: libxml2-devel
BuildRequires: librsvg-devel
BuildRequires: libsndfile-devel
BuildRequires: libaubio-devel
BuildRequires: libgtk+3-devel
BuildRequires: libgtksourceview3-devel
BuildRequires: libevince-devel
BuildRequires: librubberband-devel
BuildRequires: libportaudio2-devel
BuildRequires: libfftw3-devel
BuildRequires: libportmidi-devel
%if_enabled jack
BuildRequires: jackit-devel
Requires: jackd
%endif
%if_enabled fluidsynth
BuildRequires: libfluidsynth-devel
%endif
%if_enabled lash
BuildRequires: liblash-devel
%endif
Requires: lilypond
Requires: TiMidity++
%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.UTF-8
Denemo - графический WYSIWYG редактор партитур, поддерживает ввод с
клавиатуры компьютера и midi-клавиатуры, или даже с микрофона, подключённого
к звуковой карте компьютера. Для вывода нотных записей на печать использует
Lilypond.
Denemo использует библиотеки GTK+, которые являются частью рабочего стола GNOME.
В дополнение к редактированию нот, Denemo предоставляет возможность
воспроизвести мелодию - посредством MIDI или в режиме Csound. В режиме Csound
Denemo создает на лету оркестровый файл на языке Csound и позволяет программе
Csound воспроизвести ее. Об этих и других продвинутых функциях Denemo написано
в руководстве. Вкратце можно сказать, что Denemo - это активный проект и
многообещающая программа.
%prep
%setup
%build
%autoreconf
%configure \
%{subst_enable jack} \
%{subst_enable fluidsynth} \
%{subst_enable doc} \
%make_build
%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_sysconfdir/%name
install -m644 denemo.conf %buildroot%_sysconfdir/%name
find %buildroot -name 'Makefile*' -exec rm -f {} \;
mv %buildroot%_datadir/fonts/{truetype,ttf}
mkdir -p %buildroot%_iconsdir/hicolor/{48x48,32x32,16x16}/apps/
convert %buildroot%_pixmapsdir/%name.png -resize 48x48 %buildroot%_liconsdir/%name.png
convert %buildroot%_pixmapsdir/%name.png -resize 32x32 %buildroot%_niconsdir/%name.png
convert %buildroot%_pixmapsdir/%name.png -resize 16x16 %buildroot%_miconsdir/%name.png
xz ChangeLog
%find_lang %name
%post
fc-cache %_datadir/fonts/ttf/%name ||:
%files -f %name.lang
%_sysconfdir/%name
%_bindir/*
%_desktopdir/%name.desktop
%_datadir/%name
%_datadir/fonts/ttf/%name
%_datadir/appdata/%name.appdata.xml
%_pixmapsdir/%name.png
%_iconsdir/hicolor/*/apps/%name.png
%doc AUTHORS ChangeLog* LICENSE_OFL.txt NEWS README*
%changelog
…
Todas as alterações você pod ver aqui
%def_enable fluidsynth
%def_enable doc
Name: denemo
Version: 2.5.0
Release: alt1
Summary: WYSIWYG musical score editor, and frontend for Lilypond
Summary(ru_RU.UTF-8): Нотный редактор с поддержкой Lilypond
Group: Sound
License: GPLv3+
Url: http://www.denemo.org/
Vcs: https://github.com/denemo/denemo.git
Packager: Ildar Mulyukov <ildar at altlinux.ru>
Source: %name-%version.tar
BuildRequires: convert
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: flex
BuildRequires: guile
BuildRequires: glib2-devel
BuildRequires: guile-devel
BuildRequires: libxml2-devel
BuildRequires: librsvg-devel
BuildRequires: libsndfile-devel
BuildRequires: libaubio-devel
BuildRequires: libgtk+3-devel
BuildRequires: libgtksourceview3-devel
BuildRequires: libevince-devel
BuildRequires: librubberband-devel
BuildRequires: libportaudio2-devel
BuildRequires: libfftw3-devel
BuildRequires: libportmidi-devel
%if_enabled jack
BuildRequires: jackit-devel
Requires: jackd
%endif
%if_enabled fluidsynth
BuildRequires: libfluidsynth-devel
%endif
%if_enabled lash
BuildRequires: liblash-devel
%endif
Requires: lilypond
Requires: TiMidity++
%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.UTF-8
Denemo - графический WYSIWYG редактор партитур, поддерживает ввод с
клавиатуры компьютера и midi-клавиатуры, или даже с микрофона, подключённого
к звуковой карте компьютера. Для вывода нотных записей на печать использует
Lilypond.
Denemo использует библиотеки GTK+, которые являются частью рабочего стола GNOME.
В дополнение к редактированию нот, Denemo предоставляет возможность
воспроизвести мелодию - посредством MIDI или в режиме Csound. В режиме Csound
Denemo создает на лету оркестровый файл на языке Csound и позволяет программе
Csound воспроизвести ее. Об этих и других продвинутых функциях Denemo написано
в руководстве. Вкратце можно сказать, что Denemo - это активный проект и
многообещающая программа.
%prep
%setup
%build
%autoreconf
%configure \
%{subst_enable jack} \
%{subst_enable fluidsynth} \
%{subst_enable doc} \
%make_build
%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_sysconfdir/%name
install -m644 denemo.conf %buildroot%_sysconfdir/%name
find %buildroot -name 'Makefile*' -exec rm -f {} \;
mv %buildroot%_datadir/fonts/{truetype,ttf}
mkdir -p %buildroot%_iconsdir/hicolor/{48x48,32x32,16x16}/apps/
convert %buildroot%_pixmapsdir/%name.png -resize 48x48 %buildroot%_liconsdir/%name.png
convert %buildroot%_pixmapsdir/%name.png -resize 32x32 %buildroot%_niconsdir/%name.png
convert %buildroot%_pixmapsdir/%name.png -resize 16x16 %buildroot%_miconsdir/%name.png
xz ChangeLog
%find_lang %name
%post
fc-cache %_datadir/fonts/ttf/%name ||:
%files -f %name.lang
%_sysconfdir/%name
%_bindir/*
%_desktopdir/%name.desktop
%_datadir/%name
%_datadir/fonts/ttf/%name
%_datadir/appdata/%name.appdata.xml
%_pixmapsdir/%name.png
%_iconsdir/hicolor/*/apps/%name.png
%doc AUTHORS ChangeLog* LICENSE_OFL.txt NEWS README*
%changelog
…
Todas as alterações você pod ver aqui