]> git.pld-linux.org Git - packages/alsa-patch-bay.git/blame - alsa-patch-bay.spec
- updated URLs
[packages/alsa-patch-bay.git] / alsa-patch-bay.spec
CommitLineData
64b372c7 1#
ad6cf816 2# Conditional build:
78d64032 3%bcond_without fltk # without FLTK UI
4%bcond_without gtkmm # without gtkmm UI
5%bcond_without ladcca # with ladcca support
ad6cf816 6#
d44c0a6e 7Summary: Graphical patch bay for the ALSA sequencer and JACK
20d8ff1f 8Summary(pl.UTF-8): Graficzny interfejs dla sekwencera ALSY i JACK-a
ad6cf816 9Name: alsa-patch-bay
3beff249 10Version: 1.0.0
d807d8b3 11Release: 3
ad6cf816 12License: GPL
13Group: X11/Applications/Sound
9cbe96dd 14Source0: http://pkl.net/~node/software/alsa-patch-bay/%{name}-%{version}.tar.gz
3beff249 15# Source0-md5: 3aa458f6bee8b83b2cf7330707d72430
ad6cf816 16Patch0: %{name}-Makefile.patch
d44c0a6e 17Patch1: %{name}-desktop_pl.patch
3beff249 18Patch2: %{name}-missing_m4.patch
12169a64 19Patch3: %{name}-pic.patch
7818c560
SS
20Patch4: %{name}-make-jN.patch
21Patch5: %{name}-ac.patch
9cbe96dd 22URL: http://pkl.net/~node/software/alsa-patch-bay/
ad6cf816 23BuildRequires: autoconf
24BuildRequires: automake
d44c0a6e 25%{?with_fltk:BuildRequires: fltk-devel >= 1.1}
78d64032 26%{?with_gtkmm:BuildRequires: gtkmm22-devel}
3beff249 27BuildRequires: jack-audio-connection-kit-devel >= 0.80.0
d44c0a6e 28%{?with_ladcca:BuildRequires: ladcca-devel}
64b372c7 29BuildRequires: libtool
ad6cf816 30BuildRequires: pkgconfig
3c5eeeb6 31Requires: %{name}-ui = %{version}-%{release}
ad6cf816 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
d44c0a6e 35ALSA Patch Bay is a GUI patchbay for the ALSA sequencer and
36the JACK audio subsystems. In easy way connects ports of MIDI and
37audio devices like sequencer, external keyboard, soft synth and
38many others.
64b372c7 39
9ee3d793
JR
40%description -l pl.UTF-8
41ALSA Patch Bay to graficzny interfejs dla podsystemów sequencera
42ALSY oraz dźwiękowego JACK-a. W łatwy sposób łączy porty urządzeń
43MIDI i audio jak sekwencer, zewnętrzne klawisze, synteza programowa
d44c0a6e 44i wiele innych.
ad6cf816 45
c9a64b50 46%package driver-alsa
90a1eb4e 47Summary: ALSA audio driver for ALSA Patch Bay
20d8ff1f 48Summary(pl.UTF-8): Sterownik dźwięku ALSA dla ALSA Patch Bay
c9a64b50 49Group: X11/Applications/Sound
d44c0a6e 50Requires: %{name} = %{version}-%{release}
3c5eeeb6 51Requires: %{name}-ui = %{version}-%{release}
c9a64b50
JB
52
53%description driver-alsa
90a1eb4e
JB
54ALSA audio driver for ALSA Patch Bay.
55
9ee3d793
JR
56%description driver-alsa -l pl.UTF-8
57Sterownik dźwięku ALSA dla ALSA Patch Bay.
c9a64b50
JB
58
59%package driver-jack
90a1eb4e 60Summary: JACK audio driver for ALSA Patch Bay
20d8ff1f 61Summary(pl.UTF-8): Sterownik dźwięku JACK-a dla ALSA Patch Bay
c9a64b50 62Group: X11/Applications/Sound
d44c0a6e 63Requires: %{name} = %{version}-%{release}
3c5eeeb6
JB
64Requires: %{name}-driver-alsa = %{version}-%{release}
65Requires: %{name}-ui = %{version}-%{release}
c90a0485 66Provides: jack-patch-bay
c9a64b50
JB
67
68%description driver-jack
90a1eb4e
JB
69JACK audio driver for ALSA Patch Bay.
70
9ee3d793
JR
71%description driver-jack -l pl.UTF-8
72Sterownik dźwięku JACK-a dla ALSA Patch Bay.
c9a64b50
JB
73
74%package ui-fltk
90a1eb4e 75Summary: FLTK-based GUI for ALSA Patch Bay
20d8ff1f 76Summary(pl.UTF-8): Oparte na FLTK GUI do ALSA Patch Bay
c9a64b50 77Group: X11/Applications/Sound
d44c0a6e 78Requires: %{name} = %{version}-%{release}
3c5eeeb6 79Provides: %{name}-ui = %{version}-%{release}
c9a64b50
JB
80
81%description ui-fltk
90a1eb4e
JB
82FLTK-based graphical user interface for ALSA Patch Bay.
83
9ee3d793
JR
84%description ui-fltk -l pl.UTF-8
85Oparty na FLTK graficzny interfejs użytkownika do ALSA Patch Bay.
c9a64b50
JB
86
87%package ui-gtkmm
90a1eb4e 88Summary: GTKmm-based GUI for ALSA Patch Bay
20d8ff1f 89Summary(pl.UTF-8): Oparte na GTKmm GUI do ALSA Patch Bay
c9a64b50 90Group: X11/Applications/Sound
d44c0a6e 91Requires: %{name} = %{version}-%{release}
78d64032 92Requires: gtkmm22
3c5eeeb6 93Provides: %{name}-ui = %{version}-%{release}
c9a64b50
JB
94
95%description ui-gtkmm
90a1eb4e
JB
96GTKmm-based GUI for ALSA Patch Bay.
97
9ee3d793 98%description ui-gtkmm -l pl.UTF-8
90a1eb4e 99Oparte na GTKmm GUI do ALSA Patch Bay.
c9a64b50 100
ad6cf816 101%prep
c9a64b50 102%setup -q
ad6cf816 103%patch0 -p1
d44c0a6e 104%patch1 -p1
3beff249 105%patch2 -p1
12169a64 106%patch3 -p1
7818c560
SS
107%patch4 -p1
108%patch5 -p1
ad6cf816 109
110%build
ad6cf816 111%{__libtoolize}
5b94ec73 112%{__autoheader}
ad6cf816 113%{__aclocal} -I m4
114%{__autoconf}
ad6cf816 115%{__automake}
116%configure \
3beff249 117 %{!?with_fltk:--disable-fltk --disable-fltk-test} \
118 %{!?with_gtkmm:--disable-gtkmm} \
12169a64
JB
119 %{!?with_ladcca:--disable-ladcca} \
120 --disable-static
c90a0485 121
ad6cf816 122%{__make}
123
124%install
125rm -rf $RPM_BUILD_ROOT
126
4c75dd01
PG
127%{__make} install \
128 DESTDIR=$RPM_BUILD_ROOT
ad6cf816 129
3cba866d 130ln -sf alsa-patch-bay $RPM_BUILD_ROOT%{_bindir}/jack-patch-bay
7818c560 131
12169a64
JB
132rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/ui/*.la
133
ad6cf816 134%clean
135rm -rf $RPM_BUILD_ROOT
136
ad6cf816 137%files
138%defattr(644,root,root,755)
139%doc NEWS AUTHORS README
64b372c7
JB
140%dir %{_libdir}/%{name}
141%dir %{_libdir}/%{name}/driver
64b372c7 142%dir %{_libdir}/%{name}/ui
ad6cf816 143%{_pixmapsdir}/*.png
c9a64b50
JB
144
145%files driver-alsa
146%defattr(644,root,root,755)
3beff249 147%attr(755,root,root) %{_bindir}/alsa-patch-bay
c9a64b50 148%attr(755,root,root) %{_libdir}/%{name}/driver/alsa.so
d44c0a6e 149%{_desktopdir}/alsa-patch-bay.desktop
c9a64b50
JB
150
151%files driver-jack
152%defattr(644,root,root,755)
3beff249 153%attr(755,root,root) %{_bindir}/jack-patch-bay
c9a64b50 154%attr(755,root,root) %{_libdir}/%{name}/driver/jack.so
d44c0a6e 155%{_desktopdir}/jack-patch-bay.desktop
c9a64b50 156
d44c0a6e 157%if %{with fltk}
c9a64b50
JB
158%files ui-fltk
159%defattr(644,root,root,755)
160%attr(755,root,root) %{_libdir}/%{name}/ui/fltk.so
d44c0a6e 161%endif
c9a64b50 162
d44c0a6e 163%if %{with gtkmm}
c9a64b50
JB
164%files ui-gtkmm
165%defattr(644,root,root,755)
166%attr(755,root,root) %{_libdir}/%{name}/ui/gtkmm.so
d44c0a6e 167%endif
This page took 0.081553 seconds and 4 git commands to generate.