]> git.pld-linux.org Git - packages/alsa-patch-bay.git/blob - alsa-patch-bay.spec
- Removed .desktop patch - wasn't needed.
[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 URL:            http://pkl.net/~node/alsa-patch-bay.html
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libtool
21 BuildRequires:  jack-audio-connection-kit-devel
22 BuildRequires:  pkgconfig
23 %{!?_without_gtkmm:BuildRequires:       gtkmm-devel}
24 %{?_with_fltk:BuildRequires:    fltk-devel}
25 Provides:       jack-patch-bay
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 ALSA Patch Bay is a GUI patchbay for the ALSA seq sequencer api and
30 the JACK audio API. It can use FLTK 1.1 or GTKmm 2.0.0.
31
32 %prep
33 %setup -q -n %{name}-%{version}
34 %patch0 -p1
35
36 %build
37 rm -f missing
38 %{__libtoolize}
39 %{__aclocal} -I m4
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 %configure \
44 %if %{?_with_fltk:0}%{!?_with_fltk:1}
45     --disable-fltk \
46     --disable-fltk-test \
47 %endif
48 %{?_without_gtkmm:--disable-gtkmm}
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60
61 %files
62 %defattr(644,root,root,755)
63 %doc NEWS AUTHORS README
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/applications/*.desktop
66 %attr(755,root,root) %{_libdir}/%{name}/driver/*.so
67 %attr(755,root,root) %{_libdir}/%{name}/ui/*.so
68 %{_pixmapsdir}/*.png
This page took 0.31043 seconds and 4 git commands to generate.