2008-02-15 01:27:33 +01:00
|
|
|
#
|
2011-11-13 10:43:06 +01:00
|
|
|
# spec file for package ladspa
|
2008-02-15 01:27:33 +01:00
|
|
|
#
|
2013-09-27 09:38:03 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-02-15 01:27:33 +01:00
|
|
|
#
|
2009-06-19 00:56:27 +02:00
|
|
|
# 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.
|
|
|
|
|
2008-02-15 01:27:33 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ladspa
|
2012-02-14 12:36:53 +01:00
|
|
|
BuildRequires: gcc-c++
|
2008-02-15 01:27:33 +01:00
|
|
|
Summary: The Linux Audio Developer's Simple Plug-In API
|
2012-02-09 15:22:16 +01:00
|
|
|
License: LGPL-2.1+
|
2011-05-04 19:38:04 +02:00
|
|
|
Group: Productivity/Multimedia/Sound/Utilities
|
2012-02-14 12:36:53 +01:00
|
|
|
Version: 1.13
|
|
|
|
Release: 0
|
2008-02-15 01:27:33 +01:00
|
|
|
AutoReq: on
|
|
|
|
Autoprov: off
|
2013-12-16 20:49:57 +01:00
|
|
|
Source: ladspa_sdk_1.13.tar.bz2
|
2008-02-15 01:27:33 +01:00
|
|
|
Patch: ladspa.dif
|
|
|
|
Url: http://www.ladspa.org/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Linux Audio Developer's Simple Plug-in API (LADSPA) provides the
|
|
|
|
ability to write simple plug-in audio processors in C/C++ and link them
|
2013-12-16 20:49:57 +01:00
|
|
|
dynamically. This package contains the plugins built from LADSPA SDK.
|
2008-02-15 01:27:33 +01:00
|
|
|
|
2013-12-11 11:51:06 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Include Files mandatory for Development
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-12-16 20:49:57 +01:00
|
|
|
%if 0%{suse_version} > 1110
|
2013-12-11 11:51:06 +01:00
|
|
|
BuildArch: noarch
|
2013-12-16 20:49:57 +01:00
|
|
|
%endif
|
2013-12-11 11:51:06 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains include files to develop LADSPA plugins.
|
|
|
|
|
2008-02-15 01:27:33 +01:00
|
|
|
%prep
|
2013-12-16 20:49:57 +01:00
|
|
|
%setup -q -n ladspa_sdk
|
|
|
|
%patch -p1
|
|
|
|
ln -s ../ladspa.h src/plugins/ladspa.h
|
2008-02-15 01:27:33 +01:00
|
|
|
|
|
|
|
%build
|
2009-06-20 04:16:06 +02:00
|
|
|
# This package failed when testing with -Wl,-as-needed being default.
|
|
|
|
# So we disable it here, if you want to retest, just delete this comment and the line below.
|
|
|
|
export SUSE_ASNEEDED=0
|
2013-12-16 20:49:57 +01:00
|
|
|
make -C src %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" targets
|
2008-02-15 01:27:33 +01:00
|
|
|
|
|
|
|
%install
|
2013-12-16 20:49:57 +01:00
|
|
|
make -C src \
|
|
|
|
INSTALL_PLUGINS_DIR="$RPM_BUILD_ROOT"%{_libdir}/ladspa \
|
2008-02-15 01:27:33 +01:00
|
|
|
INSTALL_INCLUDE_DIR="$RPM_BUILD_ROOT"%{_includedir} \
|
|
|
|
INSTALL_BINARY_DIR="$RPM_BUILD_ROOT"%{_bindir} install
|
2013-12-11 11:51:06 +01:00
|
|
|
# devel package
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
|
2013-12-16 20:49:57 +01:00
|
|
|
cp -av doc/* $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
|
2013-12-11 11:51:06 +01:00
|
|
|
ln -sf %{_includedir}/ladspa.h $RPM_BUILD_ROOT%{_docdir}/%{name}-devel/ladspa.h.txt
|
2008-02-15 01:27:33 +01:00
|
|
|
|
2013-12-16 20:49:57 +01:00
|
|
|
%files
|
2008-02-15 01:27:33 +01:00
|
|
|
%defattr(-,root,root)
|
2013-12-16 20:49:57 +01:00
|
|
|
%doc README
|
2008-02-15 01:27:33 +01:00
|
|
|
%{_libdir}/ladspa
|
|
|
|
%{_bindir}/*
|
|
|
|
|
2013-12-11 11:51:06 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}-devel
|
|
|
|
%{_includedir}/*
|
|
|
|
|
2008-02-15 01:27:33 +01:00
|
|
|
%changelog
|