summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget@fedoraproject.org>2010-07-17 06:56:40 (GMT)
committerOrcan Ogetbil <oget@fedoraproject.org>2010-07-17 06:56:40 (GMT)
commit6c86077b4cd452219e5d8e69e2fc4276c15f0d9d (patch)
tree0b41099719c0bcff50fe57f9381ed8615fac85d6
parent2276165337be792124fa7c467fdeb1eb6d5304f4 (diff)
downloada2jmidid-6c86077b4cd452219e5d8e69e2fc4276c15f0d9d.zip
a2jmidid-6c86077b4cd452219e5d8e69e2fc4276c15f0d9d.tar.gz
a2jmidid-6c86077b4cd452219e5d8e69e2fc4276c15f0d9d.tar.xz
- Fix license taga2jmidid-6-3_fc12
Wed May 19 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-2 - Fix DSO linking Sat Jan 30 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-1 - Update to 6 Thu Nov 26 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 5-1 - Initial Fedora package. Specfile borrowed from SuSE.
-rw-r--r--.cvsignore1
-rw-r--r--a2jmidid-linking.patch11
-rw-r--r--a2jmidid.spec82
-rw-r--r--import.log1
-rw-r--r--sources1
5 files changed, 96 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index e69de29..d6577cf 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+a2jmidid-6.tar.bz2
diff --git a/a2jmidid-linking.patch b/a2jmidid-linking.patch
new file mode 100644
index 0000000..c99c906
--- /dev/null
+++ b/a2jmidid-linking.patch
@@ -0,0 +1,11 @@
+diff -rupN a2jmidid-6.old/wscript a2jmidid-6/wscript
+--- a2jmidid-6.old/wscript 2009-12-06 19:53:25.000000000 -0500
++++ a2jmidid-6/wscript 2010-05-19 13:13:20.000000000 -0400
+@@ -130,6 +130,7 @@ def build(bld):
+ prog.includes = '.' # make waf dependency tracking work
+ prog.target = 'a2jmidid'
+ prog.uselib = 'ALSA JACK DBUS-1'
++ prog.env.append_value("LINKFLAGS", "-ldl")
+
+ prog = bld.create_obj('cc', 'program')
+ prog.source = 'a2jmidi_bridge.c'
diff --git a/a2jmidid.spec b/a2jmidid.spec
new file mode 100644
index 0000000..95217c9
--- /dev/null
+++ b/a2jmidid.spec
@@ -0,0 +1,82 @@
+Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system
+Name: a2jmidid
+Version: 6
+Release: 3%{?dist}
+URL: http://home.gna.org/a2jmidid/
+Source0: http://download.gna.org/%{name}/%{name}-%{version}.tar.bz2
+# Fix DSO linking error
+# https://gna.org/support/index.php?2547
+Patch0: a2jmidid-linking.patch
+# a2jmidi_bridge.c and j2amidi_bridge.c are GPLv2+
+# The rest is GPLv2
+License: GPLv2 and GPLv2+
+Group: Applications/Multimedia
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: alsa-lib-devel
+BuildRequires: dbus-devel
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: python
+Requires: dbus
+
+
+%description
+a2jmidid is a project that aims to ease usage of legacy ALSA sequencer
+applications, in a JACK MIDI enabled system. There are two ways to use legacy
+ALSA sequencer applications in JACK MIDI system.
+
+The first approach is to use automatic bridging. For every ALSA sequencer port
+you get one JACK MIDI port. If ALSA sequencer port is both input and output
+one, you get two JACK MIDI ports, one input and output.
+
+The second approach is to static bridges. You start application that creates
+one ALSA sequencer port and one JACK MIDI port. Such bridge is unidirectional.
+
+%prep
+%setup -q
+%patch0 -p1 -b .linking
+
+%build
+export CFLAGS="%{optflags}"
+./waf configure --prefix=%{_prefix} \
+ --enable-pkg-config-dbus-service-dir
+./waf %{?_smp_mflags} -v
+
+%install
+rm -fr %{buildroot}
+./waf --destdir=%{buildroot} -v install
+
+%clean
+rm -fr %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS README gpl2.txt NEWS
+%{_bindir}/a2j
+%{_bindir}/%{name}
+%{_bindir}/a2j_control
+%{_bindir}/a2jmidi_bridge
+%{_bindir}/j2amidi_bridge
+%{_datadir}/dbus-1/services/org.gna.home.a2jmidid.service
+
+%changelog
+* Fri Jul 16 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-3
+- Fix license tag
+
+* Wed May 19 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-2
+- Fix DSO linking
+
+* Sat Jan 30 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-1
+- Update to 6
+
+* Thu Nov 26 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 5-1
+- Initial Fedora package. Specfile borrowed from SuSE.
+
+* Mon Jun 15 2009 Toni Graffy <toni@links2linux.de> - 5-0.pm.1
+- update to 5
+* Sun Aug 03 2008 Toni Graffy <toni@links2linux.de> - 4-0.pm.1
+- update to 4
+* Sat Oct 27 2007 Toni Graffy <toni@links2linux.de> - 2-0.pm.1
+- update to 2
+* Mon Aug 27 2007 Toni Graffy <toni@links2linux.de> - 1-0.pm.1
+- Initial build 1
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..a186b4e
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+a2jmidid-6-3_fc13:F-12:a2jmidid-6-3.fc13.src.rpm:1279349786
diff --git a/sources b/sources
index e69de29..d65bf34 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+461969bc19a5331e9e81441c6431ef20 a2jmidid-6.tar.bz2