remove Qt5 WebEngine conflicting files [release 3.6.2-2mamba;Sat Mar 20 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:49:20 +01:00
parent 272ff01491
commit c76ade3a18

View File

@ -1,15 +1,15 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: MuseScore
Version: 2.3.2
Release: 1mamba
Version: 3.6.2
Release: 2mamba
Summary: Free music composition & notation software
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.musescore.org
Source: https://ftp.osuosl.org/pub/musescore/releases/MuseScore-%{version}/MuseScore-%{version}.zip
#Source: http://downloads.sourceforge.net/project/mscore/mscore/MuseScore-%{version}/mscore-%{version}.tar.bz2
URL: https://www.musescore.org
Source: https://github.com/musescore/MuseScore.git/v%{version}/MuseScore-%{version}.tar.bz2
#Source: https://ftp.osuosl.org/pub/musescore/releases/MuseScore-%{version}/MuseScore-%{version}.zip
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -53,17 +53,22 @@ Provides: soundfont
%description -n soundfont-TimGM
A soundfont collection for MIDI synthetizers.
%debug_package
%prep
%setup -q -c -n mscore-%{version}
%setup -q
%build
%make PREFIX=%{_prefix}
%cmake -d build \
-DUSE_SYSTEM_FREETYPE=ON \
-DBUILD_WEBENGINE=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{_prefix} UPDATE_CACHE=false
%makeinstall -C build
rm -f %{buildroot}%{_libdir}/qt4/plugins/script/libqtscript*.so
install -d -m0755 %{buildroot}%{_datadir}/soundfonts
mv %{buildroot}%{_datadir}/mscore-%{majver}/sound/MuseScore_General.sf3 \
%{buildroot}%{_datadir}/soundfonts/MuseScore_General.sf3
@ -77,17 +82,29 @@ ln -s MuseScore_General.sf3 %{buildroot}%{_datadir}/soundfonts/default.sf3
%defattr(-,root,root)
%{_bindir}/mscore
%{_bindir}/musescore
#%{_libdir}/qt4/plugins/designer/libawlplugin.so
%{_datadir}/metainfo/org.musescore.MuseScore.appdata.xml
%{_datadir}/applications/mscore.desktop
%{_datadir}/mscore-%{majver}/demos
%{_datadir}/mscore-%{majver}/instruments
%{_datadir}/mscore-%{majver}/locale
%{_datadir}/mscore-%{majver}/manual
%{_datadir}/mscore-%{majver}/plugins
%{_datadir}/mscore-%{majver}/sound
%{_datadir}/mscore-%{majver}/styles
%{_datadir}/mscore-%{majver}/templates
%{_datadir}/mscore-%{majver}/wallpaper
%dir %{_datadir}/mscore-%{majver}
%dir %{_datadir}/mscore-%{majver}/demos
%{_datadir}/mscore-%{majver}/demos/*
%dir %{_datadir}/mscore-%{majver}/instruments
%{_datadir}/mscore-%{majver}/instruments/*
%dir %{_datadir}/mscore-%{majver}/locale
%{_datadir}/mscore-%{majver}/locale/*
%dir %{_datadir}/mscore-%{majver}/plugins
%{_datadir}/mscore-%{majver}/plugins/*
%dir %{_datadir}/mscore-%{majver}/sound
%{_datadir}/mscore-%{majver}/sound/*
%dir %{_datadir}/mscore-%{majver}/styles
%{_datadir}/mscore-%{majver}/styles/*
%dir %{_datadir}/mscore-%{majver}/templates
%{_datadir}/mscore-%{majver}/templates/*
%dir %{_datadir}/mscore-%{majver}/tours
%{_datadir}/mscore-%{majver}/tours/*
%dir %{_datadir}/mscore-%{majver}/wallpaper
%{_datadir}/mscore-%{majver}/wallpaper/*
%dir %{_datadir}/mscore-%{majver}/workspaces
%{_datadir}/mscore-%{majver}/workspaces/*
%{_datadir}/icons/hicolor/*/apps/mscore.png
%{_datadir}/icons/hicolor/48x48/mimetypes/application-*.png
%{_datadir}/icons/hicolor/scalable/apps/mscore.svg
@ -104,6 +121,12 @@ ln -s MuseScore_General.sf3 %{buildroot}%{_datadir}/soundfonts/default.sf3
%{_datadir}/soundfonts/MuseScore_General.sf3
%changelog
* Sat Mar 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.2-2mamba
- remove Qt5 WebEngine conflicting files
* Mon Feb 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.2-1mamba
- update to 3.6.2
* Mon Dec 03 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-1mamba
- update to 2.3.2