]> git.pld-linux.org Git - packages/alsa-patch-bay.git/blame - alsa-patch-bay.spec
- changelog cosmetics
[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
ad6cf816 17URL: http://pkl.net/~node/alsa-patch-bay.html
18BuildRequires: autoconf
19BuildRequires: automake
20BuildRequires: libtool
21BuildRequires: jack-audio-connection-kit-devel
22BuildRequires: pkgconfig
23%{!?_without_gtkmm:BuildRequires: gtkmm-devel}
24%{?_with_fltk:BuildRequires: fltk-devel}
25Provides: jack-patch-bay
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29ALSA Patch Bay is a GUI patchbay for the ALSA seq sequencer api and
30the 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
ad6cf816 35
36%build
37rm -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
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -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}/*
6333ec50 65%{_desktopdir}/*.desktop
ad6cf816 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.077433 seconds and 4 git commands to generate.