File musescore.spec of Package MuseScore
# norootforbuild
%define rname mscore
%define rversion 0.9.1d
Name: musescore
License: GPL
Group: Productivity/Multimedia/Sound/Editors and Convertors
Summary: A free WYSIWYG music score typesetter
Version: 0.9.1
Release: 1
URL: http://mscore.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{rname}-%{rversion}.tar.bz2
Source1: mscore.desktop
BuildRequires: libqt4-devel cmake doxygen alsa-devel jack-devel lilypond
%if %suse_version > 1020
BuildRequires: texlive texlive-context
%endif
%if %suse_version <= 1020
BuildRequires: tetex
%endif
%description
MuseScore is a graphical music typesetter. It allows for fast
and easy note entry on a virtual note sheet. It has an
integrated sequencer to allow for immediate play of the score.
MuseScore can import and export MusicXml and standard Midi files.
Authors:
--------
Werner Schweer <ws@seh.de>
%debug_package
%prep
%setup -q -n %{rname}-%{version}
%build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr ../mscore
make lupdate && make lrelease
make %{?jobs:-j%jobs}
make doxy
make doc
cp %{SOURCE1} .
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin/mscore
/usr/share/applications/mscore.desktop
/usr/share/mscore-0.9/demos/*
/usr/share/mscore-0.9/templates/*.msc
/usr/share/mscore-0.9/templates/*.xml
/usr/share/mscore-0.9/wallpapers/*.png
/usr/share/pixmaps/mscore.*
%changelog -n %{name}
* Sun Feb 10 2008 - Carlos Goncalves <cgoncalves@opensuse.org>
- updated to version 0.9.1
* Tue Jul 31 2007 - Carlos Goncalves <cgoncalves@opensuse.org>
- updated to version 0.6.1
* This is a bugfix release fixing the midi import crash and adding some small usability enhancements.
* Sun Jul 29 2007 - Carlos Goncalves <cgoncalves@opensuse.org>
- initial package