|
|
8ad9671 |
Name: frescobaldi
|
|
|
6ceae9f |
Version: 0.7.16
|
|
|
5bc7514 |
Release: 1%{?dist}
|
|
|
8ad9671 |
Summary: Edit LilyPond sheet music with ease!
|
|
|
8ad9671 |
Group: Applications/Editors
|
|
|
8ad9671 |
# python/hyphenator.py is LGPLv2+
|
|
|
8ad9671 |
# python/rational.py is public domain
|
|
|
8ad9671 |
# The rest, including the core of the program, is GPLv2+
|
|
|
8ad9671 |
License: GPLv2+ and LGPLv2+ and Public Domain
|
|
|
8ad9671 |
URL: http://www.frescobaldi.org/
|
|
|
8ad9671 |
Source0: http://lilykde.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
|
8ad9671 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
8ad9671 |
BuildArch: noarch
|
|
|
8ad9671 |
BuildRequires: cmake
|
|
|
8ad9671 |
BuildRequires: desktop-file-utils
|
|
|
8ad9671 |
BuildRequires: gettext
|
|
|
8ad9671 |
BuildRequires: ImageMagick
|
|
|
8ad9671 |
BuildRequires: lilypond
|
|
|
8ad9671 |
BuildRequires: PyKDE4
|
|
|
8ad9671 |
|
|
|
8ad9671 |
Requires: alsa-utils
|
|
|
8ad9671 |
Requires: lilypond
|
|
|
8ad9671 |
Requires: PyKDE4
|
|
|
8ad9671 |
Requires: rumor
|
|
|
8ad9671 |
Requires: timidity++
|
|
|
8ad9671 |
# Need katepart, kdialog, okularpart, ...
|
|
|
8ad9671 |
Requires: kdebase
|
|
|
8ad9671 |
Requires: kdegraphics
|
|
|
8ad9671 |
Requires: kdesdk
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%description
|
|
|
8ad9671 |
Frescobaldi is a LilyPond sheet music editor for KDE4. It aims to be powerful,
|
|
|
8ad9671 |
yet lightweight and easy to use. It features:
|
|
|
8ad9671 |
|
|
|
8ad9671 |
* Enter LilyPond scores, build and preview them with a mouseclick
|
|
|
8ad9671 |
* Point-and-click support: click on notes or error messages to jump to the
|
|
|
8ad9671 |
correct position
|
|
|
8ad9671 |
* A powerful Score Wizard to quickly setup a musical score
|
|
|
8ad9671 |
* Editing tools to:
|
|
|
8ad9671 |
o manipulate the rhythm
|
|
|
8ad9671 |
o hyphenate lyrics
|
|
|
8ad9671 |
o quickly enter or add articulations and other symbols to existing
|
|
|
8ad9671 |
music
|
|
|
8ad9671 |
o run the document through convert-ly to update it to a newer
|
|
|
8ad9671 |
LilyPond version
|
|
|
8ad9671 |
* Context sensitive autocomplete, helping you to quickly enter LilyPond
|
|
|
8ad9671 |
commands
|
|
|
8ad9671 |
* Expansion manager to enter larger snippets of LilyPond input using short
|
|
|
8ad9671 |
mnemonics
|
|
|
8ad9671 |
* A powerful Rumor plugin, using the Rumor program to quickly enter music
|
|
|
8ad9671 |
by playing it on a MIDI keyboard or even your computer keyboard
|
|
|
8ad9671 |
* Built-in comprehensive User Guide
|
|
|
8ad9671 |
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%prep
|
|
|
8ad9671 |
%setup -q
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%build
|
|
|
8ad9671 |
%{cmake_kde4} -DKDE4_BIN_INSTALL_DIR=%{_bindir}
|
|
|
8ad9671 |
make %{?_smp_mflags} VERBOSE=1
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%install
|
|
|
8ad9671 |
rm -rf %{buildroot}
|
|
|
8ad9671 |
make install DESTDIR=%{buildroot}
|
|
|
8ad9671 |
|
|
|
8ad9671 |
## File lists
|
|
|
8ad9671 |
# locale's
|
|
|
8ad9671 |
%find_lang %{name}
|
|
|
8ad9671 |
# HTML (1.0)
|
|
|
8ad9671 |
HTML_DIR=$(kde4-config --expandvars --install html)
|
|
|
8ad9671 |
if [ -d %{buildroot}$HTML_DIR ]; then
|
|
|
8ad9671 |
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
|
|
8ad9671 |
pushd $lang_dir
|
|
|
8ad9671 |
# Replace absolute symlinks with relative ones
|
|
|
8ad9671 |
for i in *; do
|
|
|
8ad9671 |
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
|
|
8ad9671 |
done
|
|
|
8ad9671 |
popd
|
|
|
8ad9671 |
done
|
|
|
8ad9671 |
fi
|
|
|
8ad9671 |
|
|
|
8ad9671 |
# desktop file
|
|
|
8ad9671 |
desktop-file-install \
|
|
|
8ad9671 |
--dir=%{buildroot}%{_datadir}/applications \
|
|
|
8ad9671 |
--remove-category=Application \
|
|
|
8ad9671 |
--add-category=AudioVideo \
|
|
|
29b233f |
--add-category=X-Notation \
|
|
|
8ad9671 |
--delete-original \
|
|
|
8ad9671 |
%{buildroot}%{_datadir}/applications/kde4/%{name}.desktop
|
|
|
8ad9671 |
|
|
|
674c020 |
# Decompress the icon. It looks like bug #491016 is being ignored.
|
|
|
674c020 |
mv %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg{,.g}z
|
|
|
674c020 |
gunzip %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg.gz
|
|
|
674c020 |
|
|
|
8ad9671 |
%clean
|
|
|
8ad9671 |
rm -rf %{buildroot}
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%post
|
|
|
8ad9671 |
update-desktop-database &> /dev/null || :
|
|
|
8ad9671 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%postun
|
|
|
8ad9671 |
update-desktop-database &> /dev/null || :
|
|
|
8ad9671 |
if [ $1 -eq 0 ] ; then
|
|
|
8ad9671 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
8ad9671 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8ad9671 |
fi
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%posttrans
|
|
|
8ad9671 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%files -f %{name}.lang
|
|
|
8ad9671 |
%defattr(-,root,root,-)
|
|
|
e63f61a |
%doc ChangeLog COPYING README* THANKS TODO
|
|
|
8ad9671 |
%{_docdir}/HTML/en/%{name}/
|
|
|
8ad9671 |
%{_bindir}/%{name}
|
|
|
8ad9671 |
%{_datadir}/applications/%{name}.desktop
|
|
|
674c020 |
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
8ad9671 |
%{_datadir}/kde4/apps/%{name}/
|
|
|
8ad9671 |
|
|
|
8ad9671 |
%changelog
|
|
|
6ceae9f |
* Wed Nov 18 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.16-1
|
|
|
6ceae9f |
- New upstream version
|
|
|
6ceae9f |
|
|
|
c7c1aae |
* Thu Sep 17 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.14-1
|
|
|
c7c1aae |
- New upstream version
|
|
|
c7c1aae |
|
|
|
5bc7514 |
* Mon Aug 10 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.13-1
|
|
|
5bc7514 |
- New upstream version
|
|
|
5bc7514 |
- No need to rebuild .mo and .png files per new guidelines
|
|
|
5bc7514 |
|
|
|
29b233f |
* Wed Aug 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.12-3
|
|
|
29b233f |
- Update the .desktop file
|
|
|
29b233f |
|
|
|
27b75c0 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.12-2
|
|
|
27b75c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
27b75c0 |
|
|
|
2c7a2c0 |
* Sun Jul 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.12-1
|
|
|
2c7a2c0 |
- New upstream version
|
|
|
2c7a2c0 |
|
|
|
ed4c674 |
* Mon Jun 15 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.11-1
|
|
|
ed4c674 |
- New upstream version
|
|
|
ed4c674 |
|
|
|
674c020 |
* Tue Jun 09 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.10-1
|
|
|
674c020 |
- New upstream version
|
|
|
674c020 |
- Decompress the icon. RHBZ #491016 is being ignored.
|
|
|
674c020 |
|
|
|
e63f61a |
* Sat May 23 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.9-1
|
|
|
e63f61a |
- New upstream version
|
|
|
e63f61a |
|
|
|
8ad9671 |
* Tue Mar 24 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.8-1
|
|
|
8ad9671 |
- New upstream version
|
|
|
8ad9671 |
|
|
|
8ad9671 |
* Tue Mar 17 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.7-2
|
|
|
8ad9671 |
- Remove BuildRequires: dbus-python
|
|
|
8ad9671 |
- Fix the year of the previous changelog entry
|
|
|
8ad9671 |
- Add "Public Domain" to the license tag
|
|
|
8ad9671 |
- Add AudioVideo category to the .desktop file
|
|
|
8ad9671 |
- Add disttag
|
|
|
8ad9671 |
|
|
|
8ad9671 |
* Sun Mar 15 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.7.7-1
|
|
|
8ad9671 |
- Initial build
|