Debian Codegraph @

linux/rpmspec-alsa

raw
1 Summary: Real-time patchable audio and multimedia processor.
2 Name: pd-alsa
3 Version: 0.37
4 Release: 0
5 Copyright: free for any use
6 Group: Applications/Multimedia
7 Source: pd.tar.gz
8 BuildRoot: /var/tmp/%{name}-buildroot
9 Prefix: %{_prefix}
10
11 %description
12 Pd gives you a canvas for patching together modules that analyze, process,
13 and synthesize sounds, together with a rich palette of real-time control
14 and I/O possibilities. Similar to Max (Cycling74) and JMAX (IRCAM). A
15 related software package named Gem extends Pd's capabilities to include
16 graphical rendering.
17
18 %prep
19 %setup -n pd
20
21 %build
22 cd src
23 ./configure --prefix=%{prefix} --mandir=%{_mandir}
24 make depend
25 make
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 mkdir -p $RPM_BUILD_ROOT%{prefix}/bin
30 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
31 mkdir -p $RPM_BUILD_ROOT%{prefix}/lib/pd/include
32 mkdir -p $RPM_BUILD_ROOT%{prefix}/lib/pd/bin
33
34 install -m 644 man/* $RPM_BUILD_ROOT%{_mandir}/man1
35 install -s -m 4755 bin/pd $RPM_BUILD_ROOT%{prefix}/bin/pd
36 install -s bin/pd-gui bin/pd-watchdog $RPM_BUILD_ROOT%{prefix}/lib/pd/bin/
37 install -s bin/pdsend bin/pdreceive $RPM_BUILD_ROOT%{prefix}/bin/
38 install bin/pd.tk $RPM_BUILD_ROOT%{prefix}/lib/pd/bin/
39 cp -pr doc $RPM_BUILD_ROOT%{prefix}/lib/pd/
40 cp -pr extra $RPM_BUILD_ROOT%{prefix}/lib/pd/
41 install README.txt LICENSE.txt $RPM_BUILD_ROOT%{prefix}/lib/pd/
42 install src/*.h $RPM_BUILD_ROOT%{prefix}/lib/pd/include
43
44 %clean
45 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(-,root,root)
49
50 %{prefix}/bin/pd
51 %{prefix}/bin/pdsend
52 %{prefix}/bin/pdreceive
53 %{prefix}/lib/pd
54 %{_mandir}/man1/pd.1.gz
55 %{_mandir}/man1/pdsend.1.gz
56 %{_mandir}/man1/pdreceive.1.gz
57
58 %changelog
59
60 * Tue Apr 14 2001 Fernando Lopez-Lezcano <[email protected]>
61 - added %{prefix}, added %{_mandir} so that the man pages go into the
62 correct man directory for redhat
63 - added %{alsa} for automatic detection of the installed alsa library
64 - decoupled pd release (ie: PATCH2) from the rpm release