a576a6
Summary:	Daemon for exposing ALSA sequencer applications in JACK MIDI system
a576a6
Name:		a2jmidid
785139
Version:	8
998faa
Release:	19%{?dist}
a576a6
URL:		http://home.gna.org/a2jmidid/
a576a6
Source0:	http://download.gna.org/%{name}/%{name}-%{version}.tar.bz2
a576a6
# a2jmidi_bridge.c and j2amidi_bridge.c are GPLv2+
a576a6
# The rest is GPLv2
33b0b7
# Fix DSO linking: https://gna.org/support/index.php?2934
33b0b7
Patch0:		a2jmidid-linking.patch
1ae3db
Patch1:		a2jmidid-man.patch
1ae3db
Patch2:		a2jmidid-aarch64.patch
Orcan Ogetbil 8dae9b
Patch3:		a2jmidid-ppc64.patch
a576a6
License:	GPLv2 and GPLv2+
a576a6
a576a6
BuildRequires:	alsa-lib-devel
a576a6
BuildRequires:	dbus-devel
Orcan Ogetbil ac54ed
BuildRequires:	gcc
a576a6
BuildRequires:	jack-audio-connection-kit-devel
98135f
BuildRequires:	python2
a576a6
Requires:	dbus
a576a6
a576a6
a576a6
%description
a576a6
a2jmidid is a project that aims to ease usage of legacy ALSA sequencer
a576a6
applications, in a JACK MIDI enabled system. There are two ways to use legacy
a576a6
ALSA sequencer applications in JACK MIDI system.
a576a6
a576a6
The first approach is to use automatic bridging. For every ALSA sequencer port
a576a6
you get one JACK MIDI port. If ALSA sequencer port is both input and output
a576a6
one, you get two JACK MIDI ports, one input and output.
a576a6
a576a6
The second approach is to static bridges. You start application that creates
a576a6
one ALSA sequencer port and one JACK MIDI port. Such bridge is unidirectional.
a576a6
a576a6
%prep
a576a6
%setup -q
33b0b7
%patch0 -p1 -b .dso.linking
1ae3db
%patch1 -p1 -b .man
1ae3db
%patch2 -p1 -b .aarch64
Orcan Ogetbil 8dae9b
%patch3 -p1 -b .ppc64
a576a6
Orcan Ogetbil ac54ed
# Fix Python shebangs
Orcan Ogetbil ac54ed
sed -i 's|/usr/bin/.*python$|/usr/bin/python2|' a2j_control waf wscript
Orcan Ogetbil ac54ed
a576a6
%build
a576a6
export CFLAGS="%{optflags}"
Orcan Ogetbil ac54ed
export LINKFLAGS="$RPM_LD_FLAGS"
a576a6
./waf configure --prefix=%{_prefix} \
a576a6
	--enable-pkg-config-dbus-service-dir
a576a6
./waf %{?_smp_mflags} -v
a576a6
a576a6
%install
a576a6
./waf --destdir=%{buildroot} -v	install
a576a6
a576a6
%files
Orcan Ogetbil ac54ed
%doc AUTHORS README NEWS
Orcan Ogetbil ac54ed
%license gpl2.txt
a576a6
%{_bindir}/a2j
a576a6
%{_bindir}/%{name}
a576a6
%{_bindir}/a2j_control
a576a6
%{_bindir}/a2jmidi_bridge
a576a6
%{_bindir}/j2amidi_bridge
a576a6
%{_datadir}/dbus-1/services/org.gna.home.a2jmidid.service
0482de
%{_mandir}/man1/a2j*
0482de
%{_mandir}/man1/j2a*
a576a6
a576a6
%changelog
998faa
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8-19
998faa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
998faa
Orcan Ogetbil ac54ed
* Thu Jul 19 2018 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8-18
Orcan Ogetbil ac54ed
- Use Fedora link flags
Orcan Ogetbil ac54ed
- BR: gcc
Orcan Ogetbil ac54ed
- Moved license file to %%license
Orcan Ogetbil ac54ed
- Fix Python shebangs
Orcan Ogetbil ac54ed
6676a8
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-17
6676a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6676a8
98135f
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 8-16
98135f
- Update Python 2 dependency declarations to new packaging standards
98135f
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
98135f
dadd5e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-15
dadd5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dadd5e
125c20
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-14
125c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
125c20
1ff548
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-13
1ff548
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1ff548
Orcan Ogetbil 8dae9b
* Thu Feb 16 2017 Orcan Ogetbil <oget [dot]="" fedora="" [at]="" gmail="" [dot]="" com=""> - 8-12
Orcan Ogetbil 8dae9b
- Add patch to fix build on ppc64*
Orcan Ogetbil 8dae9b
fae966
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-11
fae966
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fae966
b58fdc
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8-10
b58fdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b58fdc
85e3a2
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-9
85e3a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
85e3a2
1ae3db
* Sun Oct 26 2014 Peter Robinson <pbrobinson@fedoraproject.org> 8-8
1ae3db
- Add patch to fix ftbfs on aarch64
1ae3db
50698c
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-7
50698c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
50698c
946a2a
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-6
946a2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
946a2a
9dca03
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-5
9dca03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9dca03
f1ef0d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-4
f1ef0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f1ef0d
9ad105
* Sun Jan 13 2013 Brendan Jones <brendan.jones.it@gmail.com> 8-3
9ad105
- Release bump for F19
9ad105
9ad105
* Sat Sep 15 2012 Jørn Lomax <northlomax@gmail.com> - 8-2
jvlomax 450ff5
- added patch for man pages
1a7da2
785139
* Mon Jul 09 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8-1
785139
- Update to 8.
785139
0c8c1f
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7-3
0c8c1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0c8c1f
74723c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7-2
74723c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
74723c
0482de
* Wed Jan 26 2011 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 7-1
0482de
- Update to 7.
0482de
- Drop upstreamed patches.
0482de
a576a6
* Fri Jul 16 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-3
a576a6
- Fix license tag
a576a6
a576a6
* Wed May 19 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-2
a576a6
- Fix DSO linking
a576a6
a576a6
* Sat Jan 30 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 6-1
a576a6
- Update to 6
a576a6
a576a6
* Thu Nov 26 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 5-1
a576a6
- Initial Fedora package. Specfile borrowed from SuSE.
a576a6
a576a6
* Mon Jun 15 2009 Toni Graffy <toni@links2linux.de> - 5-0.pm.1
a576a6
- update to 5
a576a6
* Sun Aug 03 2008 Toni Graffy <toni@links2linux.de> - 4-0.pm.1
a576a6
- update to 4
a576a6
* Sat Oct 27 2007 Toni Graffy <toni@links2linux.de> - 2-0.pm.1
a576a6
- update to 2
a576a6
* Mon Aug 27 2007 Toni Graffy <toni@links2linux.de> - 1-0.pm.1
a576a6
- Initial build 1