Package lilypond: 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 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 | %define _unpackaged_files_terminate_build 1 %define ver_major 2.24 %define ver_minor 2 %define _lily_dir %_datadir/%name/%version %define _texmf %_datadir/texmf Name: lilypond Version: %ver_major.%ver_minor Release: alt1 Group: Publishing Summary: A program for printing sheet music License: GPLv3+ with Font-exception-2.0 and GFDL-1.3 and MIT and OFL-1.1 Url: https://lilypond.org Source: %name-%version.tar Source1: russian-lirycs-test.ly BuildRequires(pre): rpm-build-vim BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel BuildRequires: gcc-c++ emacs emacs-devel flex fontconfig-devel fontforge guile-devel BuildRequires: help2man libfreetype-devel libpango-devel makeinfo python-devel texlive BuildRequires: texlive-collection-basic Requires: texlive-collection-basic %add_python3_lib_path %_datadir/%name %add_python3_req_skip __main__ %package -n emacs-mode-%name Summary: Major mode for editing GNU LilyPond music scores Group: Editors BuildArch: noarch Requires: %name = %EVR %package -n emacs-mode-%name-el Summary: The Emacs Lisp sources for bytecode included in emacs-mode-%name Group: Development/Other BuildArch: noarch Requires: emacs-mode-%name = %EVR %package -n vim-plugin-%name Summary: Vim plugin for editing GNU LilyPond music scores Group: Editors BuildArch: noarch Requires: %name = %EVR %description LilyPond is a music typesetter. It produces beautiful sheet music using a high level description file as input. Lilypond is part of the GNU project. This package contains the utilities for converting the music source (.ly) files into printable output. %description -n emacs-mode-%name emacs-mode-%name provides syntax coloring, inserting tags, PS-compilation, PS-viewing and MIDI-play. All Emacs Lisp code is byte-compiled, install emacs-mode-%name-el for sources. %description -n emacs-mode-%name-el emacs-mode-%name-el contains the Emacs Lisp sources for the bytecode included in the emacs-mode-%name package, that extends the Emacs editor. You need to install emacs-mode-%name-el only if you intend to modify any of the emacs-mode-%name code or see some Lisp examples. %description -n vim-plugin-%name vim-plugin-%name provides syntax coloring, completion and compilation. %prep %setup subst 's|package_infodir = $(infodir)/$(package)|package_infodir = $(infodir)|' config.make.in %build %configure \ --with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre/ \ --disable-documentation \ %nil %make_build %install %makeinstall_std \ vimdir=%vim_runtime_dir help2man %buildroot%_bindir/lilypond > %buildroot%_man1dir/lilypond.1 # install russian-lirycs-test.ly install -m644 %SOURCE1 . # Install Emacs-mode files mkdir -p %buildroot/%_emacs_sitestart_dir mv %buildroot%_emacslispdir/%name-init.el %buildroot%_emacs_sitestart_dir/ for i in %buildroot%_emacslispdir/%{name}*.el; do %byte_compile_file $i done # Do not map keys sed -i '/^".*<\(S-\)\?F[[:digit:]]\+>/,/^"/{/^[^"]/s/^/" /}' %buildroot%vim_runtime_dir/ftplugin/lilypond.vim # Guard ! grep ^map %buildroot%vim_runtime_dir/ftplugin/lilypond.vim ||exit 1 #FIXME:msp: # These files cannot pass verify-info check; rm -f %buildroot%_infodir/lilypond* %buildroot%_infodir/music* %find_lang %name %files -f %name.lang %doc COPYING COPYING.FDL LICENSE LICENSE.DOCUMENTATION LICENSE.OFL %doc DEDICATION INSTALL.txt NEWS.txt README.md ROADMAP %doc russian-lirycs-test.ly %_bindir/* %_datadir/%name #%_infodir/* %_man1dir/* %files -n emacs-mode-%name %config(noreplace) %_emacs_sitestart_dir/%name-init.el %_emacslispdir/%{name}*.elc %files -n emacs-mode-%name-el %_emacslispdir/%{name}*.el %files -n vim-plugin-%name %vim_runtime_dir/compiler/* %vim_runtime_dir/ftdetect/* %vim_runtime_dir/ftplugin/* %vim_runtime_dir/indent/* %vim_runtime_dir/syntax/* %changelog * Sun Oct 15 2023 Artyom Bystrov <arbars@altlinux.org> 2.24.2-alt1 - Update to new version * Tue Jul 18 2023 Artyom Bystrov <arbars@altlinux.org> 2.22.1-alt2 - Fix build on GCC13 * Tue Aug 03 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 2.22.1-alt1 - Updated to stable upstream version 2.22.1. * Thu Feb 04 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 2.22.0-alt1 - Updated to stable upstream version 2.22.0. * Thu Sep 24 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 2.20.0-alt4 - Fixed changelog according to vulnerability policy. * Sun Aug 16 2020 Vladimir D. Seleznev <vseleznv@altlinux.org> 2.20.0-alt3 - Applied CVE fix (Fixes: CVE-2020-17353). * Sun Aug 09 2020 Vladimir D. Seleznev <vseleznv@altlinux.org> 2.20.0-alt2 - Added vim-plugin-lilypond subpackage. * Tue Jul 07 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 2.20.0-alt1 - Updated to stable upstream version 2.20.0. * Tue Feb 04 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 2.18.2-alt3 - Fixed build. * Fri Mar 15 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 2.18.2-alt2 - Rebuilt with guile18 (Closes: #36005) * Wed Nov 28 2018 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.18.2-alt1 - rebuilt with guile22 * Mon Aug 13 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.18.2-alt0.3 - Updated build dependencies * Mon Jul 31 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 2.18.2-alt0.2 - Updated build dependencies * Thu Nov 06 2014 Michael Pozhidaev <msp@altlinux.ru> 2.18.2-alt0.1 - New version: 2.18.2 * Thu Jan 02 2014 Michael Pozhidaev <msp@altlinux.ru> 2.18.0-alt0.1 - New version: 2.18.0 * Sat Dec 07 2013 Michael Pozhidaev <msp@altlinux.ru> 2.16.0-alt0.2 - %%autoreconf added to fix compilation errors * Sat Oct 06 2012 Michael Pozhidaev <msp@altlinux.ru> 2.16.0-alt0.1 - New version * Wed Jul 18 2012 Michael Pozhidaev <msp@altlinux.ru> 2.14.2-alt2 - emacs23 req changed to emacs24 * Fri Jan 06 2012 Michael Pozhidaev <msp@altlinux.ru> 2.14.2-alt1 - New version * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 2.12.3-alt1.1 - Rebuild with Python-2.7 * Sat Nov 13 2010 Michael Pozhidaev <msp@altlinux.ru> 2.12.3-alt1 - New version: 2.12.3 - Fix compilation error with gcc4.5 - New packager - Temporarily disabled lilypond-tex subpackage - Temporarily disabled lilypond-doc subpackage * Fri Nov 20 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.12.2-alt1.1 * Sun Jul 19 2009 Michael Pozhidaev <msp@altlinux.ru> 2.12.2-alt1 - New version 2.12.2 - Applied patch for gcc4.4 compilation * Thu Apr 23 2009 Michael Pozhidaev <msp@altlinux.ru> 2.12.1-alt3 - lilypond-tex became noarch (after at@ incoming checking fixes) * Thu Apr 16 2009 Michael Pozhidaev <msp@altlinux.ru> 2.12.1-alt2 - All TeX files moved into subpackage to reduce dependencies of main rpm - Some spec cleanup * Sun Mar 15 2009 Michael Pozhidaev <msp@altlinux.ru> 2.12.1-alt1 - New version - Removed explicit scrollkeeper calls - Removed explicit dependence to tetex for emacs-mode-lilypond * Fri Jan 02 2009 Michael Pozhidaev <msp@altlinux.ru> 2.11.61-alt2 - Fixed info files installation * Fri Oct 17 2008 Michael Pozhidaev <msp@altlinux.ru> 2.11.61-alt1 - New version * Sun Mar 02 2008 Ilya Mashkin <oddity@altlinux.ru> 2.11.0-alt2 - rebuild 2.11.0 with python 2.5.1 * Mon Dec 04 2006 Ildar Mulyukov <ildar@altlinux.ru> 2.11.0-alt1 - 2.11.0, packager change - removed patches - tear off russian patches, updated russian-lirycs-test.ly - removed shell initscripts - not needed now - fixed info files/layouts - docs building disabled * Tue Jan 18 2005 ALT QA Team Robot <qa-robot@altlinux.org> 2.2.0-alt0.7.1 - Rebuilt with libstdc++.so.6. * Fri Aug 20 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.2.0-alt0.7 - fixed %%install. * Mon Jun 21 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.2.0-alt0.6 - fixed russian lirycs support (close #4450). Thanks to Ruslan Gordeev. See /usr/share/doc/lilypond-%version/russian-lirycs-test.ly for example. * Wed Apr 07 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.2.0-alt0.5 - 2.2.0 * Thu Feb 26 2004 Dmitry V. Levin <ldv@altlinux.org> 2.0.1-alt0.5.1 - Fixed ghostscript dependencies. - Removed libintl-devel dependencies. * Sun Dec 14 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.0.1-alt0.5 - 2.0.1 * Thu Sep 25 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.0.0-alt0.5 - 2.0.0 * Wed Jul 23 2003 Yuri N. Sedunov <aris@altlinux.ru> 1.6.11-alt0.5 - 1.6.11 * Wed Mar 05 2003 Yuri N. Sedunov <aris@altlinux.ru> 1.6.8-alt0.5 - 1.6.8 * Sat Dec 07 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.6.6-alt0.2 - Rebuild with new TeX. * Wed Oct 23 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.6.6-alt0.1 - 1.6.6 * Tue May 28 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.4.13-alt1 - 1.4.13 * Thu Apr 18 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.4.12-alt3 - rebuild with new autotrace * Tue Mar 19 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.4.12-alt2 - emacs-mode-%%{name}* packages. - new buildrequires * Tue Mar 12 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.4.12-alt1 - 1.4.12 - stepmake patch removed, not needed more. - makedocs patch. (fix building docs with python2.2) * Fri Jan 25 2002 Yuri N. Sedunov <aris@altlinux.ru> 1.4.9-alt2 - Cleanups * Fri Nov 30 2001 Yuri N. Sedunov <aris@altlinux.ru> 1.4.9-alt1 - Updated to 1.4.9 * Fri Nov 16 2001 Yuri N. Sedunov <aris@altlinux.ru> 1.4.8-alt3 - Spec cleanup. * Thu Nov 15 2001 Yuri N. Sedunov <aris@altlinux.ru> 1.4.8-alt2 - configure with --datadir=%_datadir/%name * Tue Nov 13 2001 Yuri N. Sedunov <aris@altlinux.ru> 1.4.8-alt1 - First build for Sisyphus |