# TODO: # - better descs in subpckgs # - icon (?) # %define _name ams Summary: Realtime modular synthesizer Summary(pl.UTF-8): Modularny syntezator działający w czasie rzeczywistym Name: alsa-modular-synth Version: 1.8.7 Release: 1 License: GPL Group: X11/Applications/Sound Source0: http://dl.sourceforge.net/alsamodular/%{_name}-%{version}.tar.bz2 # Source0-md5: d9b81d611f9e116ab07d15cb533f5f6b Source1: %{name}.desktop Patch0: %{name}-build_fixes.patch Patch1: %{name}-examples_dir.patch URL: http://alsamodular.sourceforge.net/ BuildRequires: XFree86-devel BuildRequires: alsa-lib-devel >= 0.9.0 BuildRequires: clalsadrv-devel BuildRequires: fftw-devel >= 2.1.5-2 BuildRequires: jack-audio-connection-kit-devel >= 0.74.1 BuildRequires: ladspa-devel BuildRequires: qt-devel >= 3:3.0.5 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description AlsaModularSynth is a realtime modular synthesizer and effect processor. It features: - MIDI controlled modular software synthesis - Realtime effect processing - Full control of all synthesis and effect parameters via MIDI - Integrated LADSPA Browser with search capability - JACK Support %description -l pl.UTF-8 AlsaModularSynth jest syntezatorem i procesorem efektów działającym w czasie rzeczywistym. Zawiera: - kontrolowaną przez MIDI modularną syntezę programową - nakładanie efektów w czasie rzeczywistym - pełną kontrolę syntezy i efektów poprzez MIDI - zintegrowaną przeglądarkę LADSPA z możliwością wyszukiwania - wsparcie dla JACK-a %package demos Summary: Alsa Modular Synth demos Summary(pl.UTF-8): Dema Alsa Modular Synth Group: X11/Applications/Sound Requires: %{name} = %{version}-%{release} Requires: ladspa-cmt-plugins Requires: ladspa-mcp-plugins >= 0.3.0 Requires: ladspa-rev-plugins Requires: ladspa-vco-plugins %description demos Alsa Modular Synth demos. %description demos -l pl.UTF-8 Dema Alsa Modular Synth. %package instruments Summary: Alsa Modular Synth instruments examples Summary(pl.UTF-8): Przykłady instrumentów dla Alsa Modular Synth Group: X11/Applications/Sound Requires: %{name} = %{version}-%{release} Requires: ladspa-cmt-plugins Requires: ladspa-mcp-plugins >= 0.3.0 Requires: ladspa-rev-plugins Requires: ladspa-vco-plugins %description instruments Instruments examples. %description instruments -l pl.UTF-8 Przykładowe instrumenty. %package tutorial Summary: Alsa Modular Synth tutorial Summary(pl.UTF-8): Alsa Modular Synth Group: X11/Applications/Sound Requires: %{name} = %{version}-%{release} Requires: ladspa-cmt-plugins Requires: ladspa-mcp-plugins >= 0.3.0 Requires: ladspa-rev-plugins Requires: ladspa-vco-plugins %description tutorial Alsa Modular Synth tutorial. %description tutorial -l pl.UTF-8 Tutorial dla Alsa Modular Synth. %prep %setup -q -n %{_name}-%{version} %patch0 -p1 %patch1 -p1 %build %{__make} \ OPTFLAGS="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} \ $RPM_BUILD_ROOT%{_datadir}/ams/{demos,instruments,tutorial} install ams $RPM_BUILD_ROOT%{_bindir} install demos/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/demos install instruments/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/instruments install tutorial/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/tutorial install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README %attr(755,root,root) %{_bindir}/* %dir %{_datadir}/ams %{_desktopdir}/%{name}.desktop %files demos %defattr(644,root,root,755) %{_datadir}/ams/demos/*.ams %files instruments %defattr(644,root,root,755) %{_datadir}/ams/instruments/*.ams %files tutorial %defattr(644,root,root,755) %{_datadir}/ams/tutorial/*.ams