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 | %define ver_major 2.18 %define ver_minor 2 %define _lily_dir %_datadir/%name/%version %define _texmf %_datadir/texmf Name: lilypond Version: %ver_major.%ver_minor Release: alt0.1 Group: Publishing Summary: A program for printing sheet music License: GPL v.3 Url: http://www.lilypond.org Packager: Michael Pozhidaev <msp@altlinux.ru> Source: %name-%version.tar.gz Source1: russian-lirycs-test.ly Requires: ghostscript BuildRequires: texi2html >= 1.82 BuildRequires: dblatex convert zip rsync zlib-devel fontforge guile-devel BuildRequires: perl-Math-Complex perl-podlators BuildRequires: emacs-devel emacs24 # Automatically added by buildreq on Tue Mar 17 2009 BuildRequires: flex fontforge fonts-type1-urw gcc-c++ guile18-devel libpango-devel python-devel python-modules-compiler python-modules-encodings t1utils texlive-metapost #%package tex #Summary: TeX extensions for %name #Group: Publishing #BuildArch: noarch #Requires: %name = %version-%release #%package doc #Summary: LilyPond documentation, examples and Mutopia files #Group: Publishing #BuildArch: noarch #Requires: %name = %version-%release %package -n emacs-mode-%name Summary: Major mode for editing GNU LilyPond music scores Group: Editors BuildArch: noarch #msp:removed tetex-xdvi to avoid explicit dependence to tetex and make possible texlive using Requires: %name = %version-%release emacs TiMidity++ gv %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 = %version-%release %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 tex #TeX extensions for %name #%description doc #The documentation of LilyPond, both in HTML and PostScript, along with #example input files and the files from the Mutopia project. At present a #part of this documentation may be broken. See http://lilypond.org for #full. %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. %prep %setup -q subst 's|package_infodir = $(infodir)/$(package)|package_infodir = $(infodir)|' config.make.in %build %configure \ --with-ncsb-dir=/usr/share/fonts/type1/urw \ --enable-documentation # --enable-relocation \ # TODO: where is it? # --enable-gui %make_build #%make_build webdir=%_docdir/%name-%version web %install %make_install DESTDIR=%buildroot install #%make_install web-install out=www # Move TeX dependent files into system TeX tree locations # 30092007: hack for tfm: #%__mkdir_p %buildroot%_lily_dir/fonts/tfm #%__mv mf/out/*.tfm %buildroot%_lily_dir/fonts/tfm/ #for i in otf source svg tfm type1; do # %__mkdir_p %buildroot%_texmf/fonts/$i # ln -s %_lily_dir/fonts/$i %buildroot%_texmf/fonts/$i/%name #done #%__mkdir_p %buildroot%_texmf/tex/%name #%__mv %buildroot%_lily_dir/tex/* %buildroot%_texmf/tex/%name/ # Create documentation tree in %_docdir #%__mkdir_p %buildroot%_docdir/%name-%version/Printable #%__ln_s ../Documentation/user/out-www/lilypond.ps.gz %buildroot%_docdir/%name-%version/Printable/Manual.ps.gz #%__ln_s ../Documentation/user/out-www/music-glossary.ps.gz %buildroot%_docdir/%name-%version/Printable/Glossary.ps.gz # 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 #FIXME:msp: # These files cannot pass verify-info check; %__rm -f %buildroot%_infodir/lilypond* %buildroot%_infodir/music* %find_lang %name %files -f %name.lang %_bindir/* %_libdir/%name %_datadir/%name #%_infodir/* %_man1dir/* %doc AUTHORS.txt COPYING DEDICATION HACKING INSTALL.txt LICENSE LICENSE.DOCUMENTATION LICENSE.OFL NEWS.txt README.txt ROADMAP %doc russian-lirycs-test.ly #%files tex #%_texmf/fonts/*/%name #%_texmf/tex/%name %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 doc #%%_docdir/%name-%version/*.html #%%_docdir/%name-%version/input #%%_docdir/%name-%version/Documentation #%%_docdir/%name-%version/Printable #%_datadir/omf/* %changelog * 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 * Sun 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 * Thu 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 |