a576a6b
Summary:	Daemon for exposing ALSA sequencer applications in JACK MIDI system
a576a6b
Name:		a2jmidid
7851394
Version:	8
8deeb50
Release:	20%{?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
33b0b71
# Fix DSO linking: https://gna.org/support/index.php?2934
33b0b71
Patch0:		a2jmidid-linking.patch
1ae3db0
Patch1:		a2jmidid-man.patch
1ae3db0
Patch2:		a2jmidid-aarch64.patch
Orcan Ogetbil 8dae9b1
Patch3:		a2jmidid-ppc64.patch
a576a6b
License:	GPLv2 and GPLv2+
a576a6b
a576a6b
BuildRequires:	alsa-lib-devel
a576a6b
BuildRequires:	dbus-devel
Orcan Ogetbil ac54edc
BuildRequires:	gcc
a576a6b
BuildRequires:	jack-audio-connection-kit-devel
98135f7
BuildRequires:	python2
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
33b0b71
%patch0 -p1 -b .dso.linking
1ae3db0
%patch1 -p1 -b .man
1ae3db0
%patch2 -p1 -b .aarch64
Orcan Ogetbil 8dae9b1
%patch3 -p1 -b .ppc64
a576a6b
Orcan Ogetbil ac54edc
# Fix Python shebangs
Orcan Ogetbil ac54edc
sed -i 's|/usr/bin/.*python$|/usr/bin/python2|' a2j_control waf wscript
Orcan Ogetbil ac54edc
a576a6b
%build
a576a6b
export CFLAGS="%{optflags}"
Orcan Ogetbil ac54edc
export LINKFLAGS="$RPM_LD_FLAGS"
a576a6b
./waf configure --prefix=%{_prefix} \
a576a6b
	--enable-pkg-config-dbus-service-dir
a576a6b
./waf %{?_smp_mflags} -v
a576a6b
a576a6b
%install
a576a6b
./waf --destdir=%{buildroot} -v	install
a576a6b
a576a6b
%files
Orcan Ogetbil ac54edc
%doc AUTHORS README NEWS
Orcan Ogetbil ac54edc
%license gpl2.txt
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
8deeb50
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8-20
8deeb50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8deeb50
998faaa
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8-19
998faaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
998faaa
Orcan Ogetbil ac54edc
* Thu Jul 19 2018 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8-18
Orcan Ogetbil ac54edc
- Use Fedora link flags
Orcan Ogetbil ac54edc
- BR: gcc
Orcan Ogetbil ac54edc
- Moved license file to %%license
Orcan Ogetbil ac54edc
- Fix Python shebangs
Orcan Ogetbil ac54edc
6676a81
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-17
6676a81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6676a81
98135f7
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 8-16
98135f7
- Update Python 2 dependency declarations to new packaging standards
98135f7
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
98135f7
dadd5e2
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-15
dadd5e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dadd5e2
125c202
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-14
125c202
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
125c202
1ff548c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-13
1ff548c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1ff548c
Orcan Ogetbil 8dae9b1
* Thu Feb 16 2017 Orcan Ogetbil <oget [dot] fedora [at] gmail [dot] com> - 8-12
Orcan Ogetbil 8dae9b1
- Add patch to fix build on ppc64*
Orcan Ogetbil 8dae9b1
fae9666
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-11
fae9666
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fae9666
b58fdc2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8-10
b58fdc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b58fdc2
85e3a23
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-9
85e3a23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
85e3a23
1ae3db0
* Sun Oct 26 2014 Peter Robinson <pbrobinson@fedoraproject.org> 8-8
1ae3db0
- Add patch to fix ftbfs on aarch64
1ae3db0
50698cf
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-7
50698cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
50698cf
946a2a0
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-6
946a2a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
946a2a0
9dca035
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-5
9dca035
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9dca035
f1ef0de
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-4
f1ef0de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f1ef0de
9ad105d
* Sun Jan 13 2013 Brendan Jones <brendan.jones.it@gmail.com> 8-3
9ad105d
- Release bump for F19
9ad105d
9ad105d
* Sat Sep 15 2012 Jørn Lomax <northlomax@gmail.com> - 8-2
jvlomax 450ff58
- added patch for man pages
1a7da2b
7851394
* Mon Jul 09 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8-1
7851394
- Update to 8.
7851394
0c8c1f3
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7-3
0c8c1f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0c8c1f3
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