Пакет musescore: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | %define rname mscore %define mversion 3.6 Name: musescore Version: %mversion.2 Release: alt1 Summary: Music notation and composition software License: GPLv2 Group: Sound Url: https://musescore.org # https://github.com/musescore/MuseScore Source: %name-%version.tar BuildPreReq: chrpath rpm-build-xdg # Automatically added by buildreq on Thu Jan 06 2011 BuildRequires: ccmake doxygen gcc-c++ ghostscript-utils graphviz latex2html BuildRequires: libalsa-devel libjack-devel libportaudio2-devel libsndfile-devel BuildRequires: qt5-designer qt5-base-devel libpulseaudio-devel libfreetype-devel BuildRequires: liblame-devel qt5-tools-devel qt5-webkit-devel qt5-declarative-devel BuildRequires: qt5-script-devel qt5-xmlpatterns-devel qt5-quick1-devel qt5-svg-devel BuildRequires: qt5-tools-devel-static zlib-devel libvorbis-devel libportmidi-devel BuildRequires: qt5-webengine-devel qt5-quickcontrols2-devel %description Music notation and composition software * WYSIWYG design, notes are entered on a "virtual notepaper" * TrueType font(s) for printing & display allows for high quality scaling to all sizes * easy & fast note entry * many editing functions * MusicXML import/export * Midi (SMF) import/export * MuseData import * Midi input for note entry * integrated sequencer and software synthesizer to play the score * print or create pdf files %prep %setup # Remove -lporttime on RPM-based systems where PortTime is part of PortMidi sed -i 's/ -lporttime//' mscore/CMakeLists.txt %build export PATH=$PATH:%_qt5_bindir echo $PATH mkdir build.debug && cd build.debug cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=%_prefix \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DBUILD_SCRIPTGEN=FALSE \ -DUSE_SYSTEM_FREETYPE=ON \ -DBUILD_WEBENGINE=OFF \ .. make lrelease make manpages make mops1 mops2 %make_build %install cd build.debug %makeinstall_std for f in ../fonts/*.ttf ../fonts/*.xml; do install -D $f %buildroot%_datadir/mscore-%mversion/fonts/$(basename $f) done for f in ../fonts/bravura/*.otf ../fonts/bravura/*.json; do install -D $f %buildroot%_datadir/mscore-%mversion/fonts/bravura/$(basename $f) done for f in ../fonts/gootville/*.otf ../fonts/gootville/*.json; do install -D $f %buildroot%_datadir/mscore-%mversion/fonts/gootville/$(basename $f) done for f in ../fonts/mscore/*.ttf ../fonts/mscore/*.json; do install -D $f %buildroot%_datadir/mscore-%mversion/fonts/mscore/$(basename $f) done chrpath -d %buildroot%_bindir/mscore %files %_bindir/* %_datadir/metainfo/org.musescore.MuseScore.appdata.xml %_desktopdir/mscore.desktop %_datadir/mscore-%mversion %_man1dir/* %_xdgmimedir/packages/musescore.xml %_iconsdir/hicolor/16x16/apps/mscore.png %_iconsdir/hicolor/32x32/apps/mscore.png %_iconsdir/hicolor/48x48/apps/mscore.png %changelog * Tue Apr 06 2021 Grigory Ustinov <grenka@altlinux.org> 3.6.2-alt1 - Build new version. * Tue Oct 27 2020 Grigory Ustinov <grenka@altlinux.org> 3.5.2-alt1 - Automatically updated to 3.5.2. * Wed Aug 26 2020 Grigory Ustinov <grenka@altlinux.org> 3.5-alt1 - Automatically updated to 3.5. * Mon Feb 10 2020 Grigory Ustinov <grenka@altlinux.org> 3.4.2-alt1 - new version 3.4.2 * Wed Feb 05 2020 Grigory Ustinov <grenka@altlinux.org> 3.4.1-alt1 - Build new version 3.4.1. - Fix license. * Thu Dec 26 2019 Grigory Ustinov <grenka@altlinux.org> 3.3.4-alt1 - Build new version 3.3.4. * Fri Nov 15 2019 Grigory Ustinov <grenka@altlinux.org> 3.3.2-alt1 - Build new version. * Wed Nov 06 2019 Grigory Ustinov <grenka@altlinux.org> 3.3-alt1 - Build new version. * Mon Jul 08 2019 Grigory Ustinov <grenka@altlinux.org> 3.2.3-alt1 - Build new version. * Thu May 30 2019 Grigory Ustinov <grenka@altlinux.org> 3.1-alt1 - Build new version. * Tue Apr 16 2019 Grigory Ustinov <grenka@altlinux.org> 3.0.5-alt1 - Build new version (Closes: #36475). - Build with system libfreetype (Closes: #36386). * Wed Sep 12 2018 Grigory Ustinov <grenka@altlinux.org> 2.3.2-alt1 - 2.3.2 * Wed Jul 18 2018 Grigory Ustinov <grenka@altlinux.org> 2.1.0-alt3 - Fix FTBFS (Add missing rpm-build-xdg). * Thu Nov 23 2017 Fr. Br. George <george@altlinux.ru> 2.1.0-alt2 - Fix sf3 coredump * Thu Nov 16 2017 Fr. Br. George <george@altlinux.ru> 2.1.0-alt1 - 2.1.0 * Tue Feb 16 2016 Terechkov Evgenii <evg@altlinux.org> 2.0.2-alt1 - 2.0.2 - build from upstream git repo * Mon Apr 15 2013 Fr. Br. George <george@altlinux.ru> 1.3-alt1 - Version up - Fix broken fonts usage in 1.2 * Sat Jun 2 2012 Terechkov Evgenii <evg@altlinux.org> 1.2-alt1 - 1.2 * Tue Feb 07 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.6.3-alt1.1 - Removed bad RPATH * Sun Jan 02 2011 Vitaly Lipatov <lav@altlinux.ru> 0.9.6.3-alt1 - new version (ALT bug 23626), update buildreqs - fix dependencies (ALT bug #21884) * Tue Apr 21 2009 Vitaly Lipatov <lav@altlinux.ru> 0.9.4-alt1 - new version 0.9.4 (with rpmrb script), fix bug #19710 - update buildreqs * Mon Jun 09 2008 Vitaly Lipatov <lav@altlinux.ru> 0.9.2-alt1 - initial build for ALT Linux Sisyphus |