File seq24.spec of Package seq24

#
# spec file for package seq24 (Version 0.8.7)
#
# 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:           seq24
BuildRequires:  alsa-devel gcc-c++ jack-devel update-desktop-files
%if %suse_version > 1010
BuildRequires:  gtkmm2-devel
%else
BuildRequires:  gtkmm24-devel
%endif
Summary:        A Small, Real-Time MIDI Sequencer
Version:        0.8.7
Release:        232
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Midi
Source:         %{name}-%{version}.tar.bz2
Source1:        %name.desktop
Source2:        seq24.png
Patch:          seq24-gcc43-fixes.diff
Patch1:         seq24-assert.patch
Patch2:         seq24-sigc-2.2-fix.diff
Url:            http://www.filter24.org/seq24/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Seq24 is a real-time midi sequencer. It was created to provide a very
simple interface for editing and playing MIDI 'loops.'



Authors:
--------
    Rob C. Buse <rcbuse@filter24.org>

%prep
%setup
%patch
%patch1
%if %suse_version > 1030
%patch2
%endif

%build
autoreconf --force --install
%configure
make

%install
%makeinstall
%suse_update_desktop_file -i %name AudioVideo Sequencer
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README RTC SEQ24
%{_bindir}/*
/usr/share/applications/*.desktop
%{_datadir}/pixmaps/*.png

%changelog
* Wed Apr 16 2008 tiwai@suse.de
- fix build with recent sigc++-2.
* Wed Nov 28 2007 tiwai@suse.de
- fix build with old suse version
* Wed Oct 31 2007 ro@suse.de
- include assert.h for alsa source
* Mon Oct 22 2007 tiwai@suse.de
- fix build with gcc 4.3
* Thu Oct 12 2006 tiwai@suse.de
- updated to version 0.8.7:
  * Undo support (Ctrl-Z)
  * Ctrl + Select Adds to Selection
  * Window Raise on Edit
  * Clipboard shared among editors
  * Items remain selected after edit
  * Can now 'paint' notes / events in editor
  * Paste buffer doesn't clear
  * Added new rc file for custom named ports and CC codes
  * Keypress Start (space) and Stop (escape)
  * Shift + Middle Mouse will now stretch events over range
* Thu May 18 2006 tiwai@suse.de
- updated to version 0.8.6:
  * use gtkmm 2.4 or later
  * new song editor
  * loop sync with jack transport
  * midi clock option, split loops, manual midi ports
  * menug bug and cpu hog fixes
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Aug 04 2005 tiwai@suse.de
- updated to version 0.6.3.
* Fri Feb 11 2005 ro@suse.de
- change to libsigc++12 in neededforbuild
* Fri Jan 21 2005 tiwai@suse.de
- updated to version 0.6.0.  Linked with gtk2.
* Thu Aug 05 2004 tiwai@suse.de
- updated to version 0.5.2.
* Mon Feb 16 2004 tiwai@suse.de
- updated to version 0.4.4.
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Fri Aug 15 2003 adrian@suse.de
- add desktop file
* Mon Aug 11 2003 tiwai@suse.de
- updated to version 0.4.3.
* Fri Jul 18 2003 tiwai@suse.de
- initial version: 0.4.2.
openSUSE Build Service is sponsored by