a7450c
Name:           ladspa
a7450c
Version:        1.13
a7450c
Release:        28%{?dist}
a7450c
a7450c
Summary:        Linux Audio Developer's Simple Plug-in API, examples and tools
a7450c
a7450c
License:        LGPLv2+
a7450c
URL:            http://www.ladspa.org/
a7450c
Source:         http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
a7450c
Patch1:         ladspa-1.13-plugindir.patch
a7450c
a7450c
BuildRequires:  perl-interpreter
a7450c
BuildRequires:  gcc-c++
a7450c
BuildRequires: make
a7450c
a7450c
%description
a7450c
There is a large number of synthesis packages in use or development on
a7450c
the Linux platform at this time. The Linux Audio Developer's Simple
a7450c
Plugin API (LADSPA) attempts to give programmers the ability to write
a7450c
simple `plugin' audio processors in C/C++ and link them dynamically
a7450c
against a range of host applications.
a7450c
a7450c
This package contains the example plug-ins and tools from the LADSPA SDK.
a7450c
a7450c
%package        devel
a7450c
Summary:        Linux Audio Developer's Simple Plug-in API
a7450c
Requires:       %{name} = %{version}-%{release}
a7450c
a7450c
%description    devel
a7450c
ladspa-devel contains the ladspa.h header file.
a7450c
a7450c
Definitive technical documentation on LADSPA plug-ins for both the host
a7450c
and plug-in is contained within copious comments within the ladspa.h
a7450c
header file.
a7450c
a7450c
a7450c
%prep
a7450c
%setup -q -n ladspa_sdk
a7450c
%patch1 -p0 -b .plugindir
a7450c
# respect RPM_OPT_FLAGS
a7450c
perl -pi -e 's/^(CFLAGS.*)-O3(.*)/$1\$\(RPM_OPT_FLAGS\)$2 -DPLUGINDIR=\$\(PLUGINDIR\)/' src/makefile
a7450c
# avoid X.org dependency
a7450c
perl -pi -e 's/-mkdirhier/-mkdir -p/' src/makefile
a7450c
a7450c
# fix links to the header file in the docs
a7450c
cd doc
a7450c
perl -pi -e "s!HREF=\"ladspa.h.txt\"!href=\"file:///usr/include/ladspa.h\"!" *.html
a7450c
a7450c
a7450c
%build
a7450c
cd src
a7450c
PLUGINDIR=\\\"%{_libdir}/ladspa\\\" make targets %{?_smp_mflags} LD="ld --build-id"
a7450c
a7450c
#make test
a7450c
#make check
a7450c
a7450c
a7450c
%install
a7450c
rm -rf $RPM_BUILD_ROOT
a7450c
a7450c
cd src
a7450c
make install \
a7450c
  INSTALL_PLUGINS_DIR=$RPM_BUILD_ROOT%{_libdir}/ladspa \
a7450c
  INSTALL_INCLUDE_DIR=$RPM_BUILD_ROOT%{_includedir} \
a7450c
  INSTALL_BINARY_DIR=$RPM_BUILD_ROOT%{_bindir}
a7450c
a7450c
## this is where plugins will install their rdf
a7450c
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf
a7450c
a7450c
a7450c
a7450c
%files
a7450c
%doc doc/COPYING
a7450c
%dir %{_libdir}/ladspa
a7450c
%{_libdir}/ladspa/*.so
a7450c
%{_bindir}/analyseplugin
a7450c
%{_bindir}/applyplugin
a7450c
%{_bindir}/listplugins
a7450c
%{_datadir}/ladspa
a7450c
a7450c
%files devel
a7450c
%doc doc/*.html
a7450c
%{_includedir}/ladspa.h
a7450c
a7450c
a7450c
%changelog
a7450c
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.13-28
a7450c
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
a7450c
  Related: rhbz#1991688
a7450c
a7450c
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.13-27
a7450c
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
a7450c
a7450c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-26
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a7450c
a7450c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-25
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a7450c
a7450c
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-24
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a7450c
a7450c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-23
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a7450c
a7450c
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-22
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a7450c
a7450c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-21
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a7450c
a7450c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-20
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a7450c
a7450c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-19
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a7450c
a7450c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-18
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a7450c
a7450c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-17
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a7450c
a7450c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-16
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a7450c
a7450c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-15
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a7450c
a7450c
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.13-14
a7450c
- Rebuilt for GCC 5 C++11 ABI change
a7450c
a7450c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-13
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a7450c
a7450c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-12
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a7450c
a7450c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-11
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a7450c
a7450c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-10
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a7450c
a7450c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-9
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a7450c
a7450c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-8
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a7450c
a7450c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-7
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a7450c
a7450c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-6
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a7450c
a7450c
* Sun Mar 22 2009 Robert Scheck <robert@fedoraproject.org> - 1.13-5
a7450c
- Really added the plugindir patch now (thanks to Karsten Hopp)
a7450c
- Avoid the make errors because of mkdirhier better than until now
a7450c
a7450c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a7450c
a7450c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
a7450c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a7450c
a7450c
* Sun Nov 23 2008 Thomas Vander Stichele <thomas at apestaart dot org>
a7450c
- 1.13-2
a7450c
- updated summary
a7450c
- not rebuilt yet
a7450c
a7450c
* Fri Sep  5 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.13-1
a7450c
- link with build-id to fix rawhide build
a7450c
- upgrade to 1.13 (GCC4 build-fix and string fixes) (#449542)
a7450c
- add -plugindir patch so listplugin and friends will work by default
a7450c
  (Anthony Green #324741)
a7450c
a7450c
* Tue Aug  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-10
a7450c
- fix license tag
a7450c
a7450c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
a7450c
- 1.12-9
a7450c
- Autorebuild for GCC 4.3
a7450c
a7450c
* Mon Apr 23 2007 Thomas Vander Stichele <thomas at apestaart dot org>
a7450c
- 1.12-8
a7450c
- own the datadir.  Fixes #231706.
a7450c
a7450c
* Sat Sep 16 2006 Thomas Vander Stichele <thomas at apestaart dot org>
a7450c
- 1.12-7
a7450c
- include gcc 4.1 patch from Mandriva
a7450c
a7450c
* Sun Mar 05 2006 Thomas Vander Stichele <thomas at apestaart dot org>
a7450c
- 1.12-6
a7450c
- rebuilt for FE5
a7450c
a7450c
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.12-5
a7450c
- rebuild on all arches
a7450c
a7450c
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
a7450c
- rebuilt
a7450c
a7450c
* Sun Sep 07 2003 Thomas Vander Stichele <thomas at apestaart dot org>
a7450c
- 0:1.12-0.fdr.3: readded epoch, fixed group
a7450c
a7450c
* Fri Sep 05 2003 Thomas Vander Stichele <thomas at apestaart dot org>
a7450c
- 1.12-0.fdr.2: fixed RPM_OPT_FLAGS respect
a7450c
a7450c
* Thu May 29 2003 Thomas Vander Stichele <thomas at apestaart dot org>
a7450c
- 0:1.12-0.fdr.1: initial RPM release