File rosegarden4.spec of Package rosegarden4

#
# spec file for package rosegarden4 (Version 1.7.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           rosegarden4
BuildRequires:  cmake dssi fdupes fftw3-devel kdelibs3-devel kdemultimedia3-sound ladspa-devel liblo-devel liblrdf-devel libraptor-devel
Summary:        MIDI/Audio Sequencer and Notation Editor
Version:        1.7.0
Release:        1
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Midi
Source:         rosegarden-%{version}.tar.bz2
Source1:        rosegarden.desktop
Requires:       ladspa libsndfile-progs
Url:            http://www.rosegardenmusic.com/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Rosegarden-4 is a user-friendly MIDI/audio sequencer, notation editor,
and general-purpose music composition and editing application for Unix
and Linux.

This package contains the new version of Rosegarden as a KDE
application with support for ALSA and JACK outputs and LADSPA plug-ins.



Authors:
--------
    Chris Cannam <cannam@all-day-breakfast.com>
    Richard Bown <bownie@bownie.com>
    Guillaume Laurent <glaurent@telegraph-road.org>

%define prefix /opt/kde3

%prep
%setup -q -n rosegarden-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$CFLAGS"
cmake . -DCMAKE_INSTALL_PREFIX=%prefix -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS"
make %{?jobs:-j %jobs} VERBOSE=1

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf `find $RPM_BUILD_ROOT -name accordion*.xpm`
rm -rf `find $RPM_BUILD_ROOT -name custodes*.xpm`
rm -f $RPM_BUILD_ROOT/opt/kde3/share/applications/*/*.desktop
%suse_update_desktop_file -D rosegarden -i rosegarden AudioVideo Sequencer
%find_lang rosegarden
%fdupes -s $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files -f rosegarden.lang
%defattr(-, root, root)
%doc AUTHORS COPYING README TRANSLATORS
/opt/kde3/bin/*
# /opt/kde3/share/applications/*
%{_datadir}/applications/*
/opt/kde3/share/apps/rosegarden
/opt/kde3/share/apps/profiles
/opt/kde3/share/icons/*
/opt/kde3/share/mimelnk/audio/*

%changelog
* Wed Jun 18 2008 tiwai@suse.de
- updated to version 1.7.0:
  * Check headers in Notation view
  * Test to see if a newer version is available
  * New Welcome dialog
  * Notation: The preferred stem direction in a chord around the
  middle line is down
  * Notation: The preferred beam position in a beamed group around
  the middle is below
  * Add icons for Add tempo and Add time signature
  * Move to Staff Above or Staff Below
  * Radically reformed grace notes now work correctly
  * Sync segments to track parameters
  * "Convert notation for..." function added
  * Expanded/corrected instrument presets database
  * Export markers to LilyPond
  * Alternative shortcut for Play/Stop in laptop use: Ctrl+Return
  * New track parameters for exporting square, curly, and nested
  brackets to LilyPond
  * The transport mode setting is now stored with and restored
  from individual compositions
  * Export the new radically reformed grace notes into LilyPond
  syntax
  * Now ties can finally be flipped
  * Arbitrary dynamics exported to LilyPond as markups if they
  are not on LilyPond's list of supported dynamic types
  * Manually repositioned rests (as when rearranging badly
  rendered overlapping voices) are now exported to LilyPond
  * Set a quick playback position marker in the main window with
  Ctrl+1 and recall it with 1
  * New variable height tracks finally make working with
  overlapping segments
  * Smarter selections in matrix and notation views now allow you
  to remove individual, previously-selected events without
  beginning the entire selection process from scratch
* Fri Jan 11 2008 tiwai@suse.de
- updated to version 1.6.1:
  * fixed tempo changes saving
  * fixed the handling of logarithmic control parameters for
  LADSPA and DSSI plugins
* Mon Dec 17 2007 tiwai@suse.de
- updated to version 1.6.0:
  * Diatonic transpose
  * Fretboards
  * Marker ruler usability improvements
  * Multiple lines of lyrics
  * Highlight overlapping notes in notation editor
  * Better LilyPond output dialog, preview through Lilypond,
  print through LilyPond from segment and notation views
  * In-place LilyPond header value editing in LilyPond option dialog
  * Transposition of the staff shown in LilyPond output
  * Show current segment colour in raw note ruler, permit cycling
  through segments on single staff in notation
  * Menus and configuration dialog reorganised for easier access and
  greater clarity
  * Infrared remote control: Support for IRKick
  * Add track(s) in middle
  * Use RTC timer when recent kernel and ALSA versions are detected
  * Expanded documentation
  * Reorganised configuration dialog into standard/advanced options
  * Some revised example files
  * Nice new splash screen
* Wed Nov 07 2007 tiwai@suse.de
- fix build with gcc 4.3.
* Mon Sep 03 2007 schwab@suse.de
- Fix broken compiler flags.
- Fix undefined operation.
* Mon Aug 06 2007 tiwai@suse.de
- add requirement of libsndfile-progs package (#297511)
* Fri Jun 22 2007 tiwai@suse.de
- fix desktop file to make rpmlint happier
* Wed Jun 20 2007 tiwai@suse.de
- fix fdupes usage
* Wed May 23 2007 tiwai@suse.de
- use fdupes to reduce file size
* Thu May 03 2007 wstephenson@suse.de
- fix buildrequires libraptor1-devel -> libraptor-devel
* Thu May 03 2007 lrupp@suse.de
- fix buildrequires raptor-devel -> libraptor1-devel
* Tue Apr 17 2007 tiwai@suse.de
- fix buildrequires ladspa -> ladspa-devel
* Tue Mar 27 2007 tiwai@suse.de
- updated to version 1.5.1:
  * minor bugfix release
* Wed Feb 07 2007 tiwai@suse.de
- updated to version 1.5.0:
  * Add timestretching for audio segments
  * Add import and sample-rate conversion helper for arbitrary
  audio file types
  * Add helpful context help to status bar in track and matrix
  editors
  * Various improvements to the usability and friendliness of
  the matrix editor
  * Add tempo tapping to tempo dialog
  * Further fixes and enhancements to Lilypond export
  * New Invert, Retrograde, Retrograde Invert editing functions
  * Make transport window remember its previous location
  * More helpful warning dialogs on startup if something fails
  to start properly
  * Change build system from scons to cmake
  * Reorganise code into a new directory structure with a far
  more consistent file naming and organisation scheme
- fixed BuildRequires for cmake
- use own *.desktop to avoid nasty problems with
  %%suse_update_desktop_file and the desktop file checker.
* Tue Jan 16 2007 tiwai@suse.de
- fix compilation with RPM_OPT_FLAGS
- fix x = x++ style bugs
* Thu Oct 12 2006 tiwai@suse.de
- updated to version 1.4.0:
  * Multiple MIDI tracks can be recorded
  * A new track parameter box
  * The composition no longer has a fixed duration
  * Special directives in the notation editor can be used
  * Soprano clef has been added
  * Lilypond export now supports LilyPond 2.8
  * Cut, copy and paste "ranges" within a composition
  * Can split selected segments at an arbitrary time
  * Tempos can now be "ramped"
  * The tempo ruler has been overhauled
  * Can zoom in and out of editing views
  * The Panic function is now accessible
  * Can now respond to MMC/MTC
* Fri May 19 2006 tiwai@suse.de
- updated to rosegarden-4-1.2.3:
  * based on scons instead of auto-tools
  * fix for gcc-4.1
  * MTC support
  * improved backend supports
- fixed spec for scons
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 18 2006 tiwai@suse.de
- disabled mad support (to be distributable)
* Thu Oct 27 2005 stbinner@suse.de
- fix include hints for compilation with Qt 3.3.5
* Wed Oct 12 2005 tiwai@suse.de
- removed glib* from neededforbuild.
* Wed May 25 2005 adrian@suse.de
- some more gcc4 fixes
* Tue Apr 19 2005 tiwai@suse.de
- another fix for gcc-4.0 (64bit arch).
* Fri Apr 15 2005 tiwai@suse.de
- fixed the build with gcc-4.0.
* Thu Apr 14 2005 sbrabec@suse.cz
- Added audiofile-devel to neededforbuild.
* Thu Feb 17 2005 adrian@suse.de
- menu entry moved to xdg dir
* Wed Feb 16 2005 tiwai@suse.de
- updated to version 1.0-final.
* Fri Jan 21 2005 tiwai@suse.de
- updated to version 1.0pre1.
* Mon Sep 06 2004 tiwai@suse.de
- updated to version 0.9.9.
* Fri Apr 16 2004 tiwai@suse.de
- updated to version 0.9.7.
- disabled the removal of $RPM_BUILD_ROOT in %%install.
* Thu Apr 15 2004 coolo@suse.de
- build without unsermake
* Sun Feb 22 2004 ro@suse.de
- use TOPSUBDIRS instead of SUBDIRS in top Makefile.am
* Mon Feb 16 2004 tiwai@suse.de
- build as non-root.
* Wed Jan 14 2004 tiwai@suse.de
- updated to version 0.9.6.
* Fri Nov 07 2003 ro@suse.de
- fix compilation
* Mon Sep 15 2003 tiwai@suse.de
- build without the optimization.
- fixed the segfault at double-click.
* Tue Aug 12 2003 adrian@suse.de
- add Categories
* Tue Jun 17 2003 kukuk@suse.de
- Fix usage of %%find_lang
* Thu Jun 12 2003 coolo@suse.de
- use %%find_lang
* Fri Jun 06 2003 tiwai@suse.de
- updated to version 0.9.1.
- remove CVS directories in the documentaions.
* Fri Apr 11 2003 ro@suse.de
- updated admin dir
* Tue Feb 25 2003 aj@suse.de
- Add missing assert include.
* Thu Jan 30 2003 tiwai@suse.de
- initial version: 0.8.5.
openSUSE Build Service is sponsored by