2004-11-08 04:40:09 +00:00
|
|
|
Name: ladspa
|
2008-09-05 19:35:31 +00:00
|
|
|
Version: 1.13
|
|
|
|
Release: 1%{?dist}
|
2005-04-06 22:12:20 +00:00
|
|
|
|
2005-03-03 22:41:31 +00:00
|
|
|
Summary: LADSPA SDK, example plug-ins and tools
|
2005-02-28 21:12:57 +00:00
|
|
|
|
2004-11-08 04:40:09 +00:00
|
|
|
Group: System Environment/Libraries
|
2008-08-05 20:00:57 +00:00
|
|
|
License: LGPLv2+
|
2004-11-08 04:40:09 +00:00
|
|
|
URL: http://www.ladspa.org/
|
|
|
|
Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
|
2008-09-05 19:35:31 +00:00
|
|
|
Patch1: ladspa-1.13-plugindir.patch
|
2004-11-08 04:40:09 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-02-28 21:12:57 +00:00
|
|
|
|
2004-11-08 04:40:09 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
%description
|
|
|
|
There is a large number of synthesis packages in use or development on
|
|
|
|
the Linux platform at this time. The Linux Audio Developer's Simple
|
|
|
|
Plugin API (LADSPA) attempts to give programmers the ability to write
|
|
|
|
simple `plugin' audio processors in C/C++ and link them dynamically
|
|
|
|
against a range of host applications.
|
2005-02-28 21:12:57 +00:00
|
|
|
|
2004-11-08 04:40:09 +00:00
|
|
|
This package contains the example plug-ins and tools from the LADSPA SDK.
|
2005-02-28 21:12:57 +00:00
|
|
|
|
2004-11-08 04:40:09 +00:00
|
|
|
%package devel
|
2005-03-03 22:41:31 +00:00
|
|
|
Summary: Linux Audio Developer's Simple Plug-in API
|
2004-11-08 04:40:09 +00:00
|
|
|
Group: Development/Libraries
|
2005-03-03 22:41:31 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-11-08 04:40:09 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
ladspa-devel contains the ladspa.h header file.
|
2005-02-28 21:12:57 +00:00
|
|
|
|
2004-11-08 04:40:09 +00:00
|
|
|
Definitive technical documentation on LADSPA plug-ins for both the host
|
|
|
|
and plug-in is contained within copious comments within the ladspa.h
|
|
|
|
header file.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n ladspa_sdk
|
2008-09-05 19:35:31 +00:00
|
|
|
%patch1 -p0 -b .plugindir
|
2006-09-16 16:29:40 +00:00
|
|
|
# respect RPM_OPT_FLAGS
|
2008-09-05 19:35:31 +00:00
|
|
|
perl -pi -e 's/^(CFLAGS.*)-O3(.*)/$1\$\(RPM_OPT_FLAGS\)$2 -DPLUGINDIR=\$\(PLUGINDIR\)/' src/makefile
|
2004-11-08 04:40:09 +00:00
|
|
|
|
|
|
|
# fix links to the header file in the docs
|
|
|
|
cd doc
|
|
|
|
perl -pi -e "s!HREF=\"ladspa.h.txt\"!href=\"file:///usr/include/ladspa.h\"!" *.html
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
cd src
|
2008-09-05 19:35:31 +00:00
|
|
|
PLUGINDIR=\\\"%{_libdir}/ladspa\\\" make targets %{?_smp_mflags} LD="ld --build-id"
|
2004-11-08 04:40:09 +00:00
|
|
|
|
|
|
|
#make test
|
|
|
|
#make check
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
## ladspa_sdk uses mkdirhier for install which is provided by XFree86
|
|
|
|
## we don't want to depend on XFree86 for building
|
|
|
|
## so let's make these dirs ourselves
|
2006-09-16 16:29:40 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/ladspa
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_includedir}/ladspa
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}/ladspa
|
2004-11-08 04:40:09 +00:00
|
|
|
|
|
|
|
cd src
|
|
|
|
make install \
|
2006-09-16 16:29:40 +00:00
|
|
|
INSTALL_PLUGINS_DIR=$RPM_BUILD_ROOT%{_libdir}/ladspa \
|
|
|
|
INSTALL_INCLUDE_DIR=$RPM_BUILD_ROOT%{_includedir} \
|
|
|
|
INSTALL_BINARY_DIR=$RPM_BUILD_ROOT%{_bindir}
|
2005-02-28 21:12:57 +00:00
|
|
|
|
2007-04-23 09:35:27 +00:00
|
|
|
## this is where plugins will install their rdf
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf
|
|
|
|
|
2004-11-08 04:40:09 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc doc/COPYING
|
|
|
|
%dir %{_libdir}/ladspa
|
|
|
|
%{_libdir}/ladspa/*.so
|
|
|
|
%{_bindir}/analyseplugin
|
|
|
|
%{_bindir}/applyplugin
|
|
|
|
%{_bindir}/listplugins
|
2007-04-23 09:35:27 +00:00
|
|
|
%{_datadir}/ladspa
|
2004-11-08 04:40:09 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc doc/*.html
|
|
|
|
%{_includedir}/ladspa.h
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2008-09-05 19:35:31 +00:00
|
|
|
* Fri Sep 5 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.13-1
|
|
|
|
- link with build-id to fix rawhide build
|
|
|
|
- upgrade to 1.13 (GCC4 build-fix and string fixes) (#449542)
|
|
|
|
- add -plugindir patch so listplugin and friends will work by default
|
|
|
|
(Anthony Green #324741)
|
|
|
|
|
2008-08-05 20:00:57 +00:00
|
|
|
* Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-10
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-20 04:58:32 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.12-9
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-04-23 09:35:27 +00:00
|
|
|
* Mon Apr 23 2007 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 1.12-8
|
|
|
|
- own the datadir. Fixes #231706.
|
|
|
|
|
2006-09-16 16:29:40 +00:00
|
|
|
* Sat Sep 16 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 1.12-7
|
|
|
|
- include gcc 4.1 patch from Mandriva
|
|
|
|
|
2006-03-05 14:22:08 +00:00
|
|
|
* Sun Mar 05 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 1.12-6
|
|
|
|
- rebuilt for FE5
|
|
|
|
|
2005-05-23 00:25:50 +00:00
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.12-5
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2005-04-06 22:12:20 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-11-08 04:40:09 +00:00
|
|
|
* Sun Sep 07 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 0:1.12-0.fdr.3: readded epoch, fixed group
|
|
|
|
|
|
|
|
* Fri Sep 05 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 1.12-0.fdr.2: fixed RPM_OPT_FLAGS respect
|
|
|
|
|
|
|
|
* Thu May 29 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
- 0:1.12-0.fdr.1: initial RPM release
|