File jack-rack.spec of Package jack-rack

#
# spec file for package jack-rack (Version 1.4.7)
#
# Copyright (c) 2009 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:           jack-rack
BuildRequires:  jack-devel ladspa-devel libgnomeui-devel liblrdf-devel libraptor-devel update-desktop-files
Summary:        LADSPA Effects Rack for JACK
Version:        1.4.7
Release:        115
License:        GPL v2 or later
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
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

%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0
%{?suse_update_config:%{suse_update_config -f}}
autoreconf -fi
%configure \
    --disable-desktop-inst
make

%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