File qjackctl.spec of Package qjackctl
#
# spec file for package qjackctl
#
# 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: qjackctl
Version: 0.3.8
Release: 1
License: GPLv2+
Summary: Qt-based interface to JACK
Url: http://qjackctl.sf.net
Group: Productivity/Multimedia/Sound/Utilities
Source: %{name}-%{version}.tar.bz2
BuildRequires: alsa-devel
BuildRequires: libjack-devel
BuildRequires: libqt4-devel
BuildRequires: update-desktop-files
Requires: jack
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
JACK Audio Connection Kit - Qt GUI Interface: A simple Qt application
to control the JACK server. Written in C++ around the Qt4 toolkit
for X11, most exclusively using Qt Designer. Provides a simple GUI
dialog for setting several JACK server parameters, which are properly
saved between sessions, and a way control of the status of the audio
server. With time, this primordial interface has become richer by
including a enhanced patchbay and connection control features.
%prep
%setup -q
# fix up desktop file
sed -i -e'/^X-SuSE-translate/d' src/qjackctl.desktop.in
%build
[ -f Makefile.svn ] && make -f Makefile.svn
%configure
## disable parallel build for now: %{?_smp_mflags}, because of qt bug:
## see http://bugs.gentoo.org/260244
make
%install
%make_install
%suse_update_desktop_file qjackctl Music AudioVideo
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README TODO
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/32x32
%dir %{_datadir}/icons/hicolor/32x32/apps
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/locale/%{name}_*.qm
%{_mandir}/man1/%{name}.1.gz
%changelog