forked from pool/rosegarden
Accepting request 934698 from home:plater
- Only recommend jack to allow pipewire jack to be installed. OBS-URL: https://build.opensuse.org/request/show/934698 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=90
This commit is contained in:
parent
d9bb438629
commit
82c1bb0796
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 07:36:40 UTC 2021 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Only recommend jack to allow pipewire jack to be installed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 14:16:24 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rosegarden
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,26 +12,23 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define major_ver 21.06
|
||||
Name: rosegarden
|
||||
Version: %{major_ver}.1
|
||||
Version: 21.06.1
|
||||
Release: 0
|
||||
Summary: Midi, Audio And Notation Editor
|
||||
License: GPL-2.0-or-later
|
||||
Summary: Midi, Audio And Notation Editor
|
||||
Url: http://www.rosegardenmusic.com/
|
||||
Group: Productivity/Multimedia/Sound/Midi
|
||||
URL: https://www.rosegardenmusic.com/
|
||||
Source0: https://sourceforge.net/projects/rosegarden/files/%{name}/%{major_ver}/%{name}-%{version}.tar.bz2
|
||||
Source0: https://sourceforge.net/projects/rosegarden/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
||||
Source1: %{name}.xpm
|
||||
Source2: %{name}.1
|
||||
# PATCH-FIX-OPENSUSE davejplater@gmail.com This patch fixes the file search paths for examples, templates and midi driver libraries.
|
||||
Patch1: rosegarden-10.10-filepaths.patch
|
||||
# PATCH-FIX-OPENSUSE ledest@gmail.com fix bashisms in scripts
|
||||
Patch2: rosegarden-14.02-fix-bashisms.patch
|
||||
# PATCH-FIX-OPENSUSE port scripts/sf2rg.py to Python 3
|
||||
Patch3: scripts-sf2rg-python3.patch
|
||||
BuildRequires: alsa-devel
|
||||
BuildRequires: cmake >= 2.8.12
|
||||
BuildRequires: dssi-devel
|
||||
@ -43,33 +40,34 @@ BuildRequires: ladspa-devel
|
||||
BuildRequires: libjack-devel
|
||||
BuildRequires: liblo-devel
|
||||
BuildRequires: liblrdf-devel
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: cmake(Qt5LinguistTools)
|
||||
BuildRequires: libsamplerate-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: lilypond-fonts-common >= 2.20
|
||||
BuildRequires: lirc-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkg-config
|
||||
#BuildRequires: pkgconfig(libxml++-2.6)
|
||||
BuildRequires: shared-mime-info
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: cmake(Qt5LinguistTools)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
Requires: dssi
|
||||
Requires: jack
|
||||
Requires: xsynth-dssi
|
||||
Requires: ladspa
|
||||
Requires: ladspa-swh-plugins
|
||||
Requires: lilypond-fonts-common >= 2.20
|
||||
Requires: xsynth-dssi
|
||||
Recommends: fluidsynth-dssi
|
||||
Recommends: jack
|
||||
Recommends: qsynth
|
||||
#Unsatisfied dependency for Factory i586
|
||||
ExcludeArch: i586
|
||||
Recommends: fluidsynth-dssi
|
||||
Icon: rosegarden.xpm
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: i586 i686
|
||||
|
||||
%description
|
||||
Rosegarden is a well-rounded audio and MIDI sequencer,
|
||||
@ -85,8 +83,8 @@ home recording environments.
|
||||
|
||||
# When we build svn we need to execute bootstrap.sh
|
||||
#sh bootstrap.sh
|
||||
for i in `grep -rl "%{_bindir}/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
|
||||
for i in `grep -rl "%{_bindir}/python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
|
||||
for i in `grep -rl "/usr/bin/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
|
||||
for i in `grep -rl "/usr/bin/python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
|
||||
|
||||
%build
|
||||
#export DEBUG_LADSPA
|
||||
@ -100,7 +98,7 @@ export CXXFLAGS="$CFLAGS"
|
||||
-DCMAKE_INSTALL_LOCALEDIR:PATH=%{_datadir}/locale/
|
||||
|
||||
#make svnheader
|
||||
%make_build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/%{name}/scripts
|
||||
@ -120,6 +118,9 @@ chmod 644 %{buildroot}%{_datadir}/%{name}/scripts/README
|
||||
chmod 644 %{buildroot}%{_datadir}/%{name}/scripts/color-list
|
||||
#chmod 644 %%{buildroot}%%{_datadir}/%%{name}/scripts/simple-makefile
|
||||
rm -f %{buildroot}%{_datadir}/%{name}/scripts/svn-to-hg-and-git.sh
|
||||
pushd %{buildroot}%{_datadir}/%{name}/scripts
|
||||
sed -i '1s/^#!.*/#!\/usr\/bin\/python/' sf2rg.py
|
||||
popd
|
||||
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/pixmaps/%{name}.xpm"
|
||||
%suse_update_desktop_file %{buildroot}/%{_datadir}/applications/com.rosegardenmusic.%{name}.desktop
|
||||
#This is a man page made by help2man to satisfy factories hunger for one /usr/bin/ one man page.
|
||||
@ -128,6 +129,7 @@ install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_mandir}/man1/"
|
||||
%fdupes -s %{buildroot}%{_datadir}/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README
|
||||
%license COPYING
|
||||
%dir %{_datadir}/metainfo
|
||||
|
Loading…
x
Reference in New Issue
Block a user