a576a6b
Summary:	Daemon for exposing ALSA sequencer applications in JACK MIDI system
a576a6b
Name:		a2jmidid
0482de2
Version:	7
74723c9
Release:	2%{?dist}
a576a6b
URL:		http://home.gna.org/a2jmidid/
a576a6b
Source0:	http://download.gna.org/%{name}/%{name}-%{version}.tar.bz2
a576a6b
# a2jmidi_bridge.c and j2amidi_bridge.c are GPLv2+
a576a6b
# The rest is GPLv2
a576a6b
License:	GPLv2 and GPLv2+
a576a6b
Group:		Applications/Multimedia
a576a6b
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
a576a6b
a576a6b
BuildRequires:	alsa-lib-devel
a576a6b
BuildRequires:	dbus-devel
a576a6b
BuildRequires:	jack-audio-connection-kit-devel
a576a6b
BuildRequires:	python
a576a6b
Requires:	dbus
a576a6b
a576a6b
a576a6b
%description
a576a6b
a2jmidid is a project that aims to ease usage of legacy ALSA sequencer
a576a6b
applications, in a JACK MIDI enabled system. There are two ways to use legacy
a576a6b
ALSA sequencer applications in JACK MIDI system.
a576a6b
a576a6b
The first approach is to use automatic bridging. For every ALSA sequencer port
a576a6b
you get one JACK MIDI port. If ALSA sequencer port is both input and output
a576a6b
one, you get two JACK MIDI ports, one input and output.
a576a6b
a576a6b
The second approach is to static bridges. You start application that creates
a576a6b
one ALSA sequencer port and one JACK MIDI port. Such bridge is unidirectional.
a576a6b
a576a6b
%prep
a576a6b
%setup -q
a576a6b
a576a6b
%build
a576a6b
export CFLAGS="%{optflags}"
a576a6b
./waf configure --prefix=%{_prefix} \
a576a6b
	--enable-pkg-config-dbus-service-dir
a576a6b
./waf %{?_smp_mflags} -v
a576a6b
a576a6b
%install
a576a6b
rm -fr %{buildroot}
a576a6b
./waf --destdir=%{buildroot} -v	install
a576a6b
a576a6b
%clean
a576a6b
rm -fr %{buildroot}
a576a6b
a576a6b
%files
a576a6b
%defattr(-,root,root,-)
a576a6b
%doc AUTHORS README gpl2.txt NEWS
a576a6b
%{_bindir}/a2j
a576a6b
%{_bindir}/%{name}
a576a6b
%{_bindir}/a2j_control
a576a6b
%{_bindir}/a2jmidi_bridge
a576a6b
%{_bindir}/j2amidi_bridge
a576a6b
%{_datadir}/dbus-1/services/org.gna.home.a2jmidid.service
0482de2
%{_mandir}/man1/a2j*
0482de2
%{_mandir}/man1/j2a*
a576a6b
a576a6b
%changelog
74723c9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7-2
74723c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
74723c9
0482de2
* Wed Jan 26 2011 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 7-1
0482de2
- Update to 7.
0482de2
- Drop upstreamed patches.
0482de2
a576a6b
* Fri Jul 16 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-3
a576a6b
- Fix license tag
a576a6b
a576a6b
* Wed May 19 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-2
a576a6b
- Fix DSO linking
a576a6b
a576a6b
* Sat Jan 30 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-1
a576a6b
- Update to 6
a576a6b
a576a6b
* Thu Nov 26 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 5-1
a576a6b
- Initial Fedora package. Specfile borrowed from SuSE.
a576a6b
a576a6b
* Mon Jun 15 2009 Toni Graffy <toni@links2linux.de> - 5-0.pm.1
a576a6b
- update to 5
a576a6b
* Sun Aug 03 2008 Toni Graffy <toni@links2linux.de> - 4-0.pm.1
a576a6b
- update to 4
a576a6b
* Sat Oct 27 2007 Toni Graffy <toni@links2linux.de> - 2-0.pm.1
a576a6b
- update to 2
a576a6b
* Mon Aug 27 2007 Toni Graffy <toni@links2linux.de> - 1-0.pm.1
a576a6b
- Initial build 1