Blame SPECS/ladspa.spec

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