File fluidsynth-dssi.spec of Package fluidsynth-dssi

#
# spec file for package fluidsynth-dssi (Version 0.9.1)
#
# Copyright (c) 2007 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:           fluidsynth-dssi
BuildRequires:  alsa-devel dssi fluidsynth-devel gtk2-devel jack-devel ladspa-devel liblo-devel update-desktop-files
Summary:        Fluidsynth Plug-In for Disposable Soft Synth Interface
Version:        0.9.1
Release:        61
Group:          Productivity/Multimedia/Sound/Midi
Autoreqprov:    on
License:        GNU General Public License (GPL)
URL:            http://dssi.sf.net
Source:         %{name}-%{version}.tar.bz2
Patch:          fluidsynth-dssi-nogtk1.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
%{?suse_update_config:%{suse_update_config -f}}

%build
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
./configure --prefix=%{_prefix} \
  --libdir=%{_libdir} \
  --with-gtk2
make

%install
make install DESTDIR=$RPM_BUILD_ROOT

%post
%run_ldconfig

%postun
%run_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
* Tue Apr 17 2007 - tiwai@suse.de
- fix buildrequires ladspa -> ladspa-devel
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 12 2005 - tiwai@suse.de
- removed gtk1 support.
- removed glib* from neededforbuild.
* Tue Jun 14 2005 - tiwai@suse.de
- moved from fluidsynth sub-package: version 0.9.1.
openSUSE Build Service is sponsored by