]> git.pld-linux.org Git - packages/alsa-modular-synth.git/blob - alsa-modular-synth.spec
- 1.8.3
[packages/alsa-modular-synth.git] / alsa-modular-synth.spec
1 # TODO:
2 # - better descs in subpckgs
3 # - icon (?)
4 #
5 %define         _name ams
6 Summary:        Realtime modular synthesizer
7 Summary(pl):    Modularny syntezator dzia³aj±cy w czasie rzeczywistym
8 Name:           alsa-modular-synth
9 Version:        1.8.3
10 Release:        1
11 License:        GPL
12 Group:          X11/Applications/Sound
13 Source0:        http://dl.sourceforge.net/alsamodular/%{_name}-%{version}.tar.bz2
14 # Source0-md5:  a0be27e866e18e6ac9b3bcfd9f267231
15 Source1:        %{name}.desktop
16 Patch0:         %{name}-build_fixes.patch
17 Patch1:         %{name}-examples_dir.patch
18 Patch2:         %{name}-alsa_1_0_hack.patch
19 URL:            http://alsamodular.sourceforge.net/
20 BuildRequires:  XFree86-devel
21 BuildRequires:  alsa-lib-devel >= 0.9.0
22 BuildRequires:  fftw-devel
23 BuildRequires:  jack-audio-connection-kit-devel >= 0.74.1
24 BuildRequires:  ladspa-devel
25 BuildRequires:  qt-devel >= 3.0.5
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
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
35 - JACK Support
36
37 %description -l pl
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
44 - wsparcie dla JACK
45
46 %package demos
47 Summary:        Alsa Modular Synth demos
48 Summary(pl):    Dema Alsa Modular Synth
49 Group:          X11/Applications/Sound
50 Requires:       %{name} = %{version}-%{release}
51 Requires:       ladspa-mcp-plugins >= 0.3.0
52 Requires:       ladspa-rev-plugins
53 Requires:       ladspa-vco-plugins
54
55 %description demos
56 Alsa Modular Synth demos.
57
58 %description demos -l pl
59 Dema Alsa Modular Synth.
60
61 %package instruments
62 Summary:        Alsa Modular Synth instruments examples
63 Summary(pl):    Przyk³ady instrumentów dla Alsa Modular Synth
64 Group:          X11/Applications/Sound
65 Requires:       %{name} = %{version}-%{release}
66 Requires:       ladspa-mcp-plugins >= 0.3.0
67 Requires:       ladspa-rev-plugins
68 Requires:       ladspa-vco-plugins
69
70 %description instruments
71 Instruments examples.
72
73 %description instruments -l pl
74 Przyk³adowe instrumenty.
75
76 %package tutorial
77 Summary:        Alsa Modular Synth tutorial
78 Summary(pl):    Alsa Modular Synth
79 Group:          X11/Applications/Sound
80 Requires:       %{name} = %{version}-%{release}
81 Requires:       ladspa-mcp-plugins >= 0.3.0
82 Requires:       ladspa-rev-plugins
83 Requires:       ladspa-vco-plugins
84
85 %description tutorial
86 Alsa Modular Synth tutorial.
87
88 %description tutorial -l pl
89 Tutorial dla Alsa Modular Synth.
90
91 %prep
92 %setup -q -n %{_name}-%{version}
93 %patch0 -p1
94 %patch1 -p1
95 %patch2 -p1
96
97 %build
98 %{__make} \
99     OPTFLAGS="%{rpmcflags}"
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} \
104             $RPM_BUILD_ROOT%{_datadir}/ams/{demos,instruments,tutorial}
105
106 install ams $RPM_BUILD_ROOT%{_bindir}
107 install demos/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/demos
108 install instruments/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/instruments
109 install tutorial/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/tutorial
110 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %files
116 %defattr(644,root,root,755)
117 %doc README
118 %attr(755,root,root) %{_bindir}/*
119 %dir %{_datadir}/ams
120 %{_desktopdir}/%{name}.desktop
121
122 %files demos
123 %defattr(644,root,root,755)
124 %{_datadir}/ams/demos/*.ams
125
126 %files instruments
127 %defattr(644,root,root,755)
128 %{_datadir}/ams/instruments/*.ams
129
130 %files tutorial
131 %defattr(644,root,root,755)
132 %{_datadir}/ams/tutorial/*.ams
This page took 0.061515 seconds and 3 git commands to generate.