File qtractor.spec of Package qtractor

# spec file for package qtractor (Version 0.4.7)
# Copyright (c) 2010 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

# norootforbuild

Name:           qtractor
Version:        0.4.7
Release:        1
License:        GPLv2+
Group:          Productivity/Multimedia/Sound/Editors and Convertors
Summary:        An Audio/MIDI multi-track sequencer
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}.desktop
Patch:          qtractor-
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libqt4-devel >= 4.1
BuildRequires:  libjack-devel >= 0.100.0
BuildRequires:  alsa-devel
BuildRequires:  libsndfile-devel >= 1.0.11
BuildRequires:  libvorbis-devel
BuildRequires:  libsamplerate-devel
BuildRequires:  liblo-devel
BuildRequires:  ladspa-devel
BuildRequires:  dssi-devel
BuildRequires:  update-desktop-files
#librubberband is available since openSUSE 11.2
%if %suse_version > 1110
BuildRequires:  librubberband-devel
Requires:       jack

Qtractor is an Audio/MIDI multi-track sequencer application
written in C++ around the Qt4 toolkit using Qt Designer.

The initial target platform will be Linux, where the Jack Audio
Connection Kit (JACK) for audio, and the Advanced Linux Sound
Architecture (ALSA) for MIDI, are the main infrastructures to
evolve as a fairly-featured Linux Desktop Audio Workstation GUI,
specially dedicated to the personal home-studio.

%setup -q
[ -f Makefile.cvs ] && make -f Makefile.cvs

make %{?jobs:-j%jobs}

%suse_update_desktop_file -i %{name}


%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/32x32
%dir %{_datadir}/icons/hicolor/32x32/apps