]> git.pld-linux.org Git - packages/alsa-modular-synth.git/blob - alsa-modular-synth.spec
- massive change ( validate errors warrings from desktop-file-validate)
[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.UTF-8):      Modularny syntezator działający w czasie rzeczywistym
8 Name:           alsa-modular-synth
9 Version:        1.8.7
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:  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)
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.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
44 - wsparcie dla JACK-a
45
46 %package demos
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
55
56 %description demos
57 Alsa Modular Synth demos.
58
59 %description demos -l pl.UTF-8
60 Dema Alsa Modular Synth.
61
62 %package instruments
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
71
72 %description instruments
73 Instruments examples.
74
75 %description instruments -l pl.UTF-8
76 Przykładowe instrumenty.
77
78 %package tutorial
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
87
88 %description tutorial
89 Alsa Modular Synth tutorial.
90
91 %description tutorial -l pl.UTF-8
92 Tutorial dla Alsa Modular Synth.
93
94 %prep
95 %setup -q -n %{_name}-%{version}
96 %patch0 -p1
97 %patch1 -p1
98
99 %build
100 %{__make} \
101         OPTFLAGS="%{rpmcflags}"
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} \
106         $RPM_BUILD_ROOT%{_datadir}/ams/{demos,instruments,tutorial}
107
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}
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %files
118 %defattr(644,root,root,755)
119 %doc README
120 %attr(755,root,root) %{_bindir}/*
121 %dir %{_datadir}/ams
122 %{_desktopdir}/%{name}.desktop
123
124 %files demos
125 %defattr(644,root,root,755)
126 %{_datadir}/ams/demos/*.ams
127
128 %files instruments
129 %defattr(644,root,root,755)
130 %{_datadir}/ams/instruments/*.ams
131
132 %files tutorial
133 %defattr(644,root,root,755)
134 %{_datadir}/ams/tutorial/*.ams
This page took 0.068903 seconds and 3 git commands to generate.