]> git.pld-linux.org Git - packages/alsa-patch-bay.git/blob - alsa-patch-bay.spec
- descriptions for modules
[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:        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}
41
42 %description driver-alsa
43 ALSA audio driver for ALSA Patch Bay.
44
45 %description driver-alsa -l pl
46 Sterownik d¼wiêku ALSA dla ALSA Patch Bay.
47
48 %package driver-jack
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}
53
54 %description driver-jack
55 JACK audio driver for ALSA Patch Bay.
56
57 %description driver-jack -l pl
58 Sterownik d¼wiêku JACK dla ALSA Patch Bay.
59
60 %package ui-fltk
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}
65
66 %description ui-fltk
67 FLTK-based graphical user interface for ALSA Patch Bay.
68
69 %description ui-fltk -l pl
70 Oparty na FLTK graficzny interfejs u¿ytkownika do ALSA Patch Bay.
71
72 %package ui-gtkmm
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}
77
78 %description ui-gtkmm
79 GTKmm-based GUI for ALSA Patch Bay.
80
81 %description ui-gtkmm -l pl
82 Oparte na GTKmm GUI do ALSA Patch Bay.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87
88 %build
89 rm -f missing
90 %{__libtoolize}
91 %{__aclocal} -I m4
92 %{__autoconf}
93 %{__autoheader}
94 %{__automake}
95 %configure \
96         %{?_without_fltk:--disable-fltk --disable-fltk-test} \
97         %{?_without_gtkmm:--disable-gtkmm}
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install DESTDIR=$RPM_BUILD_ROOT
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files
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
117 %{_pixmapsdir}/*.png
118
119 %files driver-alsa
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/%{name}/driver/alsa.so
122
123 %files driver-jack
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/%{name}/driver/jack.so
126
127 %files ui-fltk
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/%{name}/ui/fltk.so
130
131 %files ui-gtkmm
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_libdir}/%{name}/ui/gtkmm.so
This page took 0.379743 seconds and 4 git commands to generate.