Accepting request 934968 from multimedia:apps
Create _service download file due to the spec file's download link becoming unreliable. Only recommend jack to allow pipewire jack to be installed. OBS-URL: https://build.opensuse.org/request/show/934968 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rosegarden?expand=0&rev=42
This commit is contained in:
commit
5c08babaae
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
||||
<!-- Downloads revision vx.x and removes proprietary data/windows -->
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://git.code.sf.net/p/rosegarden/git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="match-tag">21.06.1</param>
|
||||
<param name="versionformat">21.06.1</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">rosegarden</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://git.code.sf.net/p/rosegarden/git</param>
|
||||
<param name="changesrevision">8a266e5c9a3854b11f14e243ebe492d1e6de312d</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:87750dc0b55ae27e07acc4effdc25ae5c4f6ba4ccf81ac5112abb0fed211397a
|
||||
size 6479487
|
3
rosegarden-21.06.1.tar.xz
Normal file
3
rosegarden-21.06.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd54a5346256a3d22c99d32e47670ec22f0cbd40d4932108cb1ea3feace836e6
|
||||
size 5559696
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 10:52:26 UTC 2021 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Create _service download file due to the spec file's download
|
||||
link becoming unreliable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -15,15 +15,16 @@
|
||||
# Please submit bugfixes or comments via https://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
|
||||
# https://downloads.sourceforge.net/project/rosegarden/rosegarden/21.06/rosegarden-21.06.1.tar.bz2
|
||||
Source0: rosegarden-21.06.1.tar.xz
|
||||
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.
|
||||
@ -47,10 +48,7 @@ BuildRequires: libsamplerate-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: lilypond-fonts-common >= 2.20
|
||||
BuildRequires: lirc-devel
|
||||
BuildRequires: pkgconfig
|
||||
#BuildRequires: pkgconfig(libxml++-2.6)
|
||||
BuildRequires: shared-mime-info
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: cmake(Qt5LinguistTools)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
@ -59,17 +57,21 @@ BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
#BuildRequires: pkgconfig(libxml++-2.6)
|
||||
BuildRequires: shared-mime-info
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
Requires: dssi
|
||||
Requires: jack
|
||||
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
|
||||
Icon: rosegarden.xpm
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: i586 i686
|
||||
|
||||
%description
|
||||
Rosegarden is a well-rounded audio and MIDI sequencer,
|
||||
@ -85,8 +87,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 +102,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 +122,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 +133,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