]> git.pld-linux.org Git - packages/alsa-patch-bay.git/blob - alsa-patch-bay.spec
- split plugins into subpackages (different dependencies)
[packages/alsa-patch-bay.git] / alsa-patch-bay.spec
1 #
2 # Conditional build:
3 # _without_fltk         - without FLTK UI
4 # _without_gtkmm        - without gtkmm UI
5 #
6 Summary:        A GUI patchbay for ALSA and JACK
7 Summary(pl):    Graficzny interfejs do zbioru patchy d¼wiêkowych dla ALSY i JACKa
8 Name:           alsa-patch-bay
9 Version:        0.5.1
10 Release:        1
11 License:        GPL
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)
26
27 %description
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.
30
31 %description -l pl
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
34 lub GTKmm 2.0.
35
36 %package driver-alsa
37 Summary:        -
38 Group:          X11/Applications/Sound
39 Requires:       %{name}-%{version}
40
41 %description driver-alsa
42
43 %package driver-jack
44 Summary:        -
45 Group:          X11/Applications/Sound
46 Requires:       %{name}-%{version}
47
48 %description driver-jack
49
50 %package ui-fltk
51 Summary:        -
52 Group:          X11/Applications/Sound
53 Requires:       %{name}-%{version}
54
55 %description ui-fltk
56
57 %package ui-gtkmm
58 Summary:        -
59 Group:          X11/Applications/Sound
60 Requires:       %{name}-%{version}
61
62 %description ui-gtkmm
63
64 %prep
65 %setup -q
66 %patch0 -p1
67
68 %build
69 rm -f missing
70 %{__libtoolize}
71 %{__aclocal} -I m4
72 %{__autoconf}
73 %{__autoheader}
74 %{__automake}
75 %configure \
76         %{?_without_fltk:--disable-fltk --disable-fltk-test} \
77         %{?_without_gtkmm:--disable-gtkmm}
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install DESTDIR=$RPM_BUILD_ROOT
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
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
97 %{_pixmapsdir}/*.png
98
99 %files driver-alsa
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/%{name}/driver/alsa.so
102
103 %files driver-jack
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/%{name}/driver/jack.so
106
107 %files ui-fltk
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/%{name}/ui/fltk.so
110
111 %files ui-gtkmm
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/%{name}/ui/gtkmm.so
This page took 0.076673 seconds and 3 git commands to generate.