blob: a1466796dcd6d634457792e21c72afcd4eb1c439 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
%global groupname jackuser
Name: jack-audio-connection-kit
Version: 1.9.22
Release: 1
Summary: A professional sound server
License: GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and GPL-3.0+
URL: https://jackaudio.org/
Source0: https://github.com/jackaudio/jack2/archive/v%{version}.tar.gz
BuildRequires: alsa-lib-devel dbus-devel doxygen expat-devel gcc-c++ libffado-devel libsamplerate-devel libdb-devel < 6.0.20
BuildRequires: libsndfile-devel ncurses-devel opus-devel pkgconfig python3 readline-devel
Requires(pre): shadow-utils
Requires: pam
Provides: jack-audio-connection-kit-dbus = %{version}-%{release}
Obsoletes: jack-audio-connection-kit-dbus < %{version}-%{release}
%description
JACK Audio Connection Kit is a professional sound server daemon that provides real-time,
low-latency connections for both audio and MIDI data between applications that use its API.
%package devel
Summary: The libraries and headers for Jack
Requires: jack-audio-connection-kit = %{version}-%{release}
Provides: jack-audio-connection-kit-example-clients = %{version}-%{release}
Obsoletes: jack-audio-connection-kit-example-clients < %{version}-%{release}
%description devel
The package contains the libraries and headers necessary for the Jack Audio Connection Kit.
%package_help
%prep
%autosetup -n jack2-%{version} -p1
%build
export CPPFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS="$RPM_LD_FLAGS"
export PREFIX=%{_prefix}
python3 ./waf configure %{?_smp_mflags} --mandir=%{_mandir}/man1 --libdir=%{_libdir} --doxygen --dbus --db \
--classic --firewire --alsa --clients 256 --ports-per-application=2048
python3 ./waf build %{?_smp_mflags} -v
%install
python3 ./waf --destdir=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT%{_datadir}/jack-audio-connection-kit/reference .
chmod 755 $RPM_BUILD_ROOT%{_libdir}/jack/*.so $RPM_BUILD_ROOT%{_libdir}/libjack*.so.*.*.*
%pre
getent group %groupname > /dev/null || groupadd -r %groupname
exit 0
%files
%doc ChangeLog.rst
%{_bindir}/jackd
%{_libdir}/jack/
%{_libdir}/*.so.*
%{_bindir}/jackdbus
%{_datadir}/dbus-1/services/org.jackaudio.service
%{_bindir}/jack_control
%files devel
%{_includedir}/jack/
%{_libdir}/libjack.so
%{_libdir}/libjacknet.so
%{_libdir}/libjackserver.so
%{_libdir}/pkgconfig/jack.pc
%files help
%doc README.rst README_NETJACK2
%doc reference/html/
%{_mandir}/man1/*
%changelog
* Sun Aug 04 2024 Funda Wang <fundawang@yeah.net> - 1.9.22-1
- update to 1.9.22
* Wed Aug 16 2023 chenchen <chen_aka_jan@163.com> - 1.9.14-4
- Remove usage of 'U' mode bit for opening files in python 3.11
* Fri Oct 22 2021 Ge Wang <wangge20@huawei.com> - 1.9.14-3
- Fix groupname is not a valid name error
* Wed Jan 20 2021 Ge Wang <wangge20@huawei.com> - 1.9.14-2
- Modify license information.
* Thu Nov 12 2020 leiju<leiju4@huawei.com> - 1.9.14-1
- Update to 1.9.14
* Mon Feb 24 2020 xuxijian<xuxijian@huawei.com> - 1.9.12-9
- Package init
|