3 # _without_fltk - without FLTK UI
4 # _without_gtkmm - without gtkmm UI
6 Summary: A GUI patchbay for ALSA and JACK
7 Summary(pl): Graficzny interfejs do zbioru patchy d¼wiêkowych dla ALSY i JACKa
12 Group: X11/Applications/Sound
13 Source0: http://pkl.net/~node/software/%{name}-%{version}.tar.gz
14 # Source0-md5: f1addf00d950ba03f0e6eb7c90b83dd4
15 Patch0: %{name}-Makefile.patch
16 URL: http://pkl.net/~node/alsa-patch-bay.html
17 BuildRequires: autoconf
18 BuildRequires: automake
19 %{!?_without_fltk:BuildRequires: fltk-devel >= 1.1}
20 %{!?_without_gtkmm:BuildRequires: gtkmm-devel >= 2.0.0}
21 BuildRequires: jack-audio-connection-kit-devel
22 BuildRequires: ladcca-devel
23 BuildRequires: libtool
24 BuildRequires: pkgconfig
25 Provides: jack-patch-bay
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 ALSA Patch Bay is a GUI patchbay for the ALSA sequencer api and
30 the JACK audio API. It can use FLTK 1.1 or GTKmm 2.0.
33 ALSA Patch Bay to graficzny interfejs do zbioru patchy d¼wiêkowych dla
34 API sequencera ALSY oraz API d¼wiêkowego JACK. Mo¿e u¿ywaæ FLTK 1.1
38 Summary: ALSA audio driver for ALSA Patch Bay
39 Summary(pl): Sterownik d¼wiêku ALSA dla ALSA Patch Bay
40 Group: X11/Applications/Sound
41 Requires: %{name}-%{version}
43 %description driver-alsa
44 ALSA audio driver for ALSA Patch Bay.
46 %description driver-alsa -l pl
47 Sterownik d¼wiêku ALSA dla ALSA Patch Bay.
50 Summary: JACK audio driver for ALSA Patch Bay
51 Summary(pl): Sterownik d¼wiêku JACK dla ALSA Patch Bay
52 Group: X11/Applications/Sound
53 Requires: %{name}-%{version}
55 %description driver-jack
56 JACK audio driver for ALSA Patch Bay.
58 %description driver-jack -l pl
59 Sterownik d¼wiêku JACK dla ALSA Patch Bay.
62 Summary: FLTK-based GUI for ALSA Patch Bay
63 Summary(pl): Oparte na FLTK GUI do ALSA Patch Bay
64 Group: X11/Applications/Sound
65 Requires: %{name}-%{version}
68 FLTK-based graphical user interface for ALSA Patch Bay.
70 %description ui-fltk -l pl
71 Oparty na FLTK graficzny interfejs u¿ytkownika do ALSA Patch Bay.
74 Summary: GTKmm-based GUI for ALSA Patch Bay
75 Summary(pl): Oparte na GTKmm GUI do ALSA Patch Bay
76 Group: X11/Applications/Sound
77 Requires: %{name}-%{version}
80 GTKmm-based GUI for ALSA Patch Bay.
82 %description ui-gtkmm -l pl
83 Oparte na GTKmm GUI do ALSA Patch Bay.
97 %{?_without_fltk:--disable-fltk --disable-fltk-test} \
98 %{?_without_gtkmm:--disable-gtkmm}
103 rm -rf $RPM_BUILD_ROOT
106 DESTDIR=$RPM_BUILD_ROOT
109 rm -rf $RPM_BUILD_ROOT
112 %defattr(644,root,root,755)
113 %doc NEWS AUTHORS README
114 %attr(755,root,root) %{_bindir}/*
115 %dir %{_libdir}/%{name}
116 %dir %{_libdir}/%{name}/driver
117 %dir %{_libdir}/%{name}/ui
118 %{_desktopdir}/*.desktop
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/%{name}/driver/alsa.so
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/%{name}/driver/jack.so
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/%{name}/ui/fltk.so
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/%{name}/ui/gtkmm.so