Package 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 | %define rname mscore Name: musescore Version: 1.3 Release: alt1 Summary: A free WYSIWYG music score typesetter License: GPL2 Group: Sound Url: http://mscore.sourceforge.net/ Packager: Vitaly Lipatov <lav@altlinux.ru> Source: http://prdownloads.sf.net/%rname/%rname-%version.tar.bz2 Source1: mscore.desktop Patch1: mscore-dso-linking.patch BuildPreReq: chrpath # Automatically added by buildreq on Thu Jan 06 2011 BuildRequires: ccmake doxygen gcc-c++ ghostscript-utils graphviz latex2html libalsa-devel libjack-devel libportaudio2-devel libsndfile-devel qt4-designer # needed for qt.core and so on in JavaScript plugins Requires: qtscriptbindings %description MuseScore is a graphical music typesetter. It allows for fast and easy note entry on a virtual note sheet. It has an integrated sequencer to allow for immediate play of the score. MuseScore can import and export MusicXml and standard Midi files. Run "modprobe snd-seq" as root if you get ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory %prep %setup -n %rname-%version sed -i "s| -m32||g" mscore/CMakeLists.txt %patch1 -p1 -b .dso sed -i 's@":/fonts@"%_datadir/mscore-%version/fonts@g' mscore/mscore/mscore.cpp %build export PATH=$PATH:%_qt4dir/bin mkdir build && cd build cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=%_prefix \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DBUILD_SCRIPTGEN=FALSE \ ../mscore # compile translations make lupdate make lrelease # run build %make_build make doxy cp %SOURCE1 . %install cd build %makeinstall_std for f in ../mscore/mscore/fonts/*.ttf; do install -D $f %buildroot%_datadir/mscore-%version/fonts/$(basename $f) done chrpath -d %buildroot%_bindir/mscore %files %_bindir/mscore %_desktopdir/mscore.desktop %_datadir/mscore-%version %_qt4dir/plugins/designer/libawlplugin.so %_pixmapsdir/mscore.* %changelog * 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 * Sun Feb 10 2008 - Carlos Goncalves <cgoncalves@opensuse.org> - updated to version 0.9.1 * Tue Jul 31 2007 - Carlos Goncalves <cgoncalves@opensuse.org> - updated to version 0.6.1 * This is a bugfix release fixing the midi import crash and adding some small usability enhancements. * Sun Jul 29 2007 - Carlos Goncalves <cgoncalves@opensuse.org> - initial package |