File dssi.spec of Package dssi
#
# spec file for package dssi (Version 1.1.0)
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: dssi
BuildRequires: alsa-devel gcc-c++ ladspa-devel libjack-devel liblo-devel libsndfile-devel pkg-config
Summary: Disposable Soft Synth Interface
Version: 1.1.0
Release: 1
License: GPLv2+ ; LGPLv2.1+ ; Public Domain, Freeware
Group: Development/Libraries/C and C++
Source: %{name}-%{version}.tar.bz2
Patch: dssi-add-missing-closedir.diff
Url: http://dssi.sf.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Disposable Soft Synth Interface (DSSI, pronounced "dizzy") is a
proposal for a plug-in API for software instruments (soft synths) with
user interfaces, permitting them to be hosted in-process by Linux audio
applications. Think of it as LADSPA-for-instruments or something
comparable to a simpler version of VSTi.
Authors:
--------
Steve Harris <steve@plugin.org.uk>
Chris Cannam <cannam@all-day-breakfast.com>
Sean Bolton <musound@jps.net>
%package devel
Summary: Development Package for DSSI plugins
License: GPLv2+ ; LGPLv2.1+ ; Public Domain, Freeware
Group: Development/Libraries/C and C++
# note: dssi-devel doesn't require dssi itself; this contains just
# a header and a pkgconfig file.
Requires: glibc-devel, ladspa-devel
%description devel
This package contains files to be needed for building DSSI plugins.
%prep
%setup -q
%patch -p1
%build
autoreconf -fi
%configure
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_libdir}/dssi/*.la
make -C examples clean
rm -rf examples/.deps
rm -f examples/.cvsignore
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING README
%doc examples
%{_mandir}/man?/*
%{_bindir}/*
%{_libdir}/dssi
%files devel
%defattr(-,root,root)
%{_includedir}/dssi.h
%{_libdir}/pkgconfig/*.pc
%changelog