File qjackctl.spec of Package qjackctl

#
# spec file for package qjackctl (Version 0.3.4)
#
# 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:           qjackctl
BuildRequires:  alsa-devel libjack-devel libqt4-devel update-desktop-files
Summary:        Qt-based interface to JACK
Version:        0.3.4
Release:        2
Group:          Productivity/Multimedia/Sound/Utilities
License:        GPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://qjackctl.sf.net
Source:         %{name}-%{version}.tar.bz2
Patch:          qjackctl-translation-folder.diff
Requires:       jack

%description
Qjackctl is a simple Qt application to control the JACK sound server
daemon (http://jackit.sourceforge.net), for the Linux Audio Desktop
infrastructure.



Authors:
--------
    Rui Nuno Capela <rncbc@rncbc.org>

%prep
%setup -q
%patch
# fix up desktop file
sed -i -e'/^X-SuSE-translate/d' qjackctl.desktop.in

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

%install
%makeinstall
%suse_update_desktop_file qjackctl Music AudioVideo 

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%{_datadir}/qjackctl

%changelog
openSUSE Build Service is sponsored by