]> git.pld-linux.org Git - packages/alsa-patch-bay.git/blame - alsa-patch-bay.spec
- Initial import.
[packages/alsa-patch-bay.git] / alsa-patch-bay.spec
CommitLineData
ad6cf816 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#
9Summary: A GUI patchbay for ALSA and JACK.
10Name: alsa-patch-bay
11Version: 0.5.1
12Release: 1
13License: GPL
14Group: X11/Applications/Sound
15Source0: http://pkl.net/~node/software/%{name}-%{version}.tar.gz
16Patch0: %{name}-Makefile.patch
17Patch1: %{name}-desktop.patch
18URL: http://pkl.net/~node/alsa-patch-bay.html
19BuildRequires: autoconf
20BuildRequires: automake
21BuildRequires: libtool
22BuildRequires: jack-audio-connection-kit-devel
23BuildRequires: pkgconfig
24%{!?_without_gtkmm:BuildRequires: gtkmm-devel}
25%{?_with_fltk:BuildRequires: fltk-devel}
26Provides: jack-patch-bay
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30ALSA Patch Bay is a GUI patchbay for the ALSA seq sequencer api and
31the 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
39rm -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
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} install DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -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.355918 seconds and 4 git commands to generate.