LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File laditools.spec of Package laditools (Project home:opensuseitalia)

# Copyright (c) 2008 oc2pus
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments to toni@links2linux.de

# norootforbuild

%define _prefix	/usr

Summary:		Linux Audio Desktop Integration Tools
Name:			laditools
Version:		git
Release:		1.1
Source0:		%{name}-%{version}.tar.bz2
License:		GPL-2.0+
Group:			Productivity/Multimedia/Sound/Utilities
URL:			http://www.marcochapeau.org/software/laditools
BuildRequires:	python-devel
BuildRequires:	python-setuptools
%if 0%{?suse_version}
BuildRequires:	update-desktop-files
Requires:		a2jmidid
Requires:		dbus-1-python
Requires:		jack
Requires:		lash
Requires:		python >= %{py_ver}
Requires:		python-gtk
Requires:		pyxml
Requires:		vte
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root

LADITools is a set of tools aiming to achieve the goals of the
LADI project to improve desktop integration and user workflow of
Linux audio system based on JACK and LASH. Those tools take
advantage of the DBus interfaces recently added to JACK and
LASH to ease the configuration and use of those two great

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

%__python ./setup.py build

%__python ./setup.py install \
	--root=%{buildroot} \

%if 0%{?suse_version}
%suse_update_desktop_file ladiconf AudioVideo Music
%suse_update_desktop_file laditray AudioVideo Music

# done by %%doc macro
%__rm -r %{buildroot}%{_datadir}/doc/%{name}

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

%dir %{python_sitelib}/%{name}
%dir %{_datadir}/%{name}

* Sun Dec 14 2008 Toni Graffy <toni@links2linux.de> - 1.0rc1-0.pm.1
- Initial build 1.0rc1