2018-03-09 22:04:28 +01:00
|
|
|
#
|
|
|
|
# spec file for package Jamulus
|
|
|
|
#
|
2020-04-03 17:45:42 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2018-03-09 22:04:28 +01:00
|
|
|
# Copyright (c) 2014 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-22 14:02:12 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-03-09 22:04:28 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-09-24 21:02:13 +02:00
|
|
|
%define tarball_version 3_5_11
|
2020-04-15 22:24:20 +02:00
|
|
|
|
2018-03-09 22:04:28 +01:00
|
|
|
Name: Jamulus
|
2020-09-24 21:02:13 +02:00
|
|
|
Version: 3.5.11
|
2018-03-09 22:04:28 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Low-latency internet connection tool for real-time jam sessions
|
2019-04-22 14:02:12 +02:00
|
|
|
License: GPL-2.0-or-later
|
2018-03-09 22:04:28 +01:00
|
|
|
URL: http://llcon.sourceforge.net/index.html
|
2020-04-15 22:29:34 +02:00
|
|
|
Source0: https://github.com/corrados/jamulus/archive/r%{tarball_version}.tar.gz#/jamulus-r%{tarball_version}.tar.gz
|
2020-04-03 22:07:43 +02:00
|
|
|
Source1: %{name}_icon.png
|
2020-09-24 21:02:13 +02:00
|
|
|
# PATCH-FIX-UPSTREAM Jamulus-disable_version_check.patch
|
|
|
|
Patch0: Jamulus-disable_version_check.patch
|
2018-03-09 22:04:28 +01:00
|
|
|
BuildRequires: ImageMagick
|
2020-04-03 22:07:43 +02:00
|
|
|
BuildRequires: fdupes
|
2018-03-09 22:04:28 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: jack-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRequires: pkgconfig(opus)
|
|
|
|
Requires: jack
|
|
|
|
Provides: llcon = %{version}
|
|
|
|
Obsoletes: llcon < %{version}
|
2020-04-03 17:45:42 +02:00
|
|
|
Provides: jamulus = %{version}
|
|
|
|
Obsoletes: jamulus < %{version}
|
2018-03-09 22:04:28 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Jamulus software enables musicians to perform real-time jam sessions over
|
|
|
|
the internet. There is one server running the Jamulus server software which
|
|
|
|
collects the audio data from each Jamulus client software, mixes the audio data
|
|
|
|
and sends the mix back to each client.
|
|
|
|
|
|
|
|
%prep
|
2020-09-24 21:05:53 +02:00
|
|
|
%autosetup -p1 -n jamulus-r%{tarball_version}
|
2018-03-09 22:04:28 +01:00
|
|
|
install %{SOURCE1} .
|
|
|
|
|
|
|
|
%build
|
2020-09-24 21:02:13 +02:00
|
|
|
%qmake5 CONFIG+=opus_shared_lib CONFIG+=disable_version_check
|
2020-08-16 10:45:02 +02:00
|
|
|
%make_jobs
|
2018-03-09 22:04:28 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
install -D -m0755 Jamulus %{buildroot}%{_bindir}/%{name}
|
|
|
|
for s in 16 22 32 48 64 72 96 128 192; do
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps
|
2020-04-03 22:07:43 +02:00
|
|
|
convert -strip -resize ${s}x${s} %{name}_icon.png \
|
2018-03-09 22:04:28 +01:00
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/%{name}.png
|
|
|
|
done
|
2020-04-03 17:45:42 +02:00
|
|
|
install -Dm0644 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png \
|
|
|
|
%{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
|
|
|
|
|
|
%suse_update_desktop_file -c %{name} %{name} "Internet Jam Session Software" %{name} %{name} "AudioVideo;Audio;Mixer;Qt"
|
|
|
|
%suse_update_desktop_file -C "Jam Session" %{name}
|
2018-03-09 22:04:28 +01:00
|
|
|
|
2020-04-03 22:07:43 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
|
2018-03-09 22:04:28 +01:00
|
|
|
%files
|
2020-04-03 17:45:42 +02:00
|
|
|
%doc README.md ChangeLog
|
2018-03-09 22:04:28 +01:00
|
|
|
%license COPYING
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
|
|
|
|
%changelog
|