2 # - better descs in subpckgs
6 Summary: Realtime modular synthesizer
7 Summary(pl.UTF-8): Modularny syntezator działający w czasie rzeczywistym
8 Name: alsa-modular-synth
12 Group: X11/Applications/Sound
13 Source0: http://dl.sourceforge.net/alsamodular/%{_name}-%{version}.tar.bz2
14 # Source0-md5: d9b81d611f9e116ab07d15cb533f5f6b
15 Source1: %{name}.desktop
16 Patch0: %{name}-build_fixes.patch
17 Patch1: %{name}-examples_dir.patch
18 URL: http://alsamodular.sourceforge.net/
19 BuildRequires: XFree86-devel
20 BuildRequires: alsa-lib-devel >= 0.9.0
21 BuildRequires: clalsadrv-devel
22 BuildRequires: fftw-devel >= 2.1.5-2
23 BuildRequires: jack-audio-connection-kit-devel >= 0.74.1
24 BuildRequires: ladspa-devel
25 BuildRequires: qt-devel >= 3:3.0.5
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 AlsaModularSynth is a realtime modular synthesizer and effect
30 processor. It features:
31 - MIDI controlled modular software synthesis
32 - Realtime effect processing
33 - Full control of all synthesis and effect parameters via MIDI
34 - Integrated LADSPA Browser with search capability
37 %description -l pl.UTF-8
38 AlsaModularSynth jest syntezatorem i procesorem efektów działającym w
39 czasie rzeczywistym. Zawiera:
40 - kontrolowaną przez MIDI modularną syntezę programową
41 - nakładanie efektów w czasie rzeczywistym
42 - pełną kontrolę syntezy i efektów poprzez MIDI
43 - zintegrowaną przeglądarkę LADSPA z możliwością wyszukiwania
47 Summary: Alsa Modular Synth demos
48 Summary(pl.UTF-8): Dema Alsa Modular Synth
49 Group: X11/Applications/Sound
50 Requires: %{name} = %{version}-%{release}
51 Requires: ladspa-cmt-plugins
52 Requires: ladspa-mcp-plugins >= 0.3.0
53 Requires: ladspa-rev-plugins
54 Requires: ladspa-vco-plugins
57 Alsa Modular Synth demos.
59 %description demos -l pl.UTF-8
60 Dema Alsa Modular Synth.
63 Summary: Alsa Modular Synth instruments examples
64 Summary(pl.UTF-8): Przykłady instrumentów dla Alsa Modular Synth
65 Group: X11/Applications/Sound
66 Requires: %{name} = %{version}-%{release}
67 Requires: ladspa-cmt-plugins
68 Requires: ladspa-mcp-plugins >= 0.3.0
69 Requires: ladspa-rev-plugins
70 Requires: ladspa-vco-plugins
72 %description instruments
75 %description instruments -l pl.UTF-8
76 Przykładowe instrumenty.
79 Summary: Alsa Modular Synth tutorial
80 Summary(pl.UTF-8): Alsa Modular Synth
81 Group: X11/Applications/Sound
82 Requires: %{name} = %{version}-%{release}
83 Requires: ladspa-cmt-plugins
84 Requires: ladspa-mcp-plugins >= 0.3.0
85 Requires: ladspa-rev-plugins
86 Requires: ladspa-vco-plugins
89 Alsa Modular Synth tutorial.
91 %description tutorial -l pl.UTF-8
92 Tutorial dla Alsa Modular Synth.
95 %setup -q -n %{_name}-%{version}
101 OPTFLAGS="%{rpmcflags}"
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} \
106 $RPM_BUILD_ROOT%{_datadir}/ams/{demos,instruments,tutorial}
108 install ams $RPM_BUILD_ROOT%{_bindir}
109 install demos/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/demos
110 install instruments/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/instruments
111 install tutorial/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/tutorial
112 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
115 rm -rf $RPM_BUILD_ROOT
118 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_bindir}/*
122 %{_desktopdir}/%{name}.desktop
125 %defattr(644,root,root,755)
126 %{_datadir}/ams/demos/*.ams
129 %defattr(644,root,root,755)
130 %{_datadir}/ams/instruments/*.ams
133 %defattr(644,root,root,755)
134 %{_datadir}/ams/tutorial/*.ams