]> git.pld-linux.org Git - packages/alsa-patch-bay.git/blob - alsa-patch-bay.spec
- Initial import.
[packages/alsa-patch-bay.git] / alsa-patch-bay.spec
1 # Conditional build:
2 # _with_fltk            enable fltk UI
3 # _without_gtkmm        disable gtkmm UI
4 #
5 # TODO:
6 # - PL translations - I have absolutely no idea for it :/
7 #   but for now it works as it should...
8 #
9 Summary:        A GUI patchbay for ALSA and JACK.
10 Name:           alsa-patch-bay
11 Version:        0.5.1
12 Release:        1
13 License:        GPL
14 Group:          X11/Applications/Sound
15 Source0:        http://pkl.net/~node/software/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-Makefile.patch
17 Patch1:         %{name}-desktop.patch
18 URL:            http://pkl.net/~node/alsa-patch-bay.html
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  libtool
22 BuildRequires:  jack-audio-connection-kit-devel
23 BuildRequires:  pkgconfig
24 %{!?_without_gtkmm:BuildRequires:       gtkmm-devel}
25 %{?_with_fltk:BuildRequires:    fltk-devel}
26 Provides:       jack-patch-bay
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 ALSA Patch Bay is a GUI patchbay for the ALSA seq sequencer api and
31 the JACK audio API. It can use FLTK 1.1 or GTKmm 2.0.0.
32
33 %prep
34 %setup -q -n %{name}-%{version}
35 %patch0 -p1
36 %patch1 -p1
37
38 %build
39 rm -f missing
40 %{__libtoolize}
41 %{__aclocal} -I m4
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 %configure \
46 %if %{?_with_fltk:0}%{!?_with_fltk:1}
47     --disable-fltk \
48     --disable-fltk-test \
49 %endif
50 %{?_without_gtkmm:--disable-gtkmm}
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62
63 %files
64 %defattr(644,root,root,755)
65 %doc NEWS AUTHORS README
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/applications/*.desktop
68 %attr(755,root,root) %{_libdir}/%{name}/driver/*.so
69 %attr(755,root,root) %{_libdir}/%{name}/ui/*.so
70 %{_pixmapsdir}/*.png
This page took 0.053288 seconds and 3 git commands to generate.