forked from pool/musescore
first try for 3.0
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=7
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package musescore
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,13 +17,13 @@
|
||||
|
||||
|
||||
%define rname mscore
|
||||
%define version_lesser 2.3
|
||||
%define version_lesser 3.0
|
||||
|
||||
%define fontdir %{_datadir}/fonts/%{name}
|
||||
%define docdir %{_docdir}/%{name}
|
||||
|
||||
Name: musescore
|
||||
Version: 2.3.2
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: A WYSIWYG music score typesetter
|
||||
# Musescore code license is GPL-2.0
|
||||
@@ -32,14 +32,8 @@ Summary: A WYSIWYG music score typesetter
|
||||
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND MIT
|
||||
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||
URL: https://musescore.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/musescore/MuseScore/archive/v%{version_lesser}/MuseScore-%{version_lesser}.tar.gz
|
||||
Source1: %{rname}.desktop
|
||||
# PATCH to solve license conflict. It removes the diff_patch_match library,
|
||||
# which is not actually used.
|
||||
# See https://sourceforge.net/p/mscore/mailman/message/36429212/
|
||||
Patch0: remove_diff_match_patch.diff
|
||||
# PATCH-FIX-UPSTREAM: fix build with Qt 5.12
|
||||
Patch1: fix-build-qt512.patch
|
||||
BuildRequires: alsa-devel
|
||||
BuildRequires: cmake >= 3.0
|
||||
BuildRequires: gcc-c++
|
||||
@@ -78,9 +72,7 @@ BuildArch: noarch
|
||||
Additional fonts for use by the MuseScore music notation program.
|
||||
|
||||
%prep
|
||||
%setup -q -n MuseScore-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%setup -q -n MuseScore-%{version_lesser}
|
||||
|
||||
# remove precompiled binary
|
||||
rm thirdparty/rtf2html/rtf2html
|
||||
|
Reference in New Issue
Block a user