|
@@ -1,44 +1,37 @@
|
|
|
Summary: The Jack Audio Connection Kit
|
|
|
Name: jack-audio-connection-kit
|
|
|
-Version: 1.9.12
|
|
|
-Release: 3%{?_dist_release}
|
|
|
-# The entire source (~500 files) is a mixture of these three licenses
|
|
|
-License: GPLv2 and GPLv2+ and LGPLv2+
|
|
|
-Group: System Environment/Daemons
|
|
|
-URL: http://www.jackaudio.org
|
|
|
-
|
|
|
+Version: 1.9.17
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+Group: multimedia,system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
+# The entire source (~500 files) is a mixture of these three licenses
|
|
|
+License: GPLv2 and GPLv2+ and LGPLv2+
|
|
|
+URL: http://www.jackaudio.org
|
|
|
#Source0: http://www.jackaudio.org/downloads/%{name}-%{version}.tar.gz
|
|
|
-Source0: https://github.com/jackaudio/jack2/releases/download/v%{version}/jack2-%{version}.tar.gz
|
|
|
+Source0: https://github.com/jackaudio/jack2/archive/refs/tags/v%{version}.tar.gz#/jack2-%{version}.tar.gz
|
|
|
Source1: %{name}-README.Fedora
|
|
|
Source2: %{name}-script.pa
|
|
|
Source3: %{name}-limits.conf
|
|
|
-
|
|
|
-# No-date-footer hack to remove dates from doxygen documentation
|
|
|
-Patch0: jack2-1.9.12-nodate.patch
|
|
|
-# Build fix
|
|
|
-Patch1: jack2-1.9.12-outdir.patch
|
|
|
-# We don't want the internal API documentation
|
|
|
-Patch2: jack2-1.9.12-nointernalapi.patch
|
|
|
+# Generate this file in the GIT repo by running ./svnversion_regenerate.sh svnversion.h
|
|
|
+Source4: svnversion.h
|
|
|
+# Patch doxygen documentation
|
|
|
+Patch0: %{name}-doxygen.patch
|
|
|
# Adjust default priority. RHBZ#795094
|
|
|
-Patch3: jack-realtime-compat.patch
|
|
|
-# Remove binary junk from README
|
|
|
-Patch4: jack2-1.9.12-nojunk.patch
|
|
|
+Patch1: jack-realtime-compat.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
-BuildRequires: celt-devel
|
|
|
BuildRequires: dbus-devel
|
|
|
BuildRequires: doxygen
|
|
|
BuildRequires: expat-devel
|
|
|
-BuildRequires: libfreebob-devel >= 1.0.0
|
|
|
BuildRequires: libsamplerate-devel
|
|
|
BuildRequires: libsndfile-devel >= 1.0.0
|
|
|
BuildRequires: ncurses-devel
|
|
|
+BuildRequires: opus-devel
|
|
|
BuildRequires: pkgconfig
|
|
|
-BuildRequires: python
|
|
|
+BuildRequires: python3
|
|
|
BuildRequires: readline-devel
|
|
|
#BuildRequires: autoconf >= 2.59, automake >= 1.9.3, libtool
|
|
|
#BuildRequires: libdb-devel
|
|
@@ -48,7 +41,6 @@ BuildRequires: readline-devel
|
|
|
%global pagroup pulse-rt
|
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
-Requires(post): /sbin/ldconfig
|
|
|
|
|
|
%description
|
|
|
JACK is a low-latency audio server, written primarily for the Linux
|
|
@@ -63,9 +55,10 @@ designed from the ground up to be suitable for professional audio
|
|
|
work. This means that it focuses on two key areas: synchronous
|
|
|
execution of all clients, and low latency operation.
|
|
|
|
|
|
+
|
|
|
%package dbus
|
|
|
Summary: Jack D-Bus launcher
|
|
|
-Group: Applications/Multimedia
|
|
|
+Group: multimedia
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description dbus
|
|
@@ -75,51 +68,51 @@ Launcher to start Jack through D-Bus.
|
|
|
%package devel
|
|
|
Summary: Development files for %{name}
|
|
|
Summary(ja): %{name} の開発用ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
%description devel
|
|
|
Development files for the Jack Audio Connection Kit.
|
|
|
|
|
|
+
|
|
|
%package example-clients
|
|
|
Summary: Example clients that use Jack
|
|
|
Summary(ja): %{name} を利用したサンプルプログラム
|
|
|
-Group: Applications/Multimedia
|
|
|
+Group: multimedia
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description example-clients
|
|
|
Small example clients that use the Jack Audio Connection Kit.
|
|
|
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
-%setup -q -n jack2-%{version}
|
|
|
-%patch0 -p1 -b .nodate
|
|
|
-%patch1 -p1 -b .outdir
|
|
|
-%patch2 -p1 -b .nointernalapi
|
|
|
-%patch3 -p1 -b .priority
|
|
|
-%patch4 -p1 -b .nojunk
|
|
|
+%autosetup -p1 -n jack2-%{version}
|
|
|
+
|
|
|
|
|
|
%build
|
|
|
-export CPPFLAGS="$RPM_OPT_FLAGS"
|
|
|
+cp -p %{SOURCE4} .
|
|
|
+%set_build_flags
|
|
|
export PREFIX=%{_prefix}
|
|
|
# Parallel build disabled as it fails sometimes
|
|
|
-./waf configure \
|
|
|
- %{?_smp_mflags} \
|
|
|
+python3 ./waf configure \
|
|
|
--mandir=%{_mandir}/man1 \
|
|
|
--libdir=%{_libdir} \
|
|
|
- --alsa \
|
|
|
+ --doxygen \
|
|
|
+ --dbus \
|
|
|
--classic \
|
|
|
+ --alsa \
|
|
|
--clients 256 \
|
|
|
- --dbus \
|
|
|
- --doxygen \
|
|
|
- --freebob \
|
|
|
--ports-per-application=2048
|
|
|
|
|
|
./waf build %{?_smp_mflags} -v
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
-./waf --destdir=$RPM_BUILD_ROOT install
|
|
|
+python3 ./waf --destdir=$RPM_BUILD_ROOT install
|
|
|
|
|
|
# move doxygen documentation to the right place
|
|
|
mv $RPM_BUILD_ROOT%{_datadir}/jack-audio-connection-kit/reference .
|
|
@@ -142,16 +135,11 @@ mv $RPM_BUILD_ROOT%{_bindir}/jack_rec $RPM_BUILD_ROOT%{_bindir}/jackrec
|
|
|
# Fix permissions of the modules
|
|
|
chmod 755 $RPM_BUILD_ROOT%{_libdir}/jack/*.so $RPM_BUILD_ROOT%{_libdir}/libjack*.so.*.*.*
|
|
|
|
|
|
-%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%pre
|
|
|
getent group %groupname > /dev/null || groupadd -r %groupname
|
|
|
exit 0
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
@@ -210,6 +198,7 @@ exit 0
|
|
|
%{_bindir}/jack_net_master
|
|
|
%{_bindir}/jack_net_slave
|
|
|
%{_bindir}/jack_netsource
|
|
|
+%{_bindir}/jack_property
|
|
|
%{_bindir}/jack_samplerate
|
|
|
%{_bindir}/jack_server_control
|
|
|
%{_bindir}/jack_session_notify
|
|
@@ -231,6 +220,7 @@ exit 0
|
|
|
%{_mandir}/man1/jack_metro.1*
|
|
|
%{_mandir}/man1/jack_monitor_client.1*
|
|
|
%{_mandir}/man1/jack_netsource.1*
|
|
|
+%{_mandir}/man1/jack_property.1*
|
|
|
%{_mandir}/man1/jack_samplerate.1*
|
|
|
%{_mandir}/man1/jack_showtime.1*
|
|
|
%{_mandir}/man1/jack_simple_client.1*
|
|
@@ -247,6 +237,13 @@ exit 0
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Mar 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.17-1
|
|
|
+- new upstream release.
|
|
|
+- dropped Patch0, 1, 2 and 4.
|
|
|
+- imported Patch0 from rawhide.
|
|
|
+- renumbered patches.
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+
|
|
|
* Wed Sep 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.12-3
|
|
|
- rebuilt only.
|
|
|
|