Blob Blame History Raw
# Global variables for github repository
%global commit0 57879082d1f349c8debce415e32755564b105214
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global pname cadence
%global commitdate 20200504

Name:    Cadence
Version: 1.0.0
Release: 0.12.%{commitdate}git%{shortcommit0}%{?dist}
Summary: A set of tools useful for audio production
# The entire source code is GPLv2+ except c++/jackbridge/ which is ISC License
# Following files are licensed under LGPLv2+
# data/pulse2jack/
# data/pulse2jack/
# data/pulse2loopback/
# data/pulse2loopback/
License: GPLv2+
Patch0:  cadence_001_fedora_support.patch
Patch1:  cadence-desktop-patch
Patch2:  cadence-makefile.patch

BuildRequires: gcc gcc-c++
BuildRequires: python3-qt5-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: pulseaudio-module-jack
BuildRequires: python3-dbus
BuildRequires: a2jmidid
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: jack-audio-connection-kit-dbus
BuildRequires: jack_capture
BuildRequires: desktop-file-utils

Requires:      hicolor-icon-theme
#Requires:      ladish
Requires:      python3-qt5
Requires:      jack_capture
Requires:      a2jmidid

Here's a brief description of the main tools:

The main app. It performs system checks, manages JACK, calls other tools and
make system tweaks.

Digital peak meter for JACK.
It automatically connects itself to all application JACK output ports that are
also connected to the system output.

Simple and easy-to-use configure dialog for jackdbus.
It can configure JACK's driver and engine parameters, and it also supports
LADISH studios.

Small tool that shows JACK, A2J, LASH and LADISH logs in a multi-tab window.
The logs are viewed in a text box, making it easy to browse and extract status
messages using copy and paste commands.

Tool to record (or 'render') a JACK project using jack-capture, controlled by
JACK Transport.
It supports a vast number of file types and can render in both realtime and
freewheel modes.

Cadence-XY Controller:
Simple XY widget that sends and receives data from Jack MIDI.
It can send data through specific channels and has a MIDI Keyboard too.

A Patchbay test app, created while the patchcanvas module was being developed.
It allows the user to experiment with the patchbay, without using ALSA, JACK or
LADISH. You can save & load patchbay configurations too.

JACK Patchbay, with some neat features like A2J bridge support and JACK
It's supposed to be as simple as possible (there's Claudia for advanced things),
so it can work nicely on Windows and Mac too.
Currently has ALSA-MIDI support in experimental stage (it doesn't automatically
refresh the canvas when changes happen externally).

LADISH frontend; just like Catia, but focused at session management through
It has a bit more features than the official LADISH GUI, with a nice preview of
the main canvas in the bottom-left.
It also implements the 'Claudia-Launcher' add-application style for LADISH.

A multimedia application launcher with LADISH support.
It searches for installed packages (not binaries), and displays the respective
content as a launcher.
The content is got through an hardcoded database, created and/or modified to
suit the target distribution.
Currently supports Debian and ArchLinux based distros.

%autosetup -p 1 -n %{name}-%{commit0}

# remove windows stuff
rm -rf data/windows/

# Fix error: Empty %%files file debugsourcefiles.list
sed -i "s|-O0 -g|%{optflags}|" c++/

%make_build SKIP_STRIPPING=true DEBUG=true
%make_install PREFIX=%{_prefix}

# E: non-executable-script /usr/share/cadence/pulse2loopback/ 644 /usr/bin/pulseaudio -nF
chmod a+x %{buildroot}%{_datadir}/%{pname}/pulse2*/{play+rec,play,play+rec}.pa

desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop

%license COPYING
%dir %{_datadir}/%{pname}/
%config(noreplace) %{_sysconfdir}/X11/Xsession.d/61cadence-session-inject
%config(noreplace) %{_sysconfdir}/xdg/autostart/cadence-session-start.desktop

* Mon Jul 27 2020 Fedora Release Engineering <> - 1.0.0-0.12.20200504git5787908
- Rebuilt for

* Fri May 15 2020 Martin Gansser <> - 1.0.0-0.11.20200504git5787908
- Update to 1.0.0-0.11.20200504git5787908

* Fri Feb 07 2020 Martin Gansser <> - 1.0.0-0.10.20200103git9324d24
- Add %%make_build SKIP_STRIPPING=true DEBUG=true

* Fri Feb 07 2020 Martin Gansser <> - 1.0.0-0.9.20200103git9324d24
- Update to 1.0.0-0.9.20200103git9324d24

* Tue Jan 28 2020 Fedora Release Engineering <> - 1.0.0-0.8.20191021git0642494
- Rebuilt for

* Thu Oct 31 2019 Martin Gansser <> - 1.0.0-0.7.20191021git0642494
- Remove RR ladish due package is dead

* Wed Oct 30 2019 Martin Gansser <> - 1.0.0-0.6.20191021git0642494
- Update to 1.0.0-0.6.20191021git0642494

* Wed Jul 24 2019 Fedora Release Engineering <> - 1.0.0-0.5.20180827git4a5f5b4
- Rebuilt for

* Thu Jan 31 2019 Fedora Release Engineering <> - 1.0.0-0.4.20180827git4a5f5b4
- Rebuilt for

* Thu Dec 13 2018 Martin Gansser <> - 1.0.0-0.3.20180827git4a5f5b4
- Add RR hicolor-icon-theme
- Add comment which files are licensed under LGPLv2+
- Take ownership of dirs

* Thu Dec 13 2018 Martin Gansser <> - 1.0.0-0.2.20180827git4a5f5b4
- Use correct link for sources
- Use %%autosetup macro
- Use %%{set_build_flags}
- Use %%make_install PREFIX=%%{_prefix}
- List all files 

* Thu Dec 13 2018 Martin Gansser <> - 1.0.0-0.1.20180827git4a5f5b4
- Initial build