[jackctlmmc] Initial import (#709180).

Brendan Jones bsjones at fedoraproject.org
Mon Aug 8 11:27:17 UTC 2011


commit effac682b60353b2751812678796e40ca22d15b6
Author: bsjones <brendan.jones.it at gmail.com>
Date:   Mon Aug 8 21:26:32 2011 +1000

    Initial import (#709180).

 .gitignore      |    1 +
 jackctlmmc.spec |   84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8057b14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jackctlmmc-4.tar.gz
diff --git a/jackctlmmc.spec b/jackctlmmc.spec
new file mode 100644
index 0000000..a7e216e
--- /dev/null
+++ b/jackctlmmc.spec
@@ -0,0 +1,84 @@
+Summary:          Allows control over JACK transport via Midi
+Name:             jackctlmmc
+Version:          4
+Release:          3%{?dist}
+License:          GPLv2
+Group:            Applications/Multimedia
+URL:              http://sourceforge.net/projects/%{name} 
+Source0:          http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:    alsa-lib-devel
+BuildRequires:    qt-devel
+BuildRequires:    jack-audio-connection-kit-devel
+BuildRequires:    lash-devel
+BuildRequires:    desktop-file-utils
+
+%description
+A small application that allows the user to control JACK transport via Midi 
+Machine Control (MMC) commands. MMC is a common protocol sent by hard disk 
+recorders and midi control pads to let other devices or programs know where you
+are in a track.
+
+%package -n qjackmmc
+License:          GPLv2+
+Summary:          Qt application that controls JACK transport via Midi
+Group:            Applications/Multimedia
+
+%description -n qjackmmc 
+QJackMMC is a Qt based program that can connect to a device or program that 
+emits MIDI Machine Control (MMC) and allow it to drive JACK transport, which in 
+turn can control other programs. QJackMMC is the Qt version of jackctlmmc.
+
+%prep
+
+%setup -q -n %{name}
+
+# Fix encoding issues
+for file in  AUTHORS README NEWS VERSION TODO gpl.txt; do
+   sed 's|\r||' $file > $file.tmp
+   iconv -f ISO-8859-1 -t UTF8 $file.tmp > $file.tmp2
+   touch -r $file $file.tmp2
+   mv -f $file.tmp2 $file
+done
+
+%build
+%configure --enable-gui=yes --enable-cli=yes 
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=%{buildroot} install
+
+desktop-file-install                                       \
+   --add-category="Midi"                                   \
+   --add-category="X-Alsa"                                 \
+   --add-category="X-Jack"                                 \
+   --remove-category="MIDI"                                \
+   --remove-category="ALSA"                                \
+   --remove-category="JACK"                                \
+   --dir=%{buildroot}%{_datadir}/applications              \
+      %{buildroot}/%{_datadir}/applications/qjackmmc.desktop
+
+%files 
+%defattr(-,root,root,-)
+%doc AUTHORS README NEWS VERSION TODO gpl.txt
+%{_bindir}/%{name}
+
+%files -n qjackmmc
+%doc gpl.txt
+%defattr(-,root,root,-)
+%{_bindir}/qjackmmc
+%{_datadir}/applications/qjackmmc.desktop
+%{_datadir}/pixmaps/qjackmmc.png
+
+
+%changelog
+
+* Sat Aug 06 2011 Brendan Jones <brendan.jones.it at gmail.com> 4-3
+- add License to sub-package 
+
+* Mon May 30 2011 Brendan Jones <brendan.jones.it at gmail.com> 4-2
+- invalidate installed desktop file, removing sed statements 
+
+* Mon May 30 2011 Brendan Jones <brendan.jones.it at gmail.com> 4-1
+- initial build 
+
diff --git a/sources b/sources
index e69de29..258e578 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+512164d46b8ef2db2dc47dc5e4f7775a  jackctlmmc-4.tar.gz


More information about the scm-commits mailing list