Blame SPECS/ladspa.spec

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