summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeejay12003-04-28 21:47:42 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitad6cf816d01325c57d08cb32fd9c83cfacbb41e3 (patch)
tree10827eedbe205a329af182d1e288d6640fcf2219
parent9799d62b0e615a7a2d2d84e80624e17a06f0d494 (diff)
downloadalsa-patch-bay-ad6cf816d01325c57d08cb32fd9c83cfacbb41e3.zip
alsa-patch-bay-ad6cf816d01325c57d08cb32fd9c83cfacbb41e3.tar.gz
- Initial import.
Changed files: alsa-patch-bay.spec -> 1.1
Notes
Notes: - Initial import.
-rw-r--r--alsa-patch-bay.spec70
1 files changed, 70 insertions, 0 deletions
diff --git a/alsa-patch-bay.spec b/alsa-patch-bay.spec
new file mode 100644
index 0000000..cdc6083
--- /dev/null
+++ b/alsa-patch-bay.spec
@@ -0,0 +1,70 @@
+# Conditional build:
+# _with_fltk enable fltk UI
+# _without_gtkmm disable gtkmm UI
+#
+# TODO:
+# - PL translations - I have absolutely no idea for it :/
+# but for now it works as it should...
+#
+Summary: A GUI patchbay for ALSA and JACK.
+Name: alsa-patch-bay
+Version: 0.5.1
+Release: 1
+License: GPL
+Group: X11/Applications/Sound
+Source0: http://pkl.net/~node/software/%{name}-%{version}.tar.gz
+Patch0: %{name}-Makefile.patch
+Patch1: %{name}-desktop.patch
+URL: http://pkl.net/~node/alsa-patch-bay.html
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: pkgconfig
+%{!?_without_gtkmm:BuildRequires: gtkmm-devel}
+%{?_with_fltk:BuildRequires: fltk-devel}
+Provides: jack-patch-bay
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ALSA Patch Bay is a GUI patchbay for the ALSA seq sequencer api and
+the JACK audio API. It can use FLTK 1.1 or GTKmm 2.0.0.
+
+%prep
+%setup -q -n %{name}-%{version}
+%patch0 -p1
+%patch1 -p1
+
+%build
+rm -f missing
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+%if %{?_with_fltk:0}%{!?_with_fltk:1}
+ --disable-fltk \
+ --disable-fltk-test \
+%endif
+%{?_without_gtkmm:--disable-gtkmm}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS AUTHORS README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/applications/*.desktop
+%attr(755,root,root) %{_libdir}/%{name}/driver/*.so
+%attr(755,root,root) %{_libdir}/%{name}/ui/*.so
+%{_pixmapsdir}/*.png