File seq24.spec of Package seq24

#
# spec file for package seq24 (Version 0.9.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           seq24
BuildRequires:  alsa-devel gcc-c++ jack-devel update-desktop-files
BuildRequires:  gtkmm2-devel
Summary:        A Small, Real-Time MIDI Sequencer
Version:        0.9.0
Release:        2
License:        GPLv2+
Group:          Productivity/Multimedia/Sound/Midi
Source:         http://launchpad.net/seq24/trunk/0.9.0/+download/%{name}-%{version}.tar.bz2
Source1:        %name.desktop
Source2:        seq24.png
Patch0:         seq24-buttonbox.patch
Patch1:         seq24-codeclenup.patch
Url:            https://launchpad.net/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 -q
%patch0
%patch1

%build
autoreconf --force --install
%configure
make %{?jobs:-j %jobs}

%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
%doc seq24usr.example
%doc %{_mandir}/man?/*
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png

%changelog
openSUSE Build Service is sponsored by