Jamulus/Jamulus.spec
Luigi Baldoni 1c006595d6 Accepting request 802725 from home:aspiers:branches:multimedia:apps
- Update to version 3.5.2:
  * use audio level meter bars for normal skin
  * store Show All Musicians setting in the ini-file
  * improved Mac installer, coded by doloopuntil
  * support to open ASIO driver setup(s) if startup failed due to incorrect driver settings (Ticket #117)
  * added -v/--version command line argument to output version information (Ticket #121)
  * added bodhran and other instrument icons, bodhran created by bomm (Ticket #131)
  * bug fix: if small network buffers are used we get much better audio quality when drop outs occur
  * bug fix: if names given with the -o option were too long, the server registration failed (Ticket #91)
  * bug fix: audio level changes if Buffer Delay is changed (Ticket #106)
  * bug fix: do not reset fader level meters if number of clients change
  * bug fix: fixed a crash with JackRouter 64 bit ASIO driver (Ticket #93, thanks to elliotclee) 
- Add a source service.

OBS-URL: https://build.opensuse.org/request/show/802725
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/Jamulus?expand=0&rev=15
2020-05-11 16:03:47 +00:00

85 lines
2.9 KiB
RPMSpec

#
# spec file for package Jamulus
#
# Copyright (c) 2020 SUSE LLC
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define tarball_version 3_5_2
Name: Jamulus
Version: 3.5.2
Release: 0
Summary: Low-latency internet connection tool for real-time jam sessions
License: GPL-2.0-or-later
URL: http://llcon.sourceforge.net/index.html
Source0: https://github.com/corrados/jamulus/archive/r%{tarball_version}.tar.gz#/jamulus-r%{tarball_version}.tar.gz
Source1: %{name}_icon.png
BuildRequires: ImageMagick
BuildRequires: fdupes
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}
Provides: jamulus = %{version}
Obsoletes: jamulus < %{version}
%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
%setup -q -n jamulus-r%{tarball_version}
install %{SOURCE1} .
%build
%qmake5 CONFIG+=opus_shared_lib
make %{?_smp_mflags}
%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
convert -strip -resize ${s}x${s} %{name}_icon.png \
%{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/%{name}.png
done
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}
%fdupes %{buildroot}%{_datadir}
%files
%doc README.md ChangeLog
%license COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/pixmaps/%{name}.png
%changelog