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
|
|
|
#
|
2022-01-31 16:42:37 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
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.
|
|
|
|
|
2022-01-31 16:42:37 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-02-15 01:27:33 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ladspa
|
2022-01-31 16:42:37 +01:00
|
|
|
Version: 1.17
|
2014-03-03 11:50:59 +01:00
|
|
|
Release: 0
|
2008-02-15 01:27:33 +01:00
|
|
|
Summary: The Linux Audio Developer's Simple Plug-In API
|
2019-01-06 10:20:06 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2011-05-04 19:38:04 +02:00
|
|
|
Group: Productivity/Multimedia/Sound/Utilities
|
2022-01-31 16:42:37 +01:00
|
|
|
URL: https://www.ladspa.org/
|
2014-03-03 11:59:38 +01:00
|
|
|
Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
|
2017-11-04 10:20:53 +01:00
|
|
|
Source1: baselibs.conf
|
2014-03-03 11:50:59 +01:00
|
|
|
BuildRequires: gcc-c++
|
2022-01-31 16:42:37 +01:00
|
|
|
BuildRequires: libsndfile-devel
|
2014-03-03 11:50:59 +01:00
|
|
|
AutoReq: on
|
|
|
|
Autoprov: off
|
2008-02-15 01:27:33 +01:00
|
|
|
|
|
|
|
%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++
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains include files to develop LADSPA plugins.
|
|
|
|
|
2008-02-15 01:27:33 +01:00
|
|
|
%prep
|
2019-01-06 10:20:06 +01:00
|
|
|
%setup -q -n %{name}_sdk_%{version}
|
|
|
|
%autopatch -p0
|
2008-02-15 01:27:33 +01:00
|
|
|
|
|
|
|
%build
|
2019-01-06 10:20:06 +01:00
|
|
|
export LADSPA_PATH="%{_libdir}/ladspa"
|
2019-01-06 14:47:40 +01:00
|
|
|
make -C src CFLAGS="-I. %{optflags} -fPIC -ggdb -DDEFAULT_LADSPA_PATH=%{_libdir}/ladspa" targets
|
2008-02-15 01:27:33 +01:00
|
|
|
|
|
|
|
%install
|
2013-12-16 20:49:57 +01:00
|
|
|
make -C src \
|
2014-03-03 11:50:59 +01:00
|
|
|
INSTALL_PLUGINS_DIR=%{buildroot}%{_libdir}/ladspa \
|
|
|
|
INSTALL_INCLUDE_DIR=%{buildroot}%{_includedir} \
|
|
|
|
INSTALL_BINARY_DIR=%{buildroot}%{_bindir} install
|
2013-12-11 11:51:06 +01:00
|
|
|
# devel package
|
2014-03-03 11:50:59 +01:00
|
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}-devel
|
|
|
|
cp -av doc/* %{buildroot}%{_docdir}/%{name}-devel
|
|
|
|
ln -sf %{_includedir}/ladspa.h %{buildroot}%{_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
|
2019-01-06 10:20:06 +01:00
|
|
|
%license doc/COPYING
|
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
|