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