Summary: Graphical music notation program Name: denemo Version: 2.0.14 Release: 9jv%{?dist} License: GPLv3+ Group: Applications/Multimedia Source: ftp://ftp.gnu.org/gnu/denemo/denemo-%{version}.tar.gz Source1: %{name}-feta.metainfo.xml Source2: %{name}-emmentaler.metainfo.xml Source3: %{name}-music.metainfo.xml #Patch98: %{name}-2.0.99-atril.patch #Patch99: %{name}-2.0.0-shann.patch URL: http://www.denemo.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: portaudio-devel aubio-devel gtk2-devel guile-devel BuildRequires: gettext libxml2-devel fftw-devel desktop-file-utils BuildRequires: libtool-ltdl-devel jack-audio-connection-kit-devel BuildRequires: fontpackages-devel lash-devel libsamplerate-devel BuildRequires: gtksourceview2-devel fluidsynth-devel librsvg2-devel BuildRequires: chrpath libsndfile-devel atril-devel gtksourceview3-devel BuildRequires: portmidi-devel intltool guile-devel rubberband-devel BuildRequires: libtool BuildRequires: evince-devel Requires: lilypond Requires: denemo-music-fonts = %{version}-%{release} Requires: denemo-emmentaler-fonts = %{version}-%{release} Requires: denemo-feta-fonts = %{version}-%{release} %description Denemo is a free software (GPL) music notation editor for GNU/Linux that lets you rapidly enter notation for typesetting via the LilyPond music engraver. You can compose, transcribe, arrange, listen to the music and much more. %package music-fonts Summary: Denemo Denemo fonts Group: User Interface/X License: GPLV3+ BuildArch: noarch Requires: fontpackages-filesystem Requires: denemo-fonts-common = %{version}-%{release} %description music-fonts Denemo is a free software (GPL) music notation editor for GNU/Linux that lets you rapidly enter notation for typesetting via the LilyPond music engraver. You can compose, transcribe, arrange, listen to the music and much more. These are the Denemo.ttf fonts derived from FreeSerif.ttf and FreeSans.ttf. %package emmentaler-fonts Summary: Denemo emmentaler fonts Group: User Interface/X License: GPLV2 BuildArch: noarch Requires: fontpackages-filesystem Requires: denemo-fonts-common = %{version}-%{release} %description emmentaler-fonts Denemo is a free software (GPL) music notation editor for GNU/Linux that lets you rapidly enter notation for typesetting via the LilyPond music engraver. You can compose, transcribe, arrange, listen to the music and much more. These are the emmentaler.ttf fonts derived from lilypond's fonts. %package feta-fonts Summary: Denemo feta fonts Group: User Interface/X License: GPLV2 BuildArch: noarch Requires: fontpackages-filesystem Requires: denemo-fonts-common = %{version}-%{release} %description feta-fonts Denemo is a free software (GPL) music notation editor for GNU/Linux that lets you rapidly enter notation for typesetting via the LilyPond music engraver. You can compose, transcribe, arrange, listen to the music and much more. These are the feta.ttf fonts derived from lilypond's fonts. %package fonts-common Summary: Denemo fonts common dir Group: User Interface/X BuildArch: noarch Requires: fontpackages-filesystem %description fonts-common Denemo is a free software (GPL) music notation editor for GNU/Linux that lets you rapidly enter notation for typesetting via the LilyPond music engraver. You can compose, transcribe, arrange, listen to the music and much more. This contains the directory common to all Denemo fonts. %prep %setup -q autoconf #%patch99 -p1 #%patch98 -p0 %build #%configure --with-gtk2 --disable-evince --with-atril --enable-jack %configure --enable-jack make %{?_smp_mflags} chrpath -d src/denemo chmod 644 actions/*.scm %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} desktop-file-install --vendor=""\ --dir=%{buildroot}/%{_datadir}/applications\ --add-category=X-Notation\ %{buildroot}/%{_datadir}/applications/denemo.desktop %find_lang %{name} install -m 0755 -d %{buildroot}%{_fontdir} rm -f %{buildroot}/%{_bindir}/denemo-lilypond.bat install -m 0644 -p fonts/*.ttf %{buildroot}%{_fontdir} rm -rf %{buildroot}/%{_datadir}/fonts/truetype rm -rf %{buildroot}/%{_includedir} # Add AppStream metadata install -Dm 0644 -p %{SOURCE1} \ %{buildroot}%{_datadir}/appdata/%{name}-feta.metainfo.xml install -Dm 0644 -p %{SOURCE2} \ %{buildroot}%{_datadir}/appdata/%{name}-emmentaler.metainfo.xml install -Dm 0644 -p %{SOURCE3} \ %{buildroot}%{_datadir}/appdata/%{name}-music.metainfo.xml %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) %dir %{_datadir}/denemo %{_datadir}/denemo/* %{_datadir}/pixmaps/denemo.png %{_datadir}/applications/denemo.desktop %{_datadir}/appdata/denemo.appdata.xml %{_bindir}/* %doc COPYING ChangeLog %_font_pkg -n feta feta.ttf %{_datadir}/appdata/%{name}-feta.metainfo.xml %_font_pkg -n emmentaler emmentaler.ttf %{_datadir}/appdata/%{name}-emmentaler.metainfo.xml %_font_pkg -n music Denemo.ttf %{_datadir}/appdata/%{name}-music.metainfo.xml %files fonts-common %doc COPYING AUTHORS %defattr(0644,root,root,0755) %changelog * Sun Nov 27 2016 Johan Vromans
- 2.0.14-9 - Update to upstream 2.0.14. * Sat Jul 16 2016 Johan Vromans - 2.0.10-8 - Update to upstream 2.0.10. Use Gtk-3 build. * Sat Apr 16 2016 Johan Vromans - 2.0.6-7 - Update to upstream 2.0.6. Use Gtk-3 build. * Mon Mar 07 2016 Johan Vromans - 2.0.4-5 - Update to upstream 2.0.4. Use Gtk-3 build. * Fri Nov 27 2015 Johan Vromans - 2.0.0-4 - Update to upstream 2.0.2rc0. * Wed Nov 25 2015 Johan Vromans - 2.0.0-3 - Remove the disable tooltips patch (is now part of the core). - Start building against Gtk-2. * Sun Nov 15 2015 Johan Vromans - 2.0.0-2 - Disable tooltips since the timing does not work anymore. * Sat Nov 07 2015 Johan Vromans - 2.0.0-1 - New upstream update * Mon Jun 22 2015 Roy Rankin - 1.2.2-1 - New upstream update * Wed Jun 17 2015 Fedora Release Engineering - 1.1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Nov 07 2014 Parag Nemade