File dssi.spec of Package dssi
#
# spec file for package dssi
#
# Copyright (c) 2011 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/
#
Name: dssi
BuildRequires: alsa-devel gcc-c++ ladspa-devel libjack-devel liblo-devel libsndfile-devel pkg-config
BuildRequires: libtool
Summary: Disposable Soft Synth Interface
Version: 1.1.0
Release: 5
License: GPLv2+ ; LGPLv2.1+ ; Public Domain, Freeware
Group: Development/Libraries/C and C++
Source: %{name}-%{version}.tar.bz2
Patch: dssi-add-missing-closedir.diff
Patch1: dssi-linking.patch
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.
%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
%patch1
%build
mkdir m4
autoreconf -fiv
%configure
make %{?_smp_mflags}
%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
%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