ladspa-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. Name: ladspa
  2. Version: 1.13
  3. Release: 17%{?_dist_release}
  4. Summary: Linux Audio Developer's Simple Plug-in API, examples and tools
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://www.ladspa.org/
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
  11. Patch1: ladspa-1.13-plugindir.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: perl
  14. BuildRequires: gcc-c++
  15. %description
  16. There is a large number of synthesis packages in use or development on
  17. the Linux platform at this time. The Linux Audio Developer's Simple
  18. Plugin API (LADSPA) attempts to give programmers the ability to write
  19. simple `plugin' audio processors in C/C++ and link them dynamically
  20. against a range of host applications.
  21. This package contains the example plug-ins and tools from the LADSPA SDK.
  22. %package devel
  23. Summary: Linux Audio Developer's Simple Plug-in API
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. %description devel
  27. ladspa-devel contains the ladspa.h header file.
  28. Definitive technical documentation on LADSPA plug-ins for both the host
  29. and plug-in is contained within copious comments within the ladspa.h
  30. header file.
  31. %prep
  32. %setup -q -n ladspa_sdk
  33. %patch1 -p0 -b .plugindir
  34. # respect RPM_OPT_FLAGS
  35. perl -pi -e 's/^(CFLAGS.*)-O3(.*)/$1\$\(RPM_OPT_FLAGS\)$2 -DPLUGINDIR=\$\(PLUGINDIR\)/' src/makefile
  36. # avoid X.org dependency
  37. perl -pi -e 's/-mkdirhier/-mkdir -p/' src/makefile
  38. # fix links to the header file in the docs
  39. cd doc
  40. perl -pi -e "s!HREF=\"ladspa.h.txt\"!href=\"file:///usr/include/ladspa.h\"!" *.html
  41. %build
  42. cd src
  43. PLUGINDIR=\\\"%{_libdir}/ladspa\\\" make targets %{?_smp_mflags} LD="ld --build-id"
  44. #make test
  45. #make check
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. cd src
  49. make install \
  50. INSTALL_PLUGINS_DIR=$RPM_BUILD_ROOT%{_libdir}/ladspa \
  51. INSTALL_INCLUDE_DIR=$RPM_BUILD_ROOT%{_includedir} \
  52. INSTALL_BINARY_DIR=$RPM_BUILD_ROOT%{_bindir}
  53. ## this is where plugins will install their rdf
  54. mkdir -p $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %files
  58. %defattr(-,root,root,-)
  59. %license doc/COPYING
  60. %dir %{_libdir}/ladspa
  61. %{_libdir}/ladspa/*.so
  62. %{_bindir}/analyseplugin
  63. %{_bindir}/applyplugin
  64. %{_bindir}/listplugins
  65. %{_datadir}/ladspa
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %doc doc/*.html
  69. %{_includedir}/ladspa.h
  70. %changelog
  71. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.13-17
  72. - initial build for Vine Linux.
  73. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-16
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  75. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-15
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  77. * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.13-14
  78. - Rebuilt for GCC 5 C++11 ABI change
  79. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-13
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  81. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-12
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  83. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-11
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  85. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-10
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  87. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-9
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  89. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-8
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  91. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-7
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  93. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-6
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  95. * Sun Mar 22 2009 Robert Scheck <robert@fedoraproject.org> - 1.13-5
  96. - Really added the plugindir patch now (thanks to Karsten Hopp)
  97. - Avoid the make errors because of mkdirhier better than until now
  98. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  100. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
  101. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  102. * Sun Nov 23 2008 Thomas Vander Stichele <thomas at apestaart dot org>
  103. - 1.13-2
  104. - updated summary
  105. - not rebuilt yet
  106. * Fri Sep 5 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.13-1
  107. - link with build-id to fix rawhide build
  108. - upgrade to 1.13 (GCC4 build-fix and string fixes) (#449542)
  109. - add -plugindir patch so listplugin and friends will work by default
  110. (Anthony Green #324741)
  111. * Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-10
  112. - fix license tag
  113. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
  114. - 1.12-9
  115. - Autorebuild for GCC 4.3
  116. * Mon Apr 23 2007 Thomas Vander Stichele <thomas at apestaart dot org>
  117. - 1.12-8
  118. - own the datadir. Fixes #231706.
  119. * Sat Sep 16 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  120. - 1.12-7
  121. - include gcc 4.1 patch from Mandriva
  122. * Sun Mar 05 2006 Thomas Vander Stichele <thomas at apestaart dot org>
  123. - 1.12-6
  124. - rebuilt for FE5
  125. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.12-5
  126. - rebuild on all arches
  127. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  128. - rebuilt
  129. * Sun Sep 07 2003 Thomas Vander Stichele <thomas at apestaart dot org>
  130. - 0:1.12-0.fdr.3: readded epoch, fixed group
  131. * Fri Sep 05 2003 Thomas Vander Stichele <thomas at apestaart dot org>
  132. - 1.12-0.fdr.2: fixed RPM_OPT_FLAGS respect
  133. * Thu May 29 2003 Thomas Vander Stichele <thomas at apestaart dot org>
  134. - 0:1.12-0.fdr.1: initial RPM release