update to 2.3.2 [release 2.3.2-1mamba;Mon Dec 03 2018]

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

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: MuseScore
Version: 1.3
Version: 2.3.2
Release: 1mamba
Summary: Free music composition & notation software
Group: Graphical Desktop/Applications/Multimedia
@ -8,30 +8,22 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.musescore.org
Source: http://downloads.sourceforge.net/project/mscore/mscore/MuseScore-%{version}/mscore-%{version}.tar.bz2
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
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5WebKit-devel
BuildRequires: libalsa-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libICE-devel
BuildRequires: libjack-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: libogg-devel
BuildRequires: libportaudio-devel
BuildRequires: libqt4-designer
BuildRequires: libqt4-devel
BuildRequires: libSM-devel
BuildRequires: libportmidi-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libqt5-devel
BuildRequires: libsndfile-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrender-devel
BuildRequires: libvorbis-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: soundfont-TimGM
@ -62,21 +54,21 @@ Provides: soundfont
A soundfont collection for MIDI synthetizers.
%prep
%setup -q -n mscore-%{version}
%setup -q -c -n mscore-%{version}
%build
%make PREFIX=%{_prefix}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{_prefix}
%makeinstall PREFIX=%{_prefix} UPDATE_CACHE=false
rm -f %{buildroot}%{_libdir}/qt4/plugins/script/libqtscript*.so
install -d -m0755 %{buildroot}%{_datadir}/soundfonts
mv %{buildroot}%{_datadir}/mscore-%{majver}/sound/TimGM6mb.sf2 \
%{buildroot}%{_datadir}/soundfonts/TimGM6mb.sf2
ln -s ../../soundfonts/TimGM6mb.sf2 %{buildroot}%{_datadir}/mscore-%{majver}/sound/TimGM6mb.sf2
ln -s TimGM6mb.sf2 %{buildroot}%{_datadir}/soundfonts/default.sf2
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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -84,25 +76,37 @@ ln -s TimGM6mb.sf2 %{buildroot}%{_datadir}/soundfonts/default.sf2
%files
%defattr(-,root,root)
%{_bindir}/mscore
%{_libdir}/qt4/plugins/designer/libawlplugin.so
%{_bindir}/musescore
#%{_libdir}/qt4/plugins/designer/libawlplugin.so
%{_datadir}/applications/mscore.desktop
%{_datadir}/mscore-%{majver}/demos
%{_datadir}/mscore-%{majver}/instruments
%{_datadir}/mscore-%{majver}/locale
%{_datadir}/mscore-%{majver}/man
%{_datadir}/mscore-%{majver}/manual
%{_datadir}/mscore-%{majver}/plugins
%{_datadir}/mscore-%{majver}/sound/TimGM6mb.sf2
%{_datadir}/mscore-%{majver}/sound
%{_datadir}/mscore-%{majver}/styles
%{_datadir}/mscore-%{majver}/templates
%{_datadir}/mscore-%{majver}/wallpaper
%{_datadir}/pixmaps/mscore.png
%{_datadir}/pixmaps/mscore.xpm
%{_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
%{_mandir}/man1/mscore.1*
%{_mandir}/man1/musescore.1*
#%{_datadir}/pixmaps/mscore.png
#%{_datadir}/pixmaps/mscore.xpm
%files -n soundfont-TimGM
%defattr(-,root,root)
%{_datadir}/soundfonts/default.sf2
%{_datadir}/soundfonts/TimGM6mb.sf2
%{_datadir}/soundfonts/default.sf3
%{_datadir}/soundfonts/MuseScore_General.sf3
%changelog
* Mon Dec 03 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-1mamba
- update to 2.3.2
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
- automatic version update by autodist