|
|
6c86077 |
Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system
|
|
|
6c86077 |
Name: a2jmidid
|
|
|
6c86077 |
Version: 6
|
|
|
f355cd3 |
Release: 3%{?dist}.1
|
|
|
6c86077 |
URL: http://home.gna.org/a2jmidid/
|
|
|
6c86077 |
Source0: http://download.gna.org/%{name}/%{name}-%{version}.tar.bz2
|
|
|
6c86077 |
# Fix DSO linking error
|
|
|
6c86077 |
# https://gna.org/support/index.php?2547
|
|
|
6c86077 |
Patch0: a2jmidid-linking.patch
|
|
|
f355cd3 |
# Sigsegv stacktrace doesn't compile on ppc. Workaround.
|
|
|
f355cd3 |
# Actually the code is taken from jack2. This workaround is
|
|
|
f355cd3 |
# also taken from jack2.
|
|
|
f355cd3 |
Patch1: a2jmidid-ppc.patch
|
|
|
6c86077 |
# a2jmidi_bridge.c and j2amidi_bridge.c are GPLv2+
|
|
|
6c86077 |
# The rest is GPLv2
|
|
|
6c86077 |
License: GPLv2 and GPLv2+
|
|
|
6c86077 |
Group: Applications/Multimedia
|
|
|
6c86077 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
6c86077 |
|
|
|
6c86077 |
BuildRequires: alsa-lib-devel
|
|
|
6c86077 |
BuildRequires: dbus-devel
|
|
|
6c86077 |
BuildRequires: jack-audio-connection-kit-devel
|
|
|
6c86077 |
BuildRequires: python
|
|
|
6c86077 |
Requires: dbus
|
|
|
6c86077 |
|
|
|
6c86077 |
|
|
|
6c86077 |
%description
|
|
|
6c86077 |
a2jmidid is a project that aims to ease usage of legacy ALSA sequencer
|
|
|
6c86077 |
applications, in a JACK MIDI enabled system. There are two ways to use legacy
|
|
|
6c86077 |
ALSA sequencer applications in JACK MIDI system.
|
|
|
6c86077 |
|
|
|
6c86077 |
The first approach is to use automatic bridging. For every ALSA sequencer port
|
|
|
6c86077 |
you get one JACK MIDI port. If ALSA sequencer port is both input and output
|
|
|
6c86077 |
one, you get two JACK MIDI ports, one input and output.
|
|
|
6c86077 |
|
|
|
6c86077 |
The second approach is to static bridges. You start application that creates
|
|
|
6c86077 |
one ALSA sequencer port and one JACK MIDI port. Such bridge is unidirectional.
|
|
|
6c86077 |
|
|
|
6c86077 |
%prep
|
|
|
6c86077 |
%setup -q
|
|
|
6c86077 |
%patch0 -p1 -b .linking
|
|
|
f355cd3 |
%patch1 -p1 -b .ppc
|
|
|
6c86077 |
|
|
|
6c86077 |
%build
|
|
|
6c86077 |
export CFLAGS="%{optflags}"
|
|
|
6c86077 |
./waf configure --prefix=%{_prefix} \
|
|
|
6c86077 |
--enable-pkg-config-dbus-service-dir
|
|
|
6c86077 |
./waf %{?_smp_mflags} -v
|
|
|
6c86077 |
|
|
|
6c86077 |
%install
|
|
|
6c86077 |
rm -fr %{buildroot}
|
|
|
6c86077 |
./waf --destdir=%{buildroot} -v install
|
|
|
6c86077 |
|
|
|
6c86077 |
%clean
|
|
|
6c86077 |
rm -fr %{buildroot}
|
|
|
6c86077 |
|
|
|
6c86077 |
%files
|
|
|
6c86077 |
%defattr(-,root,root,-)
|
|
|
6c86077 |
%doc AUTHORS README gpl2.txt NEWS
|
|
|
6c86077 |
%{_bindir}/a2j
|
|
|
6c86077 |
%{_bindir}/%{name}
|
|
|
6c86077 |
%{_bindir}/a2j_control
|
|
|
6c86077 |
%{_bindir}/a2jmidi_bridge
|
|
|
6c86077 |
%{_bindir}/j2amidi_bridge
|
|
|
6c86077 |
%{_datadir}/dbus-1/services/org.gna.home.a2jmidid.service
|
|
|
6c86077 |
|
|
|
6c86077 |
%changelog
|
|
|
f355cd3 |
* Sat Jul 17 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-3.1
|
|
|
f355cd3 |
- Workaround build failure on ppc/ppc64
|
|
|
f355cd3 |
|
|
|
6c86077 |
* Fri Jul 16 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-3
|
|
|
6c86077 |
- Fix license tag
|
|
|
6c86077 |
|
|
|
6c86077 |
* Wed May 19 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-2
|
|
|
6c86077 |
- Fix DSO linking
|
|
|
6c86077 |
|
|
|
6c86077 |
* Sat Jan 30 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-1
|
|
|
6c86077 |
- Update to 6
|
|
|
6c86077 |
|
|
|
6c86077 |
* Thu Nov 26 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 5-1
|
|
|
6c86077 |
- Initial Fedora package. Specfile borrowed from SuSE.
|
|
|
6c86077 |
|
|
|
6c86077 |
* Mon Jun 15 2009 Toni Graffy <toni@links2linux.de> - 5-0.pm.1
|
|
|
6c86077 |
- update to 5
|
|
|
6c86077 |
* Sun Aug 03 2008 Toni Graffy <toni@links2linux.de> - 4-0.pm.1
|
|
|
6c86077 |
- update to 4
|
|
|
6c86077 |
* Sat Oct 27 2007 Toni Graffy <toni@links2linux.de> - 2-0.pm.1
|
|
|
6c86077 |
- update to 2
|
|
|
6c86077 |
* Mon Aug 27 2007 Toni Graffy <toni@links2linux.de> - 1-0.pm.1
|
|
|
6c86077 |
- Initial build 1
|