automatic version update by autodist [release 4.0.1-1mamba;Sun Jan 15 2023]
This commit is contained in:
parent
c76ade3a18
commit
321b2db628
@ -1,33 +1,32 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: MuseScore
|
||||
Version: 3.6.2
|
||||
Release: 2mamba
|
||||
Version: 4.0.1
|
||||
Release: 1mamba
|
||||
Summary: Free music composition & notation software
|
||||
Group: Graphical Desktop/Applications/Multimedia
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.musescore.org
|
||||
URL: https://musescore.org/en
|
||||
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
|
||||
BuildRequires: libQt5WebKit-devel
|
||||
BuildRequires: libQt5NetworkAuth-devel
|
||||
BuildRequires: libQt5Svg-devel
|
||||
BuildRequires: libQt5X11Extras-devel
|
||||
BuildRequires: libQt5XmlPatterns-devel
|
||||
BuildRequires: libalsa-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libogg-devel
|
||||
BuildRequires: libportaudio-devel
|
||||
BuildRequires: libportmidi-devel
|
||||
BuildRequires: libpulseaudio-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtdeclarative-devel
|
||||
BuildRequires: qt5-qtquickcontrols2-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: soundfont-TimGM
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Requires: soundfont-musescore
|
||||
|
||||
%description
|
||||
MuseScore is a free cross platform WYSIWYG music notation program, licenced under GNU GPL.
|
||||
@ -43,25 +42,35 @@ Some highlights:
|
||||
* Available in 20 languages
|
||||
* GNU GPL licenced
|
||||
|
||||
%package -n soundfont-TimGM
|
||||
%package -n soundfont-musescore
|
||||
Group: System/Multimedia
|
||||
Summary: A soundfont collection for MIDI synthetizers
|
||||
Provides: soundfont-2rock9
|
||||
Obsoletes: soundfont-2rock9
|
||||
Obsoletes: soundfont-2rock9 < 4.0
|
||||
Provides: soundfont-TimGM
|
||||
Obsoletes: soundfont-TimGM < 4.0
|
||||
Provides: soundfont
|
||||
|
||||
%description -n soundfont-TimGM
|
||||
%description -n soundfont-musescore
|
||||
A soundfont collection for MIDI synthetizers.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#-D -T
|
||||
|
||||
%build
|
||||
#:<< _EOF
|
||||
%cmake -d build \
|
||||
-DUSE_SYSTEM_FREETYPE=ON \
|
||||
-DBUILD_WEBENGINE=OFF
|
||||
-DBUILD_CRASHPAD_CLIENT=OFF \
|
||||
-DBUILD_UNIT_TESTS=OFF \
|
||||
-DDOWNLOAD_SOUNDFONT=OFF \
|
||||
-DPACKAGE_FILE_ASSOCIATION=ON \
|
||||
-DUSE_SYSTEM_FREETYPE=ON \
|
||||
|
||||
# -DBUILD_WEBENGINE=OFF \
|
||||
|
||||
%make
|
||||
|
||||
@ -69,11 +78,11 @@ A soundfont collection for MIDI synthetizers.
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
rm -rf %{buildroot}/usr/{bin/crashpad_handler,include,%{_lib}}
|
||||
|
||||
install -d -m0755 %{buildroot}%{_datadir}/soundfonts
|
||||
mv %{buildroot}%{_datadir}/mscore-%{majver}/sound/MuseScore_General.sf3 \
|
||||
%{buildroot}%{_datadir}/soundfonts/MuseScore_General.sf3
|
||||
ln -s ../../soundfonts/MuseScore_General.sf3 %{buildroot}%{_datadir}/mscore-%{majver}/sound/MuseScore_General.sf3
|
||||
ln -s MuseScore_General.sf3 %{buildroot}%{_datadir}/soundfonts/default.sf3
|
||||
ln -s ../mscore-%{majver}/sound/MS\ Basic.sf3 %{buildroot}%{_datadir}/soundfonts/MS\ Basic.sf3
|
||||
ln -s MS\ Basic.sf3 %{buildroot}%{_datadir}/soundfonts/default.sf3
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -81,46 +90,34 @@ ln -s MuseScore_General.sf3 %{buildroot}%{_datadir}/soundfonts/default.sf3
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/mscore
|
||||
%{_bindir}/musescore
|
||||
#%{_bindir}/musescore
|
||||
%{_datadir}/metainfo/org.musescore.MuseScore.appdata.xml
|
||||
%{_datadir}/applications/mscore.desktop
|
||||
%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
|
||||
%{_datadir}/icons/hicolor/scalable/mimetypes/application-*.svg
|
||||
%{_datadir}/mime/packages/musescore.xml
|
||||
%{_datadir}/applications/org.musescore.MuseScore.desktop
|
||||
%dir %{_datadir}/mscore-%{majver}
|
||||
%{_datadir}/mscore-%{majver}/*
|
||||
%exclude %{_datadir}/mscore-%{majver}/sound
|
||||
%{_datadir}/icons/hicolor/*/apps/mscore.png
|
||||
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
||||
%{_mandir}/man1/mscore.1*
|
||||
%{_mandir}/man1/musescore.1*
|
||||
#%{_datadir}/pixmaps/mscore.png
|
||||
#%{_datadir}/pixmaps/mscore.xpm
|
||||
|
||||
%files -n soundfont-TimGM
|
||||
%files -n soundfont-musescore
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/mscore-%{majver}/sound
|
||||
%{_datadir}/mscore-%{majver}/sound/*
|
||||
%{_datadir}/soundfonts/default.sf3
|
||||
%{_datadir}/soundfonts/MuseScore_General.sf3
|
||||
%{_datadir}/soundfonts/MS*Basic.sf3
|
||||
|
||||
%changelog
|
||||
* Sun Jan 15 2023 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jan 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-1mamba
|
||||
- update to 4.0
|
||||
|
||||
* Sat Mar 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.2-2mamba
|
||||
- remove Qt5 WebEngine conflicting files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user