Hello community,

here is the log from the commit of package lilypond.2459 for 
openSUSE:13.1:Update checked in at 2014-01-16 10:38:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/lilypond.2459 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.lilypond.2459.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lilypond.2459"

Changes:
--------
New Changes file:

--- /dev/null   2013-11-25 01:44:08.036031256 +0100
+++ /work/SRC/openSUSE:13.1:Update/.lilypond.2459.new/lilypond-doc.changes      
2014-01-16 10:38:47.000000000 +0100
@@ -0,0 +1,165 @@
+-------------------------------------------------------------------
+Mon Sep  9 15:48:56 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.26:
+   * Decimal numbers can now be written directly in music, without a
+     hash sign.  Together with the previous change in the way object
+     properties are specified, the code to change the length of stems
+     has changed from this:
+          \override Stem #'length = #5.6
+          e' f' g' a'
+     to this:
+          \override Stem.length = 5.6
+          e' f' g' a'
+
+     One has to write a digit on both sides of the dot - values like
+     `4.' or `-.3' are not allowed.
+
+     Decimal fractions are also not accepted in `\chordmode'.
+
+   * A number of shorthands like `(', `)', `|', `[', `]', `~', `\(',
+     `\)' and others can now freely be redefined like normal commands.
+     An example would be
+
+          "\\{" = (
+          "\\}" = )
+          "(" = \melisma
+          ")" = \melismaEnd
+
+          \new Staff <<
+            \relative c' {
+              c8 \{ d e f \} % slurred
+              g ( a b c ) % no slur, but with melisma
+              c,1 \bar "|."
+             }
+             \addlyrics { Li -- ly -- pond. }
+          >>
+           [image of music]
+   * The articulation shorthand for `\staccatissimo' has been renamed
+     from `-|' to `-!'.
+
+   * Tempo change ranges are now written as `\tempo 4 = 60 - 68' rather
+     than `\tempo 4 = 60 ~ 68'.
+- make-doc-crash.patch upstreamed
+
+-------------------------------------------------------------------
+Tue Aug 13 07:52:45 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.24:
+  * bugfixes
+- make doc do not crash anymore
+  + lilypond-make-doc-crash.patch
+
+-------------------------------------------------------------------
+Tue Aug  6 13:56:19 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.23:
+  * bugfixes
+- removed python26.patch and gcc44-relocate.patch
+
+-------------------------------------------------------------------
+Wed Mar 27 12:36:28 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.14:
+   * The meaning of `instrumentTransposition' has been reversed.  After
+          \set instrumentTransposition = #{ b #}
+     a written `c'' now sounds like `b'.  Previously, this would have
+     been the other way round.  This and the following change should
+     make dealing with transposing instruments more straightforward.
+
+   * The music generated by `\set' and `\override' commands is no
+     longer affected by `\transpose'.  The main consequence is that
+     `\transpose' will transpose audible/concert pitch and printed
+     pitch by the same amount even when the transposed music contains
+     `\transposition'.  Previously,
+          \transpose c' f' \transposition bes'
+     was equivalent to `\transposition f''.  Now it stays equivalent to
+     `\transposition bes''.
+
+   * Tuplets are now created with the `\tuplet' command, which takes a
+     fraction `T/N' to specify that T notes are played in the time
+     usually allowed for N. One `\tuplet' command can create several
+     tuplet groups if their duration is typed after the fraction.
+
+          \tuplet 3/2 { c8 d e } \tuplet 3/2 { f e d } c2
+          \tuplet 3/2 4 { c8 d e f e d } c2
+           [image of music]
+
+
+     The `\times' command with its inverted fraction order `N/T' is
+     still available.
+   etc. see NEWS.txt
+
+-------------------------------------------------------------------
+Mon Dec 31 14:29:37 UTC 2012 - pgaj...@suse.com
+
+- updated to version 2.17.9:
+  * The `\clef' command supports optional octavation:
+
+          \clef "treble_(8)"
+          c2 c
+          \clef "bass^[15]"
+          c2 c
+   * The LilyPond syntax of dot-separated words `Voice.Accidental' has
+     been made interchangeable with `#'(Voice Accidental)', a Scheme
+     list of symbols.  As one result, code like
+     \override Voice.TextSpanner #'(bound-details left text) = "rit."
+     is now equivalent to
+     \override Voice.TextSpanner bound-details.left.text = "rit."
+     or even
+     \override #'(Voice TextSpanner) bound-details.left.text = "rit."
+  * Grob and grob property path no longer need to be specified as two
+     separate arguments to commands like `\override' and `\revert',
+     allowing for the syntax
+     \override Voice.TextSpanner.bound-details.left.text = "rit."
+     Since complementary music functions like `\overrideProperty'
+     cannot support forms with and without separating space at the same
+     time, using a single dotted path is now the preferred form.
+     Specifying grob path and grob property path separately, currently
+     still supported with `\override' and `\revert' for compatibility
+     reasons, is deprecated.
+   * Due to words now being accepted as symbol function arguments, the
+     interfaces of `\accidentalStyle', `\alterBroken', `\footnote' and
+     `\tweak' had to be redesigned where optional symbol arguments were
+     involved.  Please check the respective music function
+     documentation for details.
+   * Several commands now accept symbol lists (conveniently entered as
+     dot-separated words) for various kinds of arguments.  These
+     include `\accidentalStyle', `\alterBroken', `\footnote', `\hide',
+     `\omit', `\overrideProperty', `\shape', and `\tweak'.
+   * The bar line user interface has changed. Bar glyphs now resemble
+     the appearance of the bar line, so a left repeat sign has to be
+     coded as `.|:'. The command `\defineBarLine' provides an easy way
+     to define additional bar line styles.
+   * Accidentals in the key signature may be printed in octaves other
+     than their traditional positions, or in multiple octaves.
+
+-------------------------------------------------------------------
+Thu Dec 20 12:22:36 UTC 2012 - dmuel...@suse.com
+
+- remove unnecessary (and conflicting) buildrequires on libicu
+
+-------------------------------------------------------------------
+Mon Nov 19 19:22:13 UTC 2012 - j.mairbo...@gmail.com
+
+- update to version 2.16.1
+- This is a bugfix update see :
+  http://code.google.com/p/lilypond/issues/list?can=1&q=Fixed_2_16_1
+
+-------------------------------------------------------------------
+Wed Aug 29 09:12:23 UTC 2012 - j.mairbo...@gmail.com
+
+- Remove dependency on ghostscript-fonts-rus (not available on >= 12.2).
+
+-------------------------------------------------------------------
+Wed Aug 29 09:04:02 UTC 2012 - j.mairbo...@gmail.com
+
+- Readd lilypond-doc for 2.16.0
+
+-------------------------------------------------------------------
+Sat Mar 17 16:41:39 UTC 2012 - davejpla...@gmail.com
+
+- Split off lilypond-doc to a separate package.
+
+
+
New Changes file:

--- /dev/null   2013-11-25 01:44:08.036031256 +0100
+++ /work/SRC/openSUSE:13.1:Update/.lilypond.2459.new/lilypond.changes  
2014-01-16 10:38:47.000000000 +0100
@@ -0,0 +1,1063 @@
+-------------------------------------------------------------------
+Tue Jan  7 14:26:40 UTC 2014 - pgaj...@suse.com
+
+- updated to stable release 2.18.0 [bnc#851999]
+   * There is now a new context type called `NullVoice' which, while not
+     appearing in the printed output, can be used to align lyrics.
+     This can be particularly convenient when used in parallel with a
+     `\partcombine' construct.
+   * Several articulations can be put into a single variable or
+     returned from an event function.
+   * The baseline of score markups is now taken from the reference
+     point (usually the middle of the staff) of the first bottom system
+     rather than the top of the bounding rectangle.  
+   * LilyPond no longer automatically infers a `\defaultchild' context
+     in a context definition with `\accepts' clauses.  Any context
+     definition without an explicit or inherited `\defaultchild'
+     definition counts as a `Bottom' context and will be eligible for
+     rhythmic events and overrides without causing the implicit
+     creation of other contexts.  Be sure to specify a `\defaultchild'
+     for non-`Bottom' contexts when defining them from scratch.
+   * There is now extensive support for both discant and bass accordion
+     register symbols in the `scm accreg' module, see *note Accordion
+     Registers: (lilypond-notation)Accordion Registers.
+   * New commands `markLengthOn' and `markLengthOff' control the
+     allowance of horizontal space for tempo and rehearsal marks.
+   * Rehearsal marks at the beginning of a line are now placed to the
+     right of the clef and key signature by default.  As in previous
+     versions, the `break-alignable-interface' controls the behavior.
+- see NEWS.txt for details
+
+-------------------------------------------------------------------
+Mon Sep  9 15:46:59 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.26:
+   * Decimal numbers can now be written directly in music, without a
+     hash sign.  Together with the previous change in the way object
+     properties are specified, the code to change the length of stems
+     has changed from this:
+          \override Stem #'length = #5.6
+          e' f' g' a'
+     to this:
+          \override Stem.length = 5.6
+          e' f' g' a'
+
+     One has to write a digit on both sides of the dot - values like
+     `4.' or `-.3' are not allowed.
+
+     Decimal fractions are also not accepted in `\chordmode'.
+
+   * A number of shorthands like `(', `)', `|', `[', `]', `~', `\(',
+     `\)' and others can now freely be redefined like normal commands.
+     An example would be
+
+          "\\{" = (
+          "\\}" = )
+          "(" = \melisma
+          ")" = \melismaEnd
+
+          \new Staff <<
+            \relative c' {
+              c8 \{ d e f \} % slurred
+              g ( a b c ) % no slur, but with melisma
+              c,1 \bar "|."
+             }
+             \addlyrics { Li -- ly -- pond. }
+          >>
+           [image of music]
+   * The articulation shorthand for `\staccatissimo' has been renamed
+     from `-|' to `-!'.
+
+   * Tempo change ranges are now written as `\tempo 4 = 60 - 68' rather
+     than `\tempo 4 = 60 ~ 68'.
+- make-doc-crash.patch upstreamed
+
+-------------------------------------------------------------------
+Tue Aug 13 07:52:45 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.24:
+  * bugfixes
+- make doc do not crash anymore
+  + lilypond-make-doc-crash.patch
+
+-------------------------------------------------------------------
+Tue Aug  6 13:35:41 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.23:
+  * bugfixes
+- removed python26.patch and gcc44-relocate.patch
+
+-------------------------------------------------------------------
+Wed Jun 12 09:22:56 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.20:
+   * Grob `OctavateEight' was renamed to `ClefModifier'.  Related
+     context properties were renamed from `xxxOctavationyyy' to
+     `xxxTranspositionyyy'.
+   * There is a new `\absolute' command explicitly marking music as
+     being entered in absolute pitch.  While this has been the default
+     previously, an explicit `\absolute' also prevents reinterpretation
+     when the passage is placed inside of `\relative':
+
+          \relative c { c'4 \absolute { f'' g'' } c }
+           [image of music]
+   * When `\relative' is used without an explicit reference pitch, the
+     reference pitch now is the middle of the first octave, making the
+     first entered pitch indistinguishable from absolute pitch.
+     Previously, omitting the reference pitch would have lead to a
+     default of `c''.  Since that choice was somewhat arbitrary,
+     recommended usage was to always specify the reference pitch.
+   * A new command `\single' can be used for converting a property
+     override into a tweak to be applied on a single music expression:
+
+          <a \single\voiceTwoStyle e' a>1
+           [image of music]
+   * Two ways of letting graphical objects not appear in the output are
+     overriding its `transparent' property with `#t' (retaining the
+     original spacing) or overriding its `stencil' property with `#f'
+     (not using any space at all).  Those two operations now have the
+     shorthands `\hide' and `\omit', respectively.  They can either be
+     given a music expression to tweak, or the name of a graphical
+     object for which an override should be created (for specifying
+     both, use `\single' on the override form):
+
+          \new Staff \with { \omit Clef }
+          \relative c'' <a e' \hide a>1
+           [image of music]
+   * A new command `\temporary' can be applied to overrides in order to
+     not have them replace previous property settings.  If a `\revert'
+     is applied to the same property subsequently, the previous setting
+     reappears:
+          \override NoteHead.color = #red c4
+          \override NoteHead.color = #green d
+          \revert NoteHead.color e2
+          \override NoteHead.color = #red c4
+          \temporary\override NoteHead.color = #green d
+          \revert NoteHead.color e
+          \revert NoteHead.color c
+           [image of music]
+     This is mainly useful for writing music functions that need to
+     have some property changed just for the duration of the function.
+   * `\tag', `\removeWithTag', and `\keepWithTag' can now accept a list
+     of symbols rather than just a single symbol for marking, removing,
+     and keeping music with any of multiple tags.  This is particularly
+     important for `\keepWithTag' since one cannot achieve the same
+     effect by using multiple consecutive `\keepWithTag' commands.
+   * The `-d old-relative' option has been removed.  Not actually
+     accessible from the command line any more, its remaining use was
+     for interpretating `\relative' in LilyPond files converted
+     automatically from version 1.8 or older.  It is unclear how much
+     of this was actually still operative.
+
+-------------------------------------------------------------------
+Wed Mar 27 10:51:23 UTC 2013 - pgaj...@suse.com
+
+- updated to 2.17.14:
+   * The meaning of `instrumentTransposition' has been reversed.  After
+          \set instrumentTransposition = #{ b #}
+     a written `c'' now sounds like `b'.  Previously, this would have
+     been the other way round.  This and the following change should
+     make dealing with transposing instruments more straightforward.
+
+   * The music generated by `\set' and `\override' commands is no
+     longer affected by `\transpose'.  The main consequence is that
+     `\transpose' will transpose audible/concert pitch and printed
+     pitch by the same amount even when the transposed music contains
+     `\transposition'.  Previously,
+          \transpose c' f' \transposition bes'
+     was equivalent to `\transposition f''.  Now it stays equivalent to
+     `\transposition bes''.
+
+   * Tuplets are now created with the `\tuplet' command, which takes a
+     fraction `T/N' to specify that T notes are played in the time
+     usually allowed for N. One `\tuplet' command can create several
+     tuplet groups if their duration is typed after the fraction.
+
+          \tuplet 3/2 { c8 d e } \tuplet 3/2 { f e d } c2
+          \tuplet 3/2 4 { c8 d e f e d } c2
+           [image of music]
+
+
+     The `\times' command with its inverted fraction order `N/T' is
+     still available.
+   etc. see NEWS.txt
+
+-------------------------------------------------------------------
+Mon Dec 31 14:25:31 UTC 2012 - pgaj...@suse.com
+
+- updated to 2.17.9:
+  * The `\clef' command supports optional octavation:
+
+          \clef "treble_(8)"
+          c2 c
+          \clef "bass^[15]"
+          c2 c
+   * The LilyPond syntax of dot-separated words `Voice.Accidental' has
+     been made interchangeable with `#'(Voice Accidental)', a Scheme
+     list of symbols.  As one result, code like
++++ 866 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.lilypond.2459.new/lilypond.changes

New:
----
  lilypond-2.18.0.tar.gz
  lilypond-doc.changes
  lilypond-doc.spec
  lilypond.changes
  lilypond.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lilypond-doc.spec ++++++
#
# spec file for package lilypond-doc
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


#%%define info yes

Name:           lilypond-doc
%define ver     2.18
%define plevel  0
Version:        %{ver}.%{plevel}
Release:        0
BuildRequires:  autoconf
BuildRequires:  autotrace
BuildRequires:  bison
BuildRequires:  dblatex
BuildRequires:  dejavu
BuildRequires:  fdupes
BuildRequires:  flex
BuildRequires:  fontconfig-devel >= 2.4.0
BuildRequires:  fontforge-devel
BuildRequires:  freetype2-devel >= 2.1.10
BuildRequires:  gcc-c++
BuildRequires:  gentium
BuildRequires:  gettext-tools
BuildRequires:  ghostscript-fonts-other
#BuildRequires:  ghostscript-fonts-rus
BuildRequires:  ghostscript-fonts-std
BuildRequires:  ghostscript-library >= 8.60
BuildRequires:  guile1 >= 1.8.2
BuildRequires:  gzip
BuildRequires:  libgnutls-devel
BuildRequires:  libguile1-devel >= 1.8.2
BuildRequires:  libtool
BuildRequires:  lndir
BuildRequires:  mftrace
BuildRequires:  pango-devel >= 1.12
BuildRequires:  perl
BuildRequires:  python-devel >= 2.4
BuildRequires:  t1utils
BuildRequires:  texlive-lh
BuildRequires:  texlive-metapost
BuildRequires:  zip

BuildRequires:  ImageMagick-extra
BuildRequires:  netpbm
BuildRequires:  rsync
BuildRequires:  texinfo

BuildRequires:  fonts-arabic
BuildRequires:  ifntjapa
BuildRequires:  lilypond = %{version}
BuildRequires:  ttf-wqy-zenhei
BuildRequires:  xfntjp
BuildRequires:  xorg-x11-fonts
Requires:       lilypond = %{version}
Provides:       lilypond-documentation = %{version}
Obsoletes:      lilypond-documentation < %{version}
Summary:        Documentation for the lilypond typesetter
License:        GFDL-1.3
Group:          Documentation/HTML
BuildArch:      noarch
Url:            http://lilypond.org/
Source0:        
http://download.linuxaudio.org/lilypond/sources/v%{ver}/lilypond-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %install_info_prereq /usr/bin/touch /usr/bin/sed

%description 
LilyPond is a music typesetter, an automated engraving system.  It
produces beautiful sheet music using a high level description file as input.

LilyPond supports many forms of music notation constructs, including
chord names, drum notation, figured bass, grace notes, guitar tablature,
modern notation (cluster notation and rhythmic grouping), tremolos,
(nested) tuplets in arbitrary ratios, and more.

LilyPond's text-based music input language support can integrate into
LaTeX, HTML and Texinfo seamlessly, allowing single sheet music
or musicological treatises to be written from a single source.  Form and
content are separate, and with LilyPond's expert automated formatting,
users don't need typographical expertise to produce good notation.

LilyPond produces PDF, PostScript, SVG, or TeX printed output, as well
as MIDI for listening pleasures.  LilyPond is exported from the
RoseGarden and NoteEdit GUIs, and can import ABC, ETF and MIDI.

Documentation files for the GNU LilyPond music typesetter.

LilyPond is part of the GNU Project.

%global rlversion %{version}
%define usrsrcp %{buildroot}

%define _configure ./smart-configure.sh

##    ln -sf ../%%{name}/%%{rlversion}/ls-R lilypond-snippets \
#      rm -f lilypond-snippets.gz; \
#      ln -sf ../doc/packages/lilypond/html/input/lsr lilypond-snippets) \

%prep
%setup -q -n lilypond-%{version}
# Convert translations to UTF-8
for file in $(grep -L charset=UTF-8 po/*.po) ; do
    msgconv -t UTF-8 $file >$file.new
    mv $file.new $file
done
mkdir -p out/examples/
tar -cf - input/  | tar -C out/examples/ -xf- || true

%define _buildir $PWD

%build

# export GS_LIB="/home/$USER/.fonts" is a work around for bnc#568280
#export GS_LIB="/home/$USER/.fonts:%{_buildir}/mf/out"
export CFLAGS="-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -ggdb"
%if 0%{?suse_version} == 1210
export CFLAGS="$CFLAGS -fno-optimize-sibling-calls"
%endif
export GUILE_AUTO_COMPILE=0
export CFLAGS="$RPM_OPT_FLAGS -ggdb -fpermissive -fabi-version=4"
export CXXFLAGS="$CFLAGS"
export LILYPOND_EXTERNAL_BINARY="%{_bindir}/lilypond"
export LILYPOND_BINARY=$LILYPOND_EXTERNAL_BINARY
%configure --with-ncsb-dir=%{_datadir}/ghostscript/fonts/
./smart-autogen.sh --noconfigure
# build documentation
echo "*********************************"
echo "* Start the documentation build *"
echo "*********************************"
pushd Documentation
LILYPOND_EXTERNAL_BINARY="%{_bindir}/lilypond" 
LILYPOND_BINARY=$LILYPOND_EXTERNAL_BINARY make -e %{?jobs:-j%jobs 
CPU_COUNT=%jobs} doc \
|| (lndir  -ignorelinks out-www/notation . && \
LILYPOND_EXTERNAL_BINARY="%{_bindir}/lilypond" 
LILYPOND_BINARY=$LILYPOND_EXTERNAL_BINARY make %{?jobs:-j%jobs CPU_COUNT=%jobs} 
doc)
popd
make out=www WWW-post

%install
mkdir -p "%{buildroot}%{_datadir}/lilypond/%{rlversion}"

# install documentation
make install-doc DESTDIR=%{buildroot} webdir=%{_docdir}/lilypond

cp -a COPYING LICENSE LICENSE.DOCUMENTATION \
  DEDICATION HACKING ROADMAP AUTHORS.txt NEWS.txt \
  VERSION \
  %{buildroot}%{_docdir}/lilypond

find %{buildroot}%{_docdir}/lilypond -name *.signature -exec rm {} \;

# Fix any .py files with shebangs and wrong permissions.
if test -z `find %{buildroot}%{_datadir}/lilypond/ -name *.py -perm 0644 
-print0|xargs -0r grep -l '#!'`; \
then break;
else chmod -f 0755 `find %{buildroot}%{_datadir}/lilypond/ -name *.py -perm 
0644 -print0|xargs -0r grep -l '#!'`; \
fi
LILYPOND_EXTERNAL_BINARY=/usr/bin/lilypond
%find_lang lilypond
texhash %{buildroot}%{_datadir}/lilypond/%{rlversion}
find %{buildroot}%{_docdir}/lilypond/ -type f -empty -delete -print
%fdupes -s %{buildroot}%{_docdir}
%fdupes -s %{buildroot}%{_datadir}/omf
%fdupes -s %{buildroot}%{_datadir}/locale

# remove the symlink to recreate it later - brp-* scripts on old distros are 
broken, so we can't even have a %%ghost ;(
rm %{buildroot}%{_infodir}/lilypond

# && rm -f lilypond-snippets && ln -sf ../doc/packages/%%{name}/html/input/lsr 
lilypond-snippets)

%post
rm %{_infodir}/lilypond || :
ln -s %{_docdir}/lilypond/Documentation %{_infodir}/lilypond
%install_info --info-dir=%{_infodir} %{_infodir}/lilypond

%postun
rm -f %{_infodir}/lilypond

%files
%defattr(-,root,root)
%dir %{_datadir}/omf/lilypond
%dir %{_datadir}/omf
%{_datadir}/omf/lilypond/*
%{_docdir}/lilypond
%dir %{_docdir}/lilypond
%{_docdir}/lilypond/*
%exclude %{_docdir}/lilypond/LICENSE
%exclude %{_docdir}/lilypond/LICENSE.DOCUMENTATION
%exclude %{_docdir}/lilypond/COPYING
%exclude %{_docdir}/lilypond/DEDICATION
%exclude %{_docdir}/lilypond/HACKING
%exclude %{_docdir}/lilypond/ROADMAP
%exclude %{_docdir}/lilypond/VERSION
%exclude %{_docdir}/lilypond/AUTHORS.txt
%exclude %{_docdir}/lilypond/NEWS.txt
%exclude  %{_docdir}/lilypond/server.el.patch
%exclude %{_infodir}/*.gz
%exclude %{_datadir}/lilypond/%{rlversion}/ls-R

%changelog
++++++ lilypond.spec ++++++
#
# spec file for package lilypond
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define fontdir %{_datadir}/fonts
%define ttfdir  %{fontdir}/truetype

Name:           lilypond
%define ver     2.18
%define plevel  0
Version:        %{ver}.%{plevel}
Release:        0
Summary:        A typesetting system for music notation
License:        GPL-3.0+
Group:          Productivity/Publishing/Other

Url:            http://www.lilypond.org
Source0:        
http://download.linuxaudio.org/lilypond/sources/v%{ver}/lilypond-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Requires:       ghostscript >= 8.15
Requires:       lilypond-century-schoolbook-l-fonts = %{version}
Requires:       lilypond-emmentaler-fonts = %{version}

BuildRequires:  ImageMagick
BuildRequires:  autotrace
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  fontforge
BuildRequires:  gcc-c++
BuildRequires:  gettext
BuildRequires:  ghostscript >= 8.15
BuildRequires:  ghostscript-fonts-std
BuildRequires:  libguile1-devel >= 1.8
BuildRequires:  mftrace >= 1.1.19
BuildRequires:  python-devel >= 2.4.0
BuildRequires:  rsync
BuildRequires:  t1utils
BuildRequires:  texi2html
BuildRequires:  texinfo >= 4.8
%if %suse_version > 1220
BuildRequires:  dblatex
BuildRequires:  makeinfo
BuildRequires:  texlive-extratools
BuildRequires:  texlive-latex
BuildRequires:  texlive-lh
BuildRequires:  texlive-metafont
BuildRequires:  texlive-metapost
%else
BuildRequires:  texlive
BuildRequires:  texlive-bin
BuildRequires:  texlive-bin-tools
BuildRequires:  texlive-latex
BuildRequires:  texlive-metapost
%endif
BuildRequires:  vim-base
BuildRequires:  zip
BuildRequires:  pkgconfig(pango) >= 1.12.0

%description
LilyPond is an automated music engraving system. It formats music
beautifully and automatically, and has a friendly syntax for its input
files.

%package century-schoolbook-l-fonts
Summary:        Lilypond Century Schoolbook L fonts
Group:          System/X11/Fonts
Requires:       lilypond-fonts-common = %{version}
BuildArch:      noarch

%description century-schoolbook-l-fonts
LilyPond is an automated music engraving system. It formats music
beautifully and automatically, and has a friendly syntax for its input
files.

These are the Century Schoolbook L fonts included in the package.

%package emmentaler-fonts
Summary:        Lilypond emmentaler fonts
Group:          System/X11/Fonts
Requires:       lilypond-fonts-common = %{version}
BuildArch:      noarch

%description emmentaler-fonts
LilyPond is an automated music engraving system. It formats music
beautifully and automatically, and has a friendly syntax for its input
files.

These are the emmentaler fonts included in the package.

%package fonts-common
Summary:        Lilypond fonts common dir
Group:          System/X11/Fonts
BuildArch:      noarch

%description fonts-common
LilyPond is an automated music engraving system. It formats music
beautifully and automatically, and has a friendly syntax for its input
files.

This contains the directory common to all lilypond fonts.

%prep
%setup -q

%build
%configure --without-kpathsea --disable-checking \
        --with-ncsb-dir=%{_datadir}/ghostscript/fonts/
make

%install
make install DESTDIR=%{buildroot} package_infodir=%{_infodir} \
        vimdir=%{_datadir}/vim/vim73

chmod +x %{buildroot}%{_libdir}/%{name}/%{version}/python/midi.so

# Symlink lilypond-init.el in emacs' site-start.d directory
pushd %{buildroot}%{_datadir}/emacs/site-lisp
mkdir site-start.d
ln -s ../lilypond-init.el site-start.d
popd

# Change encoding to UTF8
pushd %{buildroot}%{_infodir}
iconv -f iso-8859-1 -t utf-8 music-glossary.info > music-glossary.info.utf8
mv music-glossary.info.utf8 music-glossary.info
sed -e s,lilypond/,, -i *.info
popd

rm -f %{buildroot}%{_infodir}/dir

%find_lang %{name}

mkdir -p %{buildroot}%{ttfdir}
mv %{buildroot}%{_datadir}/lilypond/%{version}/fonts/otf/*.otf 
%{buildroot}%{ttfdir}
rmdir %{buildroot}%{_datadir}/lilypond/%{version}/fonts/otf
ln -s %{ttfdir} %{buildroot}%{_datadir}/lilypond/%{version}/fonts/otf

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS.txt COPYING DEDICATION HACKING LICENSE*
%doc NEWS.txt README.txt ROADMAP VERSION
%{_bindir}/*
%{_libdir}/lilypond
%{_datadir}/lilypond
%{_datadir}/emacs/site-lisp
%{_datadir}/vim/vim*
%{_infodir}/*.gz
%{_mandir}/man1/*

%files century-schoolbook-l-fonts
%defattr(-,root,root,-)
%{ttfdir}/CenturySchL*otf

%files emmentaler-fonts
%defattr(-,root,root,-)
%{ttfdir}/emmentaler*otf

%files fonts-common
%defattr(-,root,root,-)
%doc COPYING
%defattr(0644,root,root,0755)
%dir %{ttfdir}

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to