portaudio-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. Summary: Free, cross platform, open-source, audio I/O library
  2. Name: portaudio
  3. Version: 19
  4. Release: 11%{?_dist_release}
  5. License: MIT
  6. Group: System Environment/Libraries
  7. URL: http://www.portaudio.com/
  8. # This is http://www.portaudio.com/archives/pa_snapshot.tgz from 27-03-2011
  9. Source: pa_snapshot.tgz
  10. Patch1: portaudio-doxynodate.patch
  11. Patch2: portaudio-pkgconfig-alsa.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: doxygen
  14. BuildRequires: alsa-lib-devel
  15. BuildRequires: jack-audio-connection-kit-devel
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. PortAudio is a portable audio I/O library designed for cross-platform
  20. support of audio. It uses a callback mechanism to request audio processing.
  21. Audio can be generated in various formats, including 32 bit floating point,
  22. and will be converted to the native format internally.
  23. %package devel
  24. Summary: Development files for the portaudio audio I/O library
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. PortAudio is a portable audio I/O library designed for cross-platform
  30. support of audio. It uses a callback mechanism to request audio processing.
  31. Audio can be generated in various formats, including 32 bit floating point,
  32. and will be converted to the native format internally.
  33. This package contains files required to build applications that will use the
  34. portaudio library.
  35. %prep
  36. %setup -q -n %{name}
  37. %patch1 -p1
  38. %patch2 -p1
  39. %build
  40. %configure --disable-static --enable-cxx
  41. # no -j# because building with -j# is broken
  42. make
  43. # Build html devel documentation
  44. doxygen
  45. %install
  46. rm -rf %{buildroot}
  47. make install DESTDIR=%{buildroot}
  48. %clean
  49. rm -rf %{buildroot}
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-,root,root,-)
  54. %doc LICENSE.txt README.txt
  55. %{_libdir}/*.so.*
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %doc doc/html/*
  59. %{_includedir}/portaudiocpp/
  60. %{_includedir}/portaudio.h
  61. %{_includedir}/pa_jack.h
  62. %{_includedir}/pa_linux_alsa.h
  63. %exclude %{_libdir}/*.la
  64. %{_libdir}/*.so
  65. %{_libdir}/pkgconfig/*.pc
  66. %changelog
  67. * Sat Mar 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 19-11
  68. - upgrade to a more recent snapshot to bring in various bugfixes
  69. - (fix imported from Fedora's 19-13)
  70. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 19-10
  71. - initial build for Vine Linux
  72. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 19-9
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 19-8
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 19-7
  77. - Add Doxyfile patch to remove date in footer and fix multilib (#342931).
  78. * Sun Dec 7 2008 Hans de Goede <hdegoede@redhat.com> 19-6
  79. - Add a patch by Kevin Kofler to make non mmap alsa (and thus pulseaudio) work
  80. (bz 445644)
  81. * Sun Feb 3 2008 Matthias Saou <http://freshrpms.net/> 19-5
  82. - Update to "stable" v19_20071207.
  83. - Rebuild against latest jack in rawhide (#430672).
  84. - Backport update to F8 too (#431266).
  85. * Mon Dec 10 2007 Matthias Saou <http://freshrpms.net/> 19-4
  86. - Include portaudiocpp library and headers (#413681).
  87. * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 19-3
  88. - Rebuild for new BuildID feature.
  89. * Sun Aug 5 2007 Matthias Saou <http://freshrpms.net/> 19-2
  90. - Update License field.
  91. * Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 19-1
  92. - Update to "stable" v19_061121.
  93. - Switch virtual devel provide to a real sub-package.
  94. - Update spec to match build changes from custom Makefile to autotools.
  95. - Include new pkgconfig file and require pkgconfig from the devel package.
  96. - Add ldconfig calls now that we have a versionned shared library.
  97. - Rebuild against alsa-lib and jack-audio-connection-kit.
  98. - Build doxygen documentation and include it in the devel package.
  99. * Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 18.1-8
  100. - FC6 rebuild.
  101. * Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 18.1-7
  102. - FC5 rebuild.
  103. * Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 18.1-6
  104. - Rebuild for new gcc/glibc.
  105. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 18.1-5
  106. - rebuild on all arches
  107. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 18.1-4
  108. - rebuilt
  109. * Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 18.1-3
  110. - Bump release to provide Extras upgrade path.
  111. * Fri Nov 5 2004 Matthias Saou <http://freshrpms.net/> 18.1-2
  112. - Add -devel provides.
  113. - Fix .so 644 mode (overidden in defattr).
  114. * Thu Jun 10 2004 Dag Wieers <dag@wieers.com> - 18.1-1
  115. - Added -fPIC for x86_64.
  116. * Sat Sep 13 2003 Dag Wieers <dag@wieers.com> - 18.1-0
  117. - Initial package. (using DAR)