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
38 Group: X11/Applications/Sound
39 Requires: %{name}-%{version}
41 %description driver-alsa
45 Group: X11/Applications/Sound
46 Requires: %{name}-%{version}
48 %description driver-jack
52 Group: X11/Applications/Sound
53 Requires: %{name}-%{version}
59 Group: X11/Applications/Sound
60 Requires: %{name}-%{version}
76 %{?_without_fltk:--disable-fltk --disable-fltk-test} \
77 %{?_without_gtkmm:--disable-gtkmm}
82 rm -rf $RPM_BUILD_ROOT
84 %{__make} install DESTDIR=$RPM_BUILD_ROOT
87 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
91 %doc NEWS AUTHORS README
92 %attr(755,root,root) %{_bindir}/*
93 %dir %{_libdir}/%{name}
94 %dir %{_libdir}/%{name}/driver
95 %dir %{_libdir}/%{name}/ui
96 %{_desktopdir}/*.desktop
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/%{name}/driver/alsa.so
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/%{name}/driver/jack.so
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/%{name}/ui/fltk.so
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/%{name}/ui/gtkmm.so