File fluidsynth-dssi.spec of Package fluidsynth-dssi

#
# spec file for package fluidsynth-dssi
#
# Copyright (c) 2011 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:           fluidsynth-dssi
BuildRequires:  alsa-devel dssi-devel fluidsynth-devel gtk2-devel
BuildRequires:  libjack-devel liblo-devel update-desktop-files
BuildRequires:  libtool
Summary:        Fluidsynth Plug-In for Disposable Soft Synth Interface
Version:        1.0.0
Release:        1
Group:          Productivity/Multimedia/Sound/Midi
AutoReqProv:    on
License:        GPL-2.0+
Url:            http://dssi.sf.net
Source:         %{name}-%{version}.tar.bz2
Patch:          fluidsynth-dssi-nogtk1.diff
Patch1:         fluidsynth-dssi-add-closedir.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
FluidSynth-DSSI is the plug-in implementation of fluidsynth on DSSI
(Disposable Soft Synth Interface) with a GTK+ GUI.



Authors:
--------
    Sean Bolton <musound@jps.net>

%prep
%setup
%patch
%patch1 -p1

%build
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
%configure --with-gtk2
make

%install
%makeinstall

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

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

%files
%defattr(-,root,root)
%{_libdir}/dssi
%doc COPYING README ChangeLog TODO

%changelog
openSUSE Build Service is sponsored by