File frescobaldi.spec of Package frescobaldi
Name: frescobaldi
License: GPL-3.0
Group: Productivity/Multimedia/Sound/Editors and Convertors
Summary: GNU Lilypond editor for KDE4
Version: 3.2
Release: 1
URL: http://www.frescobaldi.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.gz
BuildRequires: python3-devel
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Requires: tango-icon-theme
Requires: python3-poppler-qt5
Requires: python3-ly >= 0.9.4
Suggests: python3-portmidi portmidi python3-pygame %{name}-lang
%description
Frescobaldi is a LilyPond music score editor for KDE4, with following
features:
* Enter LilyPond scores, build and preview them with a mouseclick
* Point-and-click support: click on notes or error messages to jump to the
correct position
* A powerful Score Wizard to quickly setup a musical score
* Editing tools to:
- manipulate the rhythm
- hyphenate lyrics
- quickly enter or add articulations and other symbols to existing music
- run the document through convert-ly to update it to a newer LilyPond version
* A powerful Rumor plugin, using the Rumor program to quickly enter music by
playing it on a MIDI keyboard or even your computer keyboard
Frescobaldi is the KDE4 successor of LilyKDE, which is a Kate plugin for KDE3.
Author:
Wilbert Berendsen <lilykde@xs4all.nl>
http://www.wilbertberendsen.nl/
%package lang
Group: Productivity/Multimedia/Sound/Editors and Converters
Summary: Language support for Frescobaldi
Requires: %{name} = %{version}
%description lang
Multilanguage support for Frescobaldi, a GUI for lilypond, a free typesetting engine
%prep
# extract the source
%setup -q
%build
rm -rf %{name}_app/icons/Tango
python3 setup.py build
%install
%if 0%{?suse_version}
%suse_update_desktop_file %{name} Multimedia AudioVideoEditing
%endif
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
# clean up the hard disc after build
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-,root,root)
%doc README.md THANKS COPYING ChangeLog
%{_bindir}/%{name}
%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info
%{python3_sitelib}/%{name}_app
%exclude %{python3_sitelib}/%{name}_app/po
%exclude %{python3_sitelib}/%{name}_app/po/*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/man/man1/%{name}.1*
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%dir %{_datadir}/icons/hicolor/scalable/apps
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor
%files lang
%defattr (-,root,root)
%{python3_sitelib}/%{name}_app/po
%changelog
* Sat Mar 28 2009 Johannes Engel <jcnengel@googlemail.com>
- update to version 0.7.8
* Tue Feb 17 2009 Johannes Engel <jcnengel@googlemail.com>
- update to version 0.7.5
- removed lilypond-kde4 dependency for KDE >= 4.2
* Thu Jan 1 2009 Johannes Engel <jcnengel@googlemail.com>
- Initial package version 0.7