%define name    qtractor
%define version 0.4.5
%define release 29
%define prefix  /usr/local

Summary:	An Audio/MIDI multi-track sequencer
Name:		%{name}
Version:	%{version}
Release:	%{release}
Prefix:		%{prefix}
License:	GPL
Group:		Productivity/Multimedia/Sound/Midi
Source0:	%{name}-%{version}.tar.gz
URL:		http://qtractor.sourceforge.net/
Packager:	rncbc.org

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

BuildRequires:	qt-devel >= 4.1
BuildRequires:	jack-audio-connection-kit-devel >= 0.100.0
BuildRequires:	alsa-lib-devel
BuildRequires:	libsndfile-devel >= 1.0.11
BuildRequires:	libvorbis-devel
BuildRequires:	libmad-devel
BuildRequires:	libsamplerate-devel
BuildRequires:	rubberband-devel >= 1.0.1
BuildRequires:	liblo-devel
BuildRequires:	ladspa-devel
BuildRequires:	dssi-devel

%description
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.

%prep
%setup
[ -f Makefile.svn ] && %__make -f Makefile.svn

%build
%configure --with-vst=/usr/include/vstsdk2.3/source/common
%__make

%install
%makeinstall

%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf  %{buildroot}

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

%changelog
* Sat Jan 23 2010 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.4.5
- A Friskier Demivierge release.
* Sat Jan 16 2010 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.4.4
- Frisky Demivierge release.
* Mon Oct 05 2009 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.4.3
- Fussy Doula release.
* Thu Jun 04 2009 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.4.2
- Flaunty Demoness release.
* Sat Apr 04 2009 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.4.1
- Funky Dominatrix release.
* Fri Mar 13 2009 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.4.0
- Foxy Dryad release.
* Thu Dec 25 2008 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.3.0
- Fluffy Doll release.
* Sun Oct 05 2008 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.2.2
- Flirty Ditz release.
* Sat Aug 30 2008 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.2.1
- Fainty Diva release.
* Fri Jul 18 2008 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.2.0
- Frolic Demoiselle release.
* Fri May 02 2008 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.1.3
- Frugal Damsel release.
* Tue Apr 01 2008 Rui Nuno Capela <rncbc@users.sourceforge.net>
- librubberband requirement added.
* Sun Mar 23 2008 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.1.2
- Frantic Dame release.
* Sat Feb 16 2008 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.1.1
- Futile Duchess release.
* Sat Jan  5 2008 Rui Nuno Capela <rncbc@users.sourceforge.net> - 0.1.0
- Frivolous Debutante release.
* Fri Nov 30 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Adolescence Prime pre-release.
* Mon Nov 12 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Twelfth Tight pre-release.
* Wed Oct 31 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Eleventh Tower pre-release.
* Tue Oct 09 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Tenth Commencement pre-release.
* Sat Sep 08 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Ninth Hitch Nail pre-release.
* Thu Jul 19 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Eight Wanderer pre-release.
* Wed Jun 20 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Application icon is now installed to (prefix)/share/pixmaps.
- Declared fundamental build and run-time requirements.
- Destination install directory prefix is now in spec.
- Spec is now a bit more openSUSE compliant.
* Mon Apr 16 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Minor descriptive corrections.
* Fri Jan 05 2007 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Got rid of QTDIR setting from PATH.
* Thu Nov 02 2006 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Filled up package description
* Wed Aug 24 2004 Rui Nuno Capela <rncbc@users.sourceforge.net>
- Created initial qtractor.spec
