File jack-rack.spec of Package jack-rack

#
# spec file for package jack-rack
#
# 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/
#

Name:           jack-rack
BuildRequires:  automake
BuildRequires:  jack-devel
BuildRequires:  ladspa-devel
BuildRequires:  libgnomeui-devel
BuildRequires:  liblrdf-devel
BuildRequires:  libraptor-devel
BuildRequires:  update-desktop-files
Summary:        LADSPA Effects Rack for JACK
Version:        1.4.7
Release:        0
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Utilities
Requires:       jack ladspa
Source:         %{name}-%{version}.tar.bz2
Patch:          jack-rack-undeprec.dif
Patch1:         jack-rack-inc-fix.diff
Patch2:         jack-rack-gtk-old-tooltip-fix.diff
Patch3:         jack-rack-ld_fix.diff
Url:            http://jack-rack.sf.net/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
JACK Rack is a stereo LADSPA effects rack for the JACK audio API.  You
can insert LADSPA effects through JACK Rack. It uses GTK+ 2 for the
GUI.



Authors:
--------
    Bob Ham <node@users.sourceforge.net>

%prep
%setup -q
%patch
%patch1
%if %suse_version < 1030
%patch2
%endif
%patch3

%build
autoreconf -fi
%configure \
    --disable-desktop-inst
make %{?_smp_mflags}

%install
%makeinstall
%suse_update_desktop_file jack-rack AudioVideo Music
%find_lang %{name}

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

%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
%{_bindir}/*
%{_datadir}/applications/*
%dir %{_datadir}/dtds
%{_datadir}/dtds/*
%{_datadir}/jack-rack
%{_datadir}/pixmaps/*.png

%changelog
openSUSE Build Service is sponsored by