2024-01-05 17:49:20 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: MuseScore
|
2024-01-05 17:49:26 +01:00
|
|
|
Version: 4.0.2
|
2024-01-05 17:49:23 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:49:20 +01:00
|
|
|
Summary: Free music composition & notation software
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:49:23 +01:00
|
|
|
URL: https://musescore.org/en
|
2024-01-05 17:49:20 +01:00
|
|
|
Source: https://github.com/musescore/MuseScore.git/v%{version}/MuseScore-%{version}.tar.bz2
|
2024-01-05 17:49:20 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 17:49:23 +01:00
|
|
|
BuildRequires: libQt5NetworkAuth-devel
|
|
|
|
BuildRequires: libQt5Svg-devel
|
|
|
|
BuildRequires: libQt5X11Extras-devel
|
|
|
|
BuildRequires: libQt5XmlPatterns-devel
|
2024-01-05 17:49:20 +01:00
|
|
|
BuildRequires: libalsa-devel
|
2024-01-05 17:49:23 +01:00
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-05 17:49:20 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libsndfile-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-05 17:49:23 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
|
|
BuildRequires: qt5-qtquickcontrols2-devel
|
2024-01-05 17:49:20 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:49:23 +01:00
|
|
|
Requires: soundfont-musescore
|
2024-01-05 17:49:20 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
MuseScore is a free cross platform WYSIWYG music notation program, licenced under GNU GPL.
|
|
|
|
Some highlights:
|
|
|
|
|
|
|
|
* WYSIWYG, notes are entered on a "virtual note sheet"
|
|
|
|
* Unlimited number of staves
|
|
|
|
* Up to four voices per staff
|
|
|
|
* Easy and fast note entry with mouse, keyboard or MIDI
|
|
|
|
* Integrated sequencer and FluidSynth software synthesizer
|
|
|
|
* Import and export of MusicXML and Standard MIDI Files (SMF)
|
|
|
|
* Platform independent code, binaries available for Windows, Mac and Linux
|
|
|
|
* Available in 20 languages
|
|
|
|
* GNU GPL licenced
|
|
|
|
|
2024-01-05 17:49:23 +01:00
|
|
|
%package -n soundfont-musescore
|
2024-01-05 17:49:20 +01:00
|
|
|
Group: System/Multimedia
|
|
|
|
Summary: A soundfont collection for MIDI synthetizers
|
|
|
|
Provides: soundfont-2rock9
|
2024-01-05 17:49:23 +01:00
|
|
|
Obsoletes: soundfont-2rock9 < 4.0
|
|
|
|
Provides: soundfont-TimGM
|
|
|
|
Obsoletes: soundfont-TimGM < 4.0
|
2024-01-05 17:49:20 +01:00
|
|
|
Provides: soundfont
|
|
|
|
|
2024-01-05 17:49:23 +01:00
|
|
|
%description -n soundfont-musescore
|
2024-01-05 17:49:20 +01:00
|
|
|
A soundfont collection for MIDI synthetizers.
|
|
|
|
|
2024-01-05 17:49:20 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 17:49:20 +01:00
|
|
|
%prep
|
2024-01-05 17:49:20 +01:00
|
|
|
%setup -q
|
2024-01-05 17:49:23 +01:00
|
|
|
#-D -T
|
2024-01-05 17:49:20 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 17:49:23 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 17:49:20 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DUSE_SYSTEM_FREETYPE=ON \
|
2024-01-05 17:49:23 +01:00
|
|
|
-DBUILD_CRASHPAD_CLIENT=OFF \
|
|
|
|
-DBUILD_UNIT_TESTS=OFF \
|
|
|
|
-DDOWNLOAD_SOUNDFONT=OFF \
|
|
|
|
-DPACKAGE_FILE_ASSOCIATION=ON \
|
|
|
|
-DUSE_SYSTEM_FREETYPE=ON \
|
|
|
|
|
|
|
|
# -DBUILD_WEBENGINE=OFF \
|
2024-01-05 17:49:20 +01:00
|
|
|
|
|
|
|
%make
|
2024-01-05 17:49:20 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 17:49:20 +01:00
|
|
|
%makeinstall -C build
|
2024-01-05 17:49:20 +01:00
|
|
|
|
2024-01-05 17:49:23 +01:00
|
|
|
rm -rf %{buildroot}/usr/{bin/crashpad_handler,include,%{_lib}}
|
|
|
|
|
2024-01-05 17:49:20 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/soundfonts
|
2024-01-05 17:49:23 +01:00
|
|
|
ln -s ../mscore-%{majver}/sound/MS\ Basic.sf3 %{buildroot}%{_datadir}/soundfonts/MS\ Basic.sf3
|
|
|
|
ln -s MS\ Basic.sf3 %{buildroot}%{_datadir}/soundfonts/default.sf3
|
2024-01-05 17:49:20 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/mscore
|
2024-01-05 17:49:23 +01:00
|
|
|
#%{_bindir}/musescore
|
2024-01-05 17:49:20 +01:00
|
|
|
%{_datadir}/metainfo/org.musescore.MuseScore.appdata.xml
|
2024-01-05 17:49:23 +01:00
|
|
|
%{_datadir}/mime/packages/musescore.xml
|
|
|
|
%{_datadir}/applications/org.musescore.MuseScore.desktop
|
2024-01-05 17:49:20 +01:00
|
|
|
%dir %{_datadir}/mscore-%{majver}
|
2024-01-05 17:49:23 +01:00
|
|
|
%{_datadir}/mscore-%{majver}/*
|
|
|
|
%exclude %{_datadir}/mscore-%{majver}/sound
|
2024-01-05 17:49:20 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/mscore.png
|
2024-01-05 17:49:23 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
2024-01-05 17:49:20 +01:00
|
|
|
%{_mandir}/man1/mscore.1*
|
|
|
|
%{_mandir}/man1/musescore.1*
|
|
|
|
#%{_datadir}/pixmaps/mscore.png
|
|
|
|
#%{_datadir}/pixmaps/mscore.xpm
|
2024-01-05 17:49:20 +01:00
|
|
|
|
2024-01-05 17:49:23 +01:00
|
|
|
%files -n soundfont-musescore
|
2024-01-05 17:49:20 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:49:23 +01:00
|
|
|
%dir %{_datadir}/mscore-%{majver}/sound
|
|
|
|
%{_datadir}/mscore-%{majver}/sound/*
|
2024-01-05 17:49:20 +01:00
|
|
|
%{_datadir}/soundfonts/default.sf3
|
2024-01-05 17:49:23 +01:00
|
|
|
%{_datadir}/soundfonts/MS*Basic.sf3
|
2024-01-05 17:49:20 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:49:26 +01:00
|
|
|
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 4.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:49:23 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 17:49:20 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 17:49:20 +01:00
|
|
|
* Mon Dec 03 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-1mamba
|
|
|
|
- update to 2.3.2
|
|
|
|
|
2024-01-05 17:49:20 +01:00
|
|
|
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 11 2012 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
|
|
|
|
- update to 1.2
|
|
|
|
|
|
|
|
* Mon Mar 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
|
|
|
- update to 1.0
|
|
|
|
|
|
|
|
* Fri Nov 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-1mamba
|
|
|
|
- package created by autospec
|