Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > f452fbdf41c469828e8a7322490d31aa > files > 2

pd-0.38.1-1mdk.src.rpm

%define	name	pd
%define version	0.38.1
%define rver	0.38-1
%define	release	1mdk

%define section	More Applications/Sciences/Data Visualization
%define	title	Pure Data

%define	Summary	Real-time patchable audio and multimedia processor

Summary:	%Summary
Name:		%name
Version:	%version
Release:	%release
License:	BSD
Group:		Sciences/Other
URL:		http://www-crca.ucsd.edu/~msp/software.html
Source:		%name-%rver.src.tar.bz2
BuildRoot:	%_tmppath/%name-buildroot
BuildRequires:	tcl tk

%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.

%package	doc
Summary:	Documentation files for Pure Data
Group:		Sciences/Other
%description	doc
Documentation files for Pure Data

%package	devel
Summary:	Development files
Group:		Development/Other
%description	devel
Development files

%prep
%setup -n %name-%rver

%build
cd src
%configure --enable-jack --enable-alsa
%make

%install
rm -rf %buildroot

%__mkdir_p %buildroot/%{_bindir}
%__mkdir_p %buildroot/%{_mandir}/man1
%__mkdir_p %buildroot/%{_includedir}/%{name}

%__install -s -m 755 bin/pd %buildroot/%{_bindir}
%__install -s bin/pdsend bin/pdreceive %buildroot/%{_bindir}
%__install -s bin/pd-gui bin/pd-watchdog %buildroot/%{_bindir}
%__install bin/pd.tk %buildroot/%{_bindir}

%__install src/*.h %buildroot/%{_includedir}/%{name}
#%__cp -pr extra %buildroot/%{_libdir}/%{name}/pd

%__install -m 644 man/* %buildroot/%{_mandir}/man1

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc README.txt LICENSE.txt
%{_bindir}/*
%{_mandir}/man1/*

# TODO
# path to tesstone.pd is hardcoded in u_main.tk
%files doc
%defattr(-,root,root)
%doc doc

%files devel
%defattr(-,root,root)
%dir %{_includedir}/%{name}
%{_includedir}/%{name}

%changelog
* Sat Jan 15 2005 Tibor Pittich <Tibor.Pittich@mandrake.org> 0.38.1-1mdk
- initial mandrakelinux import
- macroszification and some other mandrakelinux specific changes