File frescobaldi.spec of Package frescobaldi

BuildRequires:	fam-devel libkde4-devel cmake python-kde4 ImageMagick kdelibs4-core lilypond >= 2.12 dbus-1-python-devel >= 0.82.4
Requires:	lilypond kdebase4 kde4-okular kde4-kate python-kde4 dbus-1-python >= 0.82.4

Name:		frescobaldi
License:	LGPL
Group:		Productivity/Multimedia/Sound/Editors and Convertors
Summary:	GNU Lilypond editor for KDE4
Version:	1.1.8
Release:	1
URL:		http://www.frescobaldi.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
Source:		%name-%{version}.tar.bz2
BuildArch:	noarch

%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/

%prep
# extract the source and go into the kvpnc-0.7.2 directory
%setup -q
%cmake_kde4 -d build

%build
# do compile with the number of jobs given to the --jobs parameter of the build script.
cd build
%make_jobs

%install
%suse_update_desktop_file %{name} Multimedia AudioVideoEditing
pushd build
%makeinstall
install -m 644 ../data/%{name}-lily.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
popd
%find_lang %{name}
%kde_post_install

%clean
# clean up the hard disc after build
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr (-,root,root)
%doc README THANKS
%dir %{_datadir}/kde4/apps
%dir %{_datadir}/kde4/apps/frescobaldi
%dir %{_datadir}/icons/hicolor/scalable/apps/
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor
%{_bindir}/frescobaldi
%{_datadir}/kde4/config
%{_datadir}/kde4/apps/frescobaldi/*
%{_datadir}/applications/kde4/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg

%changelog
* Sat Mar 12 2011 Kevin Whitaker <eyecreate@gmail.com>
- quick fix for 11.4
* 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
openSUSE Build Service is sponsored by