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 Patch0: %{name}-Makefile.patch
15 URL: http://pkl.net/~node/alsa-patch-bay.html
16 BuildRequires: autoconf
17 BuildRequires: automake
18 %{!?_without_fltk:BuildRequires: fltk-devel >= 1.1}
19 %{!?_without_gtkmm:BuildRequires: gtkmm-devel >= 2.0.0}
20 BuildRequires: jack-audio-connection-kit-devel
21 BuildRequires: ladcca-devel
22 BuildRequires: libtool
23 BuildRequires: pkgconfig
24 Provides: jack-patch-bay
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 ALSA Patch Bay is a GUI patchbay for the ALSA sequencer api and
29 the JACK audio API. It can use FLTK 1.1 or GTKmm 2.0.
32 ALSA Patch Bay to graficzny interfejs do zbioru patchy d¼wiêkowych dla
33 API sequencera ALSY oraz API d¼wiêkowego JACK. Mo¿e u¿ywaæ FLTK 1.1
37 Summary: ALSA audio driver for ALSA Patch Bay
38 Summary(pl): Sterownik d¼wiêku ALSA dla ALSA Patch Bay
39 Group: X11/Applications/Sound
40 Requires: %{name}-%{version}
42 %description driver-alsa
43 ALSA audio driver for ALSA Patch Bay.
45 %description driver-alsa -l pl
46 Sterownik d¼wiêku ALSA dla ALSA Patch Bay.
49 Summary: JACK audio driver for ALSA Patch Bay
50 Summary(pl): Sterownik d¼wiêku JACK dla ALSA Patch Bay
51 Group: X11/Applications/Sound
52 Requires: %{name}-%{version}
54 %description driver-jack
55 JACK audio driver for ALSA Patch Bay.
57 %description driver-jack -l pl
58 Sterownik d¼wiêku JACK dla ALSA Patch Bay.
61 Summary: FLTK-based GUI for ALSA Patch Bay
62 Summary(pl): Oparte na FLTK GUI do ALSA Patch Bay
63 Group: X11/Applications/Sound
64 Requires: %{name}-%{version}
67 FLTK-based graphical user interface for ALSA Patch Bay.
69 %description ui-fltk -l pl
70 Oparty na FLTK graficzny interfejs u¿ytkownika do ALSA Patch Bay.
73 Summary: GTKmm-based GUI for ALSA Patch Bay
74 Summary(pl): Oparte na GTKmm GUI do ALSA Patch Bay
75 Group: X11/Applications/Sound
76 Requires: %{name}-%{version}
79 GTKmm-based GUI for ALSA Patch Bay.
81 %description ui-gtkmm -l pl
82 Oparte na GTKmm GUI do ALSA Patch Bay.
96 %{?_without_fltk:--disable-fltk --disable-fltk-test} \
97 %{?_without_gtkmm:--disable-gtkmm}
102 rm -rf $RPM_BUILD_ROOT
104 %{__make} install DESTDIR=$RPM_BUILD_ROOT
107 rm -rf $RPM_BUILD_ROOT
110 %defattr(644,root,root,755)
111 %doc NEWS AUTHORS README
112 %attr(755,root,root) %{_bindir}/*
113 %dir %{_libdir}/%{name}
114 %dir %{_libdir}/%{name}/driver
115 %dir %{_libdir}/%{name}/ui
116 %{_desktopdir}/*.desktop
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/%{name}/driver/alsa.so
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/%{name}/driver/jack.so
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/%{name}/ui/fltk.so
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_libdir}/%{name}/ui/gtkmm.so