rpms/rtaudio/F-10 import.log, NONE, 1.1 rtaudio-gcc44.patch, NONE, 1.1 rtaudio.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orcan Ogetbil oget at fedoraproject.org
Tue Mar 3 01:48:40 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/rtaudio/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1270/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rtaudio-gcc44.patch rtaudio.spec 
Log Message:
* Sat Feb 28 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-3
- Don't remove the tests/Release directory

* Fri Feb 27 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-2
- Build static library only

* Tue Feb 24 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-1
- Initial build



--- NEW FILE import.log ---
rtaudio-4_0_5-3_fc10:F-10:rtaudio-4.0.5-3.fc10.src.rpm:1236044839

rtaudio-gcc44.patch:

--- NEW FILE rtaudio-gcc44.patch ---
--- rtaudio-4.0.5.old/RtAudio.cpp	2009-01-30 13:50:01.000000000 -0500
+++ rtaudio-4.0.5/RtAudio.cpp	2009-02-26 16:51:34.000000000 -0500
@@ -45,7 +45,7 @@
 #include <cstdlib>
 #include <cstring>
 #include <limits.h>
-
+#include <cstdio>
 // Static variable definitions.
 const unsigned int RtApi::MAX_SAMPLE_RATES = 14;
 const unsigned int RtApi::SAMPLE_RATES[] = {


--- NEW FILE rtaudio.spec ---
# Don't create a debuginfo package since it would be empty
%define debug_package %{nil}

Summary:        Real-time Audio I/O Library
Name:           rtaudio
Version:        4.0.5
Release:        3%{?dist}
License:        MIT
Group:          System Environment/Libraries
URL:            http://www.music.mcgill.ca/~gary/rtaudio/
# The original tarball contains nonfree bits. We remove them and create a free tarball:
#    wget -N http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-4.0.5.tar.gz
#    tar zxf rtaudio-4.0.5.tar.gz
#    rm -fr rtaudio-4.0.5/include/ rtaudio-4.0.5/tests/Windows
#    tar zcf rtaudio-4.0.5-fe.tar.gz rtaudio-4.0.5
Source0:        %{name}-%{version}-fe.tar.gz
# Make rtaudio compilable against gcc-4.4
# https://sourceforge.net/tracker/index.php?func=detail&aid=2644431&group_id=162430&atid=823757
Patch1:         rtaudio-gcc44.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  alsa-lib-devel jack-audio-connection-kit-devel doxygen

%description
RtAudio is a set of C++ classes that provide a common API for realtime audio
input/output across different operating systems. RtAudio significantly
simplifies the process of interacting with computer audio hardware. It was
designed with the following objectives:

  * object-oriented C++ design
  * simple, common API across all supported platforms
  * allow simultaneous multi-api support
  * support dynamic connection of devices
  * provide extensive audio device parameter control
  * allow audio device capability probing
  * automatic internal conversion for data format, channel number compensation,
    (de)interleaving, and byte-swapping


%package devel
Summary:        Real-time Audio I/O Library
Group:          System Environment/Libraries
Provides:       %{name}-static = %{version}-%{release}

%description devel
RtAudio is a set of C++ classes that provide a common API for realtime audio
input/output across different operating systems. RtAudio significantly
simplifies the process of interacting with computer audio hardware. It was
designed with the following objectives:

  * object-oriented C++ design
  * simple, common API across all supported platforms
  * allow simultaneous multi-api support
  * support dynamic connection of devices
  * provide extensive audio device parameter control
  * allow audio device capability probing
  * automatic internal conversion for data format, channel number compensation,
    (de)interleaving, and byte-swapping

%prep
%setup -q
%patch1 -p1

# We are going to build the doxygen documentation from source
rm -fr doc/html

# Remove empty directory
rm -fr tests/Debug

# To pass the optflags properly
sed -i '/CFLAGS *=/d' Makefile.in

# To fix the ppc64 compilation issue
cp -p /usr/lib/rpm/config.{sub,guess} config/

%build
export CFLAGS="%optflags -fPIC"
%configure --with-jack --with-alsa
make %{?_smp_mflags}

# Doxygen documentation:
pushd doc/doxygen
   doxygen
popd

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_includedir} %{buildroot}%{_libdir}
cp -a RtAudio.h RtError.h %{buildroot}%{_includedir}
cp -a lib%{name}.a %{buildroot}%{_libdir}

%clean
rm -rf %{buildroot}

%files devel
%defattr(-,root,root,-)
%doc readme doc/release.txt doc/html doc/images tests
%{_includedir}/*.h
%{_libdir}/lib%{name}.a

%changelog
* Sat Feb 28 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-3
- Don't remove the tests/Release directory

* Fri Feb 27 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-2
- Build static library only

* Tue Feb 24 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 4.0.5-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rtaudio/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Mar 2009 00:33:50 -0000	1.1
+++ .cvsignore	3 Mar 2009 01:48:09 -0000	1.2
@@ -0,0 +1 @@
+rtaudio-4.0.5-fe.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rtaudio/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Mar 2009 00:33:50 -0000	1.1
+++ sources	3 Mar 2009 01:48:09 -0000	1.2
@@ -0,0 +1 @@
+581f765e9b423d3ce2fc0c5ab51447dd  rtaudio-4.0.5-fe.tar.gz




More information about the fedora-extras-commits mailing list