3 # _with_fltk enable fltk UI
4 # _without_gtkmm disable 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 %{?_with_fltk:BuildRequires: fltk-devel >= 1.1}
19 %{!?_without_gtkmm:BuildRequires: gtkmm-devel >= 2.0.0}
20 BuildRequires: jack-audio-connection-kit-devel
21 BuildRequires: libtool
22 BuildRequires: pkgconfig
23 Provides: jack-patch-bay
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 ALSA Patch Bay is a GUI patchbay for the ALSA sequencer api and
28 the JACK audio API. It can use FLTK 1.1 or GTKmm 2.0.
31 ALSA Patch Bay to graficzny interfejs do zbioru patchy d¼wiêkowych dla
32 API sequencera ALSY oraz API d¼wiêkowego JACK. Mo¿e u¿ywaæ FLTK 1.1
36 %setup -q -n %{name}-%{version}
47 %if %{?_with_fltk:0}%{!?_with_fltk:1}
51 %{?_without_gtkmm:--disable-gtkmm}
56 rm -rf $RPM_BUILD_ROOT
58 %{__make} install DESTDIR=$RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc NEWS AUTHORS README
66 %attr(755,root,root) %{_bindir}/*
67 %dir %{_libdir}/%{name}
68 %dir %{_libdir}/%{name}/driver
69 %attr(755,root,root) %{_libdir}/%{name}/driver/*.so
70 %dir %{_libdir}/%{name}/ui
71 %attr(755,root,root) %{_libdir}/%{name}/ui/*.so
72 %{_desktopdir}/*.desktop