]> git.pld-linux.org Git - packages/alsa-modular-synth.git/blob - alsa-modular-synth.spec
a35e5753b3c67d1de7e68fa1515fc8262d4a60b7
[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.7.1
10 Release:        1
11 License:        GPL
12 Group:          X11/Applications/Sound
13 Source0:        http://alsamodular.sourceforge.net/%{_name}-%{version}.tar.bz2
14 # Source0-md5:  eaf25afb1ec662b313a9dcc34be58f41
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:  fftw-devel
22 BuildRequires:  jack-audio-connection-kit-devel >= 0.74.1
23 BuildRequires:  ladspa-devel
24 BuildRequires:  qt-devel >= 3.0.5
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 AlsaModularSynth is a realtime modular synthesizer and effect
29 processor. It features:
30 - MIDI controlled modular software synthesis
31 - Realtime effect processing
32 - Full control of all synthesis and effect parameters via MIDI
33 - Integrated LADSPA Browser with search capability
34 - JACK Support
35
36 %description -l pl
37 AlsaModularSynth jest syntezatorem i procesorem efektów dzia³aj±cym w
38 czasie rzeczywistym. Zawiera:
39 - kontrolowan± przez MIDI modularn± syntezê programow±
40 - nak³adanie efektów w czasie rzeczywistym
41 - pe³n± kontrolê syntezy i efektów poprzez MIDI
42 - zintegrowan± przegl±darkê LADSPA z mo¿liwo¶ci± wyszukiwania
43 - wsparcie dla JACK
44
45 %package demos
46 Summary:        Alsa Modular Synth demos
47 Summary(pl):    Dema Alsa Modular Synth
48 Group:          X11/Applications/Sound
49 Requires:       %{name} = %{version}
50 Requires:       ladspa-mcp-plugins
51 Requires:       ladspa-rev-plugins
52 Requires:       ladspa-vco-plugins
53
54 %description demos
55 Alsa Modular Synth demos.
56
57 %description demos -l pl
58 Dema Alsa Modular Synth.
59
60 %package instruments
61 Summary:        Alsa Modular Synth instruments examples
62 Summary(pl):    Przyk³ady instrumentów dla Alsa Modular Synth
63 Group:          X11/Applications/Sound
64 Requires:       %{name} = %{version}
65 Requires:       ladspa-mcp-plugins
66 Requires:       ladspa-rev-plugins
67 Requires:       ladspa-vco-plugins
68
69 %description instruments
70 Instruments examples.
71
72 %description instruments -l pl
73 Przyk³adowe instrumenty.
74
75 %package tutorial
76 Summary:        Alsa Modular Synth tutorial
77 Summary(pl):    Alsa Modular Synth
78 Group:          X11/Applications/Sound
79 Requires:       %{name} = %{version}
80 Requires:       ladspa-mcp-plugins
81 Requires:       ladspa-rev-plugins
82 Requires:       ladspa-vco-plugins
83
84 %description tutorial
85 Alsa Modular Synth tutorial.
86
87 %description tutorial -l pl
88 Tutorial dla Alsa Modular Synth.
89
90 %prep
91 %setup -q -n %{_name}-%{version}
92 %patch0 -p1
93 %patch1 -p1
94
95 %build
96 %{__make} \
97     OPTFLAGS="%{rpmcflags}"
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} \
102             $RPM_BUILD_ROOT%{_datadir}/ams/{demos,instruments,tutorial}
103
104 install ams $RPM_BUILD_ROOT%{_bindir}
105 install demos/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/demos
106 install instruments/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/instruments
107 install tutorial/*.ams $RPM_BUILD_ROOT%{_datadir}/ams/tutorial
108 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %files
114 %defattr(644,root,root,755)
115 %doc README
116 %attr(755,root,root) %{_bindir}/*
117 %dir %{_datadir}/ams
118 %{_desktopdir}/%{name}.desktop
119
120 %files demos
121 %defattr(644,root,root,755)
122 %{_datadir}/ams/demos/*.ams
123
124 %files instruments
125 %defattr(644,root,root,755)
126 %{_datadir}/ams/instruments/*.ams
127
128 %files tutorial
129 %defattr(644,root,root,755)
130 %{_datadir}/ams/tutorial/*.ams
This page took 0.0359159999999999 seconds and 2 git commands to generate.