portaudio-vl.spec 4.4 KB

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