ishcherb / rpms / a2jmidid

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