1 |
Name: a2jmidid |
2 |
Version: 8 |
3 |
Release: %mkrel 2 |
4 |
Summary: ALSA to JACK midi bridge |
5 |
Source: http://download.gna.org/a2jmidid/a2jmidid-8.tar.bz2 |
6 |
Patch1: a2jmidid-link_against_libpthread.patch |
7 |
URL: http://home.gna.org/a2jmidid/ |
8 |
Group: Sound/Utilities |
9 |
License: GNU General Public License version 2 or later (GPL v2 or later) |
10 |
BuildRoot: %{_tmppath}/build-%{name}-%{version} |
11 |
BuildRequires: pkgconfig(alsa) |
12 |
BuildRequires: pkgconfig(jack) |
13 |
BuildRequires: pkgconfig(dbus-1) |
14 |
BuildRequires: python |
15 |
BuildRequires: gcc |
16 |
BuildRequires: glibc-devel |
17 |
BuildRequires: pkgconfig |
18 |
|
19 |
|
20 |
%description |
21 |
a2jmidid is a daemon for exposing legacy ALSA sequencer applications in JACK |
22 |
MIDI system. |
23 |
|
24 |
%prep |
25 |
%setup -q |
26 |
%patch1 |
27 |
|
28 |
%build |
29 |
export CFLAGS="%{optflags}" |
30 |
export CXXFLAGS="%{optflags}" |
31 |
./waf configure --prefix="%{_prefix}" |
32 |
./waf %{?_smp_mflags} |
33 |
|
34 |
%install |
35 |
DESTDIR="%{buildroot}" ./waf install |
36 |
|
37 |
%clean |
38 |
%{?buildroot:%__rm -rf "%{buildroot}"} |
39 |
|
40 |
%files |
41 |
%defattr(-,root,root) |
42 |
%doc AUTHORS NEWS README *.txt |
43 |
%{_bindir}/a2j |
44 |
%{_bindir}/a2j_control |
45 |
%{_bindir}/a2jmidid |
46 |
%{_bindir}/a2jmidi_bridge |
47 |
%{_bindir}/j2amidi_bridge |
48 |
%{_datadir}/dbus-1/services/org.gna.home.a2jmidid.service |
49 |
%doc %{_mandir}/man1/a2jmidid.1* |
50 |
%doc %{_mandir}/man1/a2jmidi_bridge.1* |
51 |
%doc %{_mandir}/man1/j2amidi_bridge.1* |
52 |
%doc %{_mandir}/man1/a2j.1.xz |
53 |
%doc %{_mandir}/man1/a2j_control.1.xz |