Hello community, here is the log from the commit of package lilypond for openSUSE:Factory checked in at 2014-12-16 14:49:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lilypond (Old) and /work/SRC/openSUSE:Factory/.lilypond.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lilypond" Changes: -------- --- /work/SRC/openSUSE:Factory/lilypond/lilypond-doc.changes 2014-12-01 14:00:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lilypond.new/lilypond-doc.changes 2014-12-16 14:49:52.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Dec 10 11:44:28 UTC 2014 - pgaj...@suse.com + +- split lilypond-doc [bnc#908078] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lilypond-doc.spec ++++++ --- /var/tmp/diff_new_pack.nxlmyp/_old 2014-12-16 14:49:54.000000000 +0100 +++ /var/tmp/diff_new_pack.nxlmyp/_new 2014-12-16 14:49:54.000000000 +0100 @@ -16,8 +16,6 @@ # -#%%define info yes - Name: lilypond-doc %define ver 2.18 %define plevel 2 @@ -69,7 +67,7 @@ Requires: lilypond = %{version} Provides: lilypond-documentation = %{version} Obsoletes: lilypond-documentation < %{version} -Summary: Documentation for the lilypond typesetter +Summary: Documentation for the LilyPond Typesetter License: GFDL-1.3 Group: Documentation/HTML BuildArch: noarch @@ -79,36 +77,84 @@ 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. +Common and english documentation files for the GNU LilyPond music typesetter. %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) \ +%package cs +Summary: Documentation for the LilyPond Typesetter (cs) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description cs +Czech documentation files for the GNU LilyPond music typesetter. + +%package de +Summary: Documentation for the LilyPond Typesetter (de) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description de +German documentation files for the GNU LilyPond music typesetter. + +%package es +Summary: Documentation for the LilyPond Typesetter (es) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description es +Spanish documentation files for the GNU LilyPond music typesetter. + +%package fr +Summary: Documentation for the LilyPond Typesetter (fr) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description fr +French documentation files for the GNU LilyPond music typesetter. + +%package hu +Summary: Documentation for the LilyPond Typesetter (hu) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description hu +Hungary documentation files for the GNU LilyPond music typesetter. + +%package it +Summary: Documentation for the LilyPond Typesetter (it) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description it +Italian documentation files for the GNU LilyPond music typesetter. + +%package ja +Summary: Documentation for the LilyPond Typesetter (ja) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description ja +Japanese documentation files for the GNU LilyPond music typesetter. + +%package nl +Summary: Documentation for the LilyPond Typesetter (nl) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description nl +Dutch documentation files for the GNU LilyPond music typesetter. + +%package zh +Summary: Documentation for the LilyPond Typesetter (zh) +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description zh +Chinese documentation files for the GNU LilyPond music typesetter. %prep %setup -q -n lilypond-%{version} @@ -142,6 +188,7 @@ echo "* Start the documentation build *" echo "*********************************" pushd Documentation +# Don't build documentation paralelly. It fails randomly. LILYPOND_EXTERNAL_BINARY="%{_bindir}/lilypond" LILYPOND_BINARY=$LILYPOND_EXTERNAL_BINARY make -e doc \ || (lndir -ignorelinks out-www/notation . && \ LILYPOND_EXTERNAL_BINARY="%{_bindir}/lilypond" LILYPOND_BINARY=$LILYPOND_EXTERNAL_BINARY make doc) @@ -150,17 +197,14 @@ %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; @@ -173,11 +217,38 @@ %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) +# remove info pages, they are part of lilypond package +rm %{buildroot}%{_infodir}/* +# create file lists for individual subpackages +for f in `find %{buildroot}/%{_datadir}`; do + for l in cs de es fr hu it ja nl zh; do + if [[ $f =~ \.$l\. ]]; then + if [ -d $f ]; then + f="%%dir $f" + fi + echo "$f" | sed "s:%{buildroot}/::" >> files-$l + f="" + break + fi + done + + if [ -z $f ]; then + continue + fi + + if [ -d $f ]; then + f="%%dir $f" + fi + echo "$f" | sed "s:%{buildroot}/::" >> files-en +done +for d in '.usr.share' '.usr.share.doc' '.usr.share.info' '.usr.share.doc.packages'; do + sed -i "/^%%dir $d$/d" files-en +done +for f in LICENSE LICENSE.DOCUMENTATION COPYING DEDICATION \ + HACKING ROADMAP VERSION AUTHORS.txt NEWS.txt; do + echo "%%exclude %{_docdir}/lilypond/$f" >> files-en +done +echo "%%exclude %{_datadir}/lilypond/%{rlversion}/ls-R" >> files-en %post rm %{_infodir}/lilypond || : @@ -187,24 +258,34 @@ %postun rm -f %{_infodir}/lilypond -%files +%files -f files-en +%defattr(-,root,root) + +%files cs -f files-cs +%defattr(-,root,root) + +%files de -f files-de +%defattr(-,root,root) + +%files es -f files-es +%defattr(-,root,root) + +%files fr -f files-fr +%defattr(-,root,root) + +%files hu -f files-hu +%defattr(-,root,root) + +%files it -f files-it +%defattr(-,root,root) + +%files ja -f files-ja +%defattr(-,root,root) + +%files nl -f files-nl +%defattr(-,root,root) + +%files zh -f files-zh %defattr(-,root,root) -%dir %{_datadir}/omf -%dir %{_datadir}/omf/lilypond -%{_datadir}/omf/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 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org