File pd.spec of Package pd
# spec file for package pd (0.39)
#
# Copyright (c) 2006 Oliver Bengs
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
Name: pd
Summary: Real-time patchable audio and multimedia processor
Version: 0.41_4
Release: 4
Source0: %{name}-0.41-4.src.tar.bz2
Source1: %{name}.png
Source2: %{name}.desktop
Patch0: %{name}-destdir.diff
Patch1: %{name}-define-HZ.diff
URL: http://crca.ucsd.edu/~msp/software
License: BSD, Other License(s), see package
Group: Productivity/Multimedia/Sound/Midi
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: %{name}-devel
Requires: jack alsa portaudio fftw tcl tk
BuildRequires: alsa-devel jack-devel portaudio-devel tcl-devel tk-devel
BuildRequires: xorg-x11-devel update-desktop-files fftw-devel
%ifarch x86_64
BuildRequires: glibc-devel-32bit glibc-32bit gcc-32bit
%endif
%description
Pd gives you a canvas for patching together modules that analyze,
process, and synthesize sounds, together with a rich palette of
real-time control and I/O possibilities. Similar to Max (Cycling74)
and JMAX (IRCAM). A related software package named Gem extends Pd's
capabilities to include graphical rendering.
Authors:
--------
Miller Puckette
%debug_package
%prep
%setup -q -n %{name}-0.41-4
%patch0
%patch1
cd src
%{?suse_update_config:%{suse_update_config -f}}
%suse_update_libdir makefile.in
%build
cd src/
%configure \
--enable-alsa \
--enable-jack \
--enable-portmidi \
--enable-portaudio \
--enable-fftw
%__make
%install
cd src/
%makeinstall
%suse_update_desktop_file -i %{name} AudioVideo Music
%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc *.txt
%{_bindir}/pd
%{_bindir}/pdsend
%{_bindir}/pdreceive
#%{_libdir}/pd-gui
#%{_libdir}/pd-watchdog
#%{_libdir}/pd.tk
%{_libdir}/pd
%{_includedir}/m_pd.h
%{_mandir}/man1/pd.1*
%{_mandir}/man1/pdsend.1*
%{_mandir}/man1/pdreceive.1*
/usr/share/applications/%name.desktop
/usr/share/pixmaps/pd.png
%changelog
* Sun Aug 17 2008 Oliver Bengs <appleonkel@opensuse.org> - 0.41-4
- bump version
* Wed Dec 13 2006 Oliver Bengs <appleonkel@opensuse.org>
- fixed BuildRequires
- update to 0.40-2
* Sat Sep 30 2006 Oliver Bengs <appleonkel@flashgrafik.de>
- update to 0.40
- add pd-destdir.diff
- fix BuildRequires
* Sat Jul 15 2006 Oliver Bengs <appleonkel@flashgrafik.de>
- initial build 0.39