A new user interface for you! Read more...

File ladish.spec of Package ladish

%define _prefix	/usr

Summary:		LADI Audio Session Handler
Name:			ladish
Version:		git
Release:		0
Source0:		%{name}-%{version}.tar.bz2
License:		GPL
Group:			Productivity/Multimedia/Sound/Utilities
URL:			http://ladish.org

BuildRequires:		libglade2-devel
BuildRequires:		jack-ladish-devel
BuildRequires:		gcc-c++
BuildRequires:		libuuid-devel
BuildRequires:		dbus-1-devel
BuildRequires:		libexpat-devel
BuildRequires:		gtk2-devel
BuildRequires:		dbus-1-glib-devel
BuildRequires:		alsa-devel
BuildRequires:		dbus-1-devel
BuildRequires:		pkgconfig
BuildRequires:		boost-devel
BuildRequires:		libflowcanvas3-devel
BuildRequires:		python-gtk-devel
BuildRequires:		glib2-devel
BuildRequires:		python
Requires:		python-yaml
BuildRequires:		libgnomecanvasmm-devel
Requires:		laditools
Requires:		a2jmidid

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

%description
Session management system for JACK applications on GNU/Linux. 
Its aim is to have many different audio programs running at once, to save 
their setup, close them down and then easily reload the setup at some other
time. ladish doesn't deal with any kind of audio or MIDI data itself;
it just runs programs, deals with saving/loading (arbitrary) data and
connects JACK ports together. 

Ladish has a GUI frontend called gladish, based on lpatchage (LADI Patchage)
and the ladish_control command line app for headless operation.

%debug_package

%prep
%setup -q -n %{name}-%{version}

%build
./waf configure \
	--prefix=%{_prefix} \
	--enable-pkg-config-dbus-service-dir
./waf %{?jobs:-j%{jobs}}

%install
./waf \
	--destdir=%{buildroot} \
	install

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

%files
%defattr(-,root,root)
%doc %{_datadir}/%{name}/README
%doc %{_datadir}/%{name}/AUTHORS
%doc %{_datadir}/%{name}/COPYING
%doc %{_datadir}/%{name}/NEWS
%{_bindir}/gladish
%{_bindir}/jmcore
%{_bindir}/ladishd
%{_bindir}/ladish_control
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*.png
%{_datadir}/%{name}/gladish.ui
%{_datadir}/dbus-1/services/org.ladish.service
%{_datadir}/dbus-1/services/org.ladish.jmcore.service

%changelog