Hello community, here is the log from the commit of package calligra-l10n.3632 for openSUSE:13.2:Update checked in at 2015-04-01 21:44:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.2:Update/calligra-l10n.3632 (Old) and /work/SRC/openSUSE:13.2:Update/.calligra-l10n.3632.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "calligra-l10n.3632" Changes: -------- New Changes file: --- /dev/null 2015-03-12 01:14:30.992027505 +0100 +++ /work/SRC/openSUSE:13.2:Update/.calligra-l10n.3632.new/calligra-l10n.changes 2015-04-01 21:44:33.000000000 +0200 @@ -0,0 +1,276 @@ +------------------------------------------------------------------- +Mon Mar 16 11:23:40 UTC 2015 - cgiboudeaux@gmx.com + +- Update to 2.9.1 + +------------------------------------------------------------------- +Tue Mar 3 07:36:28 UTC 2015 - cgiboudeaux@gmx.com + +- Update to 2.9.0 + +------------------------------------------------------------------- +Sun Sep 28 21:46:26 UTC 2014 - asterios.dramis@gmail.com + +- Update to 2.8.6. + +------------------------------------------------------------------- +Fri Jul 4 18:51:23 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 2.8.5 + +------------------------------------------------------------------- +Thu May 15 18:02:48 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 2.8.3 + +------------------------------------------------------------------- +Tue Apr 29 23:05:34 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 2.8.2 + +------------------------------------------------------------------- +Tue Mar 25 20:23:27 UTC 2014 - tittiatcoke@gmail.com + +- Update to 2.8.1 + +------------------------------------------------------------------- +Mon Mar 3 19:45:24 UTC 2014 - tittiatcoke@gmail.com + +- Update to 2.8.0 + +------------------------------------------------------------------- +Thu Nov 28 02:37:39 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to 2.7.5 + +------------------------------------------------------------------- +Fri Oct 18 00:22:17 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to 2.7.4 + +------------------------------------------------------------------- +Mon Sep 16 16:24:13 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to 2.7.3 + +------------------------------------------------------------------- +Fri Aug 23 18:58:43 UTC 2013 - asterios.dramis@gmail.com + +- Update to 2.7.2. + +------------------------------------------------------------------- +Tue Jul 16 22:00:40 UTC 2013 - cgiboudeaux@gmx.com + +- Update to 2.7.1 + +------------------------------------------------------------------- +Sat Jun 8 17:46:08 UTC 2013 - asterios.dramis@gmail.com + +- Update to 2.6.4. + +------------------------------------------------------------------- +Mon Apr 8 23:02:55 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to 2.6.3 + +------------------------------------------------------------------- +Thu Mar 14 11:05:03 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to 2.6.2 + +------------------------------------------------------------------- +Sat Feb 23 18:34:46 UTC 2013 - asterios.dramis@gmail.com + +- Update to 2.6.1. + +------------------------------------------------------------------- +Sat Feb 16 08:09:10 UTC 2013 - mailaender@opensuse.org + +- update to 2.6.0 + +------------------------------------------------------------------- +Mon Feb 4 17:14:52 UTC 2013 - elchevive@opensuse.org + +- update pt_BR description + +------------------------------------------------------------------- +Sat Jan 26 19:17:45 UTC 2013 - asterios.dramis@gmail.com + +- Update to 2.5.5. +- Make the calligra-l10n-* packages require the respective calligra version. + +------------------------------------------------------------------- +Sun Nov 25 14:02:45 UTC 2012 - asterios.dramis@gmail.com + +- Update to 2.5.4. + +------------------------------------------------------------------- +Wed Oct 31 19:33:11 UTC 2012 - asterios.dramis@gmail.com + +- Update to 2.5.3. +- Removed work-around for bnc#457908 (not needed anymore). + +------------------------------------------------------------------- +Fri Sep 21 18:19:50 UTC 2012 - nico.kruber@gmail.com + +- Update to 2.5.2 + +------------------------------------------------------------------- +Tue Aug 14 09:12:37 UTC 2012 - nico.kruber@gmail.com + +- Update to 2.5.0 + +------------------------------------------------------------------- +Fri Jun 29 09:31:05 UTC 2012 - wstephenson@suse.com + +- Update to 2.4.3 + +------------------------------------------------------------------- +Wed Jun 6 21:24:55 UTC 2012 - asterios.dramis@gmail.com + +- Update to 2.4.2. + +------------------------------------------------------------------- +Tue Apr 24 08:28:22 UTC 2012 - wstephenson@suse.com + +- Update to 2.4.1 + +------------------------------------------------------------------- +Tue Apr 10 10:56:07 UTC 2012 - wstephenson@suse.com + +- Update to 2.4.0 + +------------------------------------------------------------------- +Fri Mar 23 12:10:42 UTC 2012 - wstephenson@suse.com + +- Update to 2.3.92 + +------------------------------------------------------------------- +Fri Feb 3 21:02:28 UTC 2012 - asterios.dramis@gmail.com + +- Update to 2.3.87. +- Removed calligra-l10n-en_GB-doc (empty package). + +------------------------------------------------------------------- +Wed Jan 11 22:40:24 UTC 2012 - asterios.dramis@gmail.com + +- Update to 2.3.86. + +------------------------------------------------------------------- +Sun Dec 18 19:51:30 UTC 2011 - asterios.dramis@gmail.com + +- Initial package for the new Calligra Suite (version 2.3.85). + +------------------------------------------------------------------- +Fri Sep 16 13:00:21 UTC 2011 - toddrme2178@gmail.com + +- Changed descriptions (fix for RPMLINT warning) +- Changed documentation summaries +- Changed license headers +- Added proper Valencian (ca@valencia) attributes +- Cleaned up spec file formatting + +------------------------------------------------------------------- +Tue Jan 18 12:55:30 UTC 2011 - wstephenson@novell.com + +- update to 2.3.1 + +------------------------------------------------------------------- +Thu Jan 6 02:23:47 UTC 2011 - abrouwers@gmail.com + +- update translations for koffice 2.3.0 + +------------------------------------------------------------------- +Mon Dec 6 15:38:31 UTC 2010 - wstephenson@novell.com + +- update to 2.2.91 translations + +------------------------------------------------------------------- +Thu Sep 16 16:55:24 CEST 2010 - dmueller@suse.de + +- update to 2.2.2 translations + +------------------------------------------------------------------- +Sat Jul 10 05:38:59 UTC 2010 - beineri@opensuse.org + +- update to 2.2.1 + ++++ 79 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:13.2:Update/.calligra-l10n.3632.new/calligra-l10n.changes New: ---- attributes calligra-l10n-bs-2.9.1.tar.xz calligra-l10n-ca-2.9.1.tar.xz calligra-l10n-ca@valencia-2.9.1.tar.xz calligra-l10n-cs-2.9.1.tar.xz calligra-l10n-da-2.9.1.tar.xz calligra-l10n-de-2.9.1.tar.xz calligra-l10n-el-2.9.1.tar.xz calligra-l10n-en_GB-2.9.1.tar.xz calligra-l10n-es-2.9.1.tar.xz calligra-l10n-et-2.9.1.tar.xz calligra-l10n-fi-2.9.1.tar.xz calligra-l10n-fr-2.9.1.tar.xz calligra-l10n-gl-2.9.1.tar.xz calligra-l10n-hu-2.9.1.tar.xz calligra-l10n-it-2.9.1.tar.xz calligra-l10n-ja-2.9.1.tar.xz calligra-l10n-kk-2.9.1.tar.xz calligra-l10n-nb-2.9.1.tar.xz calligra-l10n-nl-2.9.1.tar.xz calligra-l10n-pl-2.9.1.tar.xz calligra-l10n-pt-2.9.1.tar.xz calligra-l10n-pt_BR-2.9.1.tar.xz calligra-l10n-ru-2.9.1.tar.xz calligra-l10n-sk-2.9.1.tar.xz calligra-l10n-sv-2.9.1.tar.xz calligra-l10n-tr-2.9.1.tar.xz calligra-l10n-uk-2.9.1.tar.xz calligra-l10n-zh_CN-2.9.1.tar.xz calligra-l10n-zh_TW-2.9.1.tar.xz calligra-l10n.changes calligra-l10n.spec calligra-l10n.spec.in pre_checkin.sh update_spec.pl ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ calligra-l10n.spec ++++++ ++++ 661 lines (skipped) ++++++ attributes ++++++ license.calligra-l10n GPL-2.0+ license.calligra-l10n-bs LGPL-2.1+ license.calligra-l10n-ca LGPL-2.1+ license.calligra-l10n-ca-doc LGPL-2.1+ license.calligra-l10n-caValencia GPL-2.0+ license.calligra-l10n-cs LGPL-2.1+ license.calligra-l10n-da GPL-2.0+ license.calligra-l10n-de LGPL-2.1+ license.calligra-l10n-de-doc LGPL-2.1+ license.calligra-l10n-el LGPL-2.1+ license.calligra-l10n-en_GB LGPL-2.1+ license.calligra-l10n-es LGPL-2.1+ license.calligra-l10n-es-doc LGPL-2.1+ license.calligra-l10n-et LGPL-2.1+ license.calligra-l10n-et-doc LGPL-2.1+ license.calligra-l10n-eu LGPL-2.1+ license.calligra-l10n-fi LGPL-2.1+ license.calligra-l10n-fr LGPL-2.1+ license.calligra-l10n-fr-doc LGPL-2.1+ license.calligra-l10n-gl GPL-2.0+ license.calligra-l10n-gl-doc GPL-2.0+ license.calligra-l10n-hu LGPL-2.1+ license.calligra-l10n-it LGPL-2.1+ license.calligra-l10n-it-doc LGPL-2.1+ license.calligra-l10n-ja LGPL-2.1+ license.calligra-l10n-kk LGPL-2.1+ license.calligra-l10n-nb LGPL-2.1+ license.calligra-l10n-nds LGPL-2.1+ license.calligra-l10n-nl LGPL-2.1+ license.calligra-l10n-nl-doc LGPL-2.1+ license.calligra-l10n-pl LGPL-2.1+ license.calligra-l10n-pt LGPL-2.1+ license.calligra-l10n-pt-doc LGPL-2.1+ license.calligra-l10n-pt_BR LGPL-2.1+ license.calligra-l10n-pt_BR-doc LGPL-2.1+ license.calligra-l10n-ru LGPL-2.1+ license.calligra-l10n-ru-doc LGPL-2.1+ license.calligra-l10n-sk LGPL-2.1+ license.calligra-l10n-sl LGPL-2.1+ license.calligra-l10n-sv LGPL-2.1+ license.calligra-l10n-sv-doc LGPL-2.1+ license.calligra-l10n-tr LGPL-2.1+ license.calligra-l10n-uk LGPL-2.1+ license.calligra-l10n-uk-doc LGPL-2.1+ license.calligra-l10n-zh_CN LGPL-2.1+ license.calligra-l10n-zh_TW LGPL-2.1+ group.calligra-l10n System/Localization group.calligra-l10n-bs System/Localization group.calligra-l10n-ca System/Localization group.calligra-l10n-ca-doc System/Localization group.calligra-l10n-caValencia System/Localization group.calligra-l10n-cs System/Localization group.calligra-l10n-da System/Localization group.calligra-l10n-de System/Localization group.calligra-l10n-de-doc System/Localization group.calligra-l10n-el System/Localization group.calligra-l10n-en_GB System/Localization group.calligra-l10n-es System/Localization group.calligra-l10n-es-doc System/Localization group.calligra-l10n-et System/Localization group.calligra-l10n-et-doc System/Localization group.calligra-l10n-eu System/Localization group.calligra-l10n-fi System/Localization group.calligra-l10n-fr System/Localization group.calligra-l10n-fr-doc System/Localization group.calligra-l10n-gl System/Localization group.calligra-l10n-gl-doc System/Localization group.calligra-l10n-hu System/Localization group.calligra-l10n-it System/Localization group.calligra-l10n-it-doc System/Localization group.calligra-l10n-ja System/Localization group.calligra-l10n-kk System/Localization group.calligra-l10n-nb System/Localization group.calligra-l10n-nds System/Localization group.calligra-l10n-nl System/Localization group.calligra-l10n-nl-doc System/Localization group.calligra-l10n-pl System/Localization group.calligra-l10n-pt System/Localization group.calligra-l10n-pt-doc System/Localization group.calligra-l10n-pt_BR System/Localization group.calligra-l10n-pt_BR-doc System/Localization group.calligra-l10n-ru System/Localization group.calligra-l10n-ru-doc System/Localization group.calligra-l10n-sk System/Localization group.calligra-l10n-sl System/Localization group.calligra-l10n-sv System/Localization group.calligra-l10n-sv-doc System/Localization group.calligra-l10n-tr System/Localization group.calligra-l10n-uk System/Localization group.calligra-l10n-uk-doc System/Localization group.calligra-l10n-zh_CN System/Localization group.calligra-l10n-zh_TW System/Localization summary.calligra-l10n Translations for Calligra Suite summary.calligra-l10n-bs Bosnian Translations for Calligra Suite Applications summary.calligra-l10n-ca Catalan Translations for Calligra Suite Applications summary.calligra-l10n-ca-doc Catalan Translations for Calligra Suite Manuals summary.calligra-l10n-caValencia Valencian Translations for Calligra Suite Applications summary.calligra-l10n-cs Czech Translations for Calligra Suite Applications summary.calligra-l10n-da Danish Translations for Calligra Suite Applications summary.calligra-l10n-de German Translations for Calligra Suite Applications summary.calligra-l10n-de-doc German Translations for Calligra Suite Manuals summary.calligra-l10n-el Greek Translations for Calligra Suite Applications summary.calligra-l10n-en_GB English (UK) Translations for Calligra Suite Applications summary.calligra-l10n-es Spanish Translations for Calligra Suite Applications summary.calligra-l10n-es-doc Spanish Translations for Calligra Suite Manuals summary.calligra-l10n-et Estonian Translations for Calligra Suite Applications summary.calligra-l10n-et-doc Estonian Translations for Calligra Suite Manuals summary.calligra-l10n-eu Basque Translations for Calligra Suite Applications summary.calligra-l10n-fi Finnish Translations for Calligra Suite Applications summary.calligra-l10n-fr French Translations for Calligra Suite Applications summary.calligra-l10n-fr-doc French Translations for Calligra Suite Manuals summary.calligra-l10n-gl Galician Translations for Calligra Suite Applications summary.calligra-l10n-gl-doc Galician Translations for Calligra Suite Manuals summary.calligra-l10n-hu Hungarian Translations for Calligra Suite Applications summary.calligra-l10n-it Italian Translations for Calligra Suite Applications summary.calligra-l10n-it-doc Italian Translations for Calligra Suite Manuals summary.calligra-l10n-ja Japanese Translations for Calligra Suite Applications summary.calligra-l10n-kk Kazakh Translations for Calligra Suite Applications summary.calligra-l10n-nb Norwegian (Bokmaal) Translations for Calligra Suite Applications summary.calligra-l10n-nds Low Saxon Translations for Calligra Suite Applications summary.calligra-l10n-nl Dutch Translations for Calligra Suite Applications summary.calligra-l10n-nl-doc Dutch Translations for Calligra Suite Manuals summary.calligra-l10n-pl Polish Translations for Calligra Suite Applications summary.calligra-l10n-pt Portuguese Translations for Calligra Suite Applications summary.calligra-l10n-pt-doc Portuguese Translations for Calligra Suite Manuals summary.calligra-l10n-pt_BR Brazilian Portuguese Translations for Calligra Suite Applications summary.calligra-l10n-pt_BR-doc Brazilian Portuguese Translations for Calligra Suite Manuals summary.calligra-l10n-ru Russian Translations for Calligra Suite Applications summary.calligra-l10n-ru-doc Russian Translations for Calligra Suite Manuals summary.calligra-l10n-sk Slovak Translations for Calligra Suite Applications summary.calligra-l10n-sl Slovenian Translations for Calligra Suite Applications summary.calligra-l10n-sv Swedish Translations for Calligra Suite Applications summary.calligra-l10n-sv-doc Swedish Translations for Calligra Suite Manuals summary.calligra-l10n-tr Turkish Translations for Calligra Suite Applications summary.calligra-l10n-uk Ukrainian Translations for Calligra Suite Applications summary.calligra-l10n-uk-doc Ukrainian Translations for Calligra Suite Manuals summary.calligra-l10n-zh_CN Simplified Chinese Translations for Calligra Suite Applications summary.calligra-l10n-zh_TW Chinese Translations for Calligra Suite Applications +description.calligra-l10n Translations for Calligra Suite applications and manuals. -description.calligra-l10n +description.calligra-l10n-bs This package contains application translations for Calligra Suite in Bosnian. -description.calligra-l10n-bs +description.calligra-l10n-ca This package contains application translations for Calligra Suite in Catalan. -description.calligra-l10n-ca +description.calligra-l10n-ca-doc This package contains application manuals translations for Calligra Suite in Catalan. -description.calligra-l10n-ca-doc +description.calligra-l10n-caValencia This package contains application translations for Calligra Suite in Valencian. -description.calligra-l10n-caValencia +description.calligra-l10n-cs This package contains application translations for Calligra Suite in Czech. -description.calligra-l10n-cs +description.calligra-l10n-da This package contains application translations for Calligra Suite in Danish. -description.calligra-l10n-da +description.calligra-l10n-de This package contains application translations for Calligra Suite in German. -description.calligra-l10n-de +description.calligra-l10n-de-doc This package contains application manuals translations for Calligra Suite in German. -description.calligra-l10n-de-doc +description.calligra-l10n-el This package contains application translations for Calligra Suite in Greek. -description.calligra-l10n-el +description.calligra-l10n-en_GB This package contains application translations for Calligra Suite in English (UK). -description.calligra-l10n-en_GB +description.calligra-l10n-es This package contains application translations for Calligra Suite in Spanish. -description.calligra-l10n-es +description.calligra-l10n-es-doc This package contains application manuals translations for Calligra Suite in Spanish. -description.calligra-l10n-es-doc +description.calligra-l10n-et This package contains application translations for Calligra Suite in Estonian. -description.calligra-l10n-et +description.calligra-l10n-et-doc This package contains application manuals translations for Calligra Suite in Estonian. -description.calligra-l10n-et-doc +description.calligra-l10n-eu This package contains application translations for Calligra Suite in Basque. -description.calligra-l10n-eu +description.calligra-l10n-fi This package contains application translations for Calligra Suite in Finnish. -description.calligra-l10n-fi +description.calligra-l10n-fr This package contains application translations for Calligra Suite in French. -description.calligra-l10n-fr +description.calligra-l10n-fr-doc This package contains application manuals translations for Calligra Suite in French. -description.calligra-l10n-fr-doc +description.calligra-l10n-gl This package contains application translations for Calligra Suite in Galician. -description.calligra-l10n-gl +description.calligra-l10n-hu This package contains application translations for Calligra Suite in Hungarian. -description.calligra-l10n-hu +description.calligra-l10n-it This package contains application translations for Calligra Suite in Italian. -description.calligra-l10n-it +description.calligra-l10n-it-doc This package contains application manuals translations for Calligra Suite in Italian. -description.calligra-l10n-it-doc +description.calligra-l10n-ja This package contains application translations for Calligra Suite in Japanese. -description.calligra-l10n-ja +description.calligra-l10n-kk This package contains application translations for Calligra Suite in Kazakh. -description.calligra-l10n-kk +description.calligra-l10n-nb This package contains application translations for Calligra Suite in Norwegian (Bokmaal). -description.calligra-l10n-nb +description.calligra-l10n-nds This package contains application translations for Calligra Suite in Low Saxon. -description.calligra-l10n-nds +description.calligra-l10n-nl This package contains application translations for Calligra Suite in Dutch. -description.calligra-l10n-nl +description.calligra-l10n-nl-doc This package contains application manuals translations for Calligra Suite in Dutch. -description.calligra-l10n-nl-doc +description.calligra-l10n-pl This package contains application translations for Calligra Suite in Polish. -description.calligra-l10n-pl +description.calligra-l10n-pt This package contains application translations for Calligra Suite in Portuguese. -description.calligra-l10n-pt +description.calligra-l10n-pt-doc This package contains application manuals translations for Calligra Suite in Portuguese. -description.calligra-l10n-pt-doc +description.calligra-l10n-pt_BR This package contains application translations for Calligra Suite in Brazilian Portuguese. -description.calligra-l10n-pt_BR +description.calligra-l10n-pt_BR-doc This package contains application manuals translations for Calligra Suite in Brazilian Portuguese. -description.calligra-l10n-pt_BR-doc +description.calligra-l10n-ru This package contains application translations for Calligra Suite in Russian. -description.calligra-l10n-ru +description.calligra-l10n-ru-doc This package contains application manuals translations for Calligra Suite in Russian. -description.calligra-l10n-ru-doc +description.calligra-l10n-sk This package contains application translations for Calligra Suite in Slovak. -description.calligra-l10n-sk +description.calligra-l10n-sl This package contains application translations for Calligra Suite in Slovenian. -description.calligra-l10n-sl +description.calligra-l10n-sv This package contains application translations for Calligra Suite in Swedish. -description.calligra-l10n-sv +description.calligra-l10n-sv-doc This package contains application manuals translations for Calligra Suite in Swedish. -description.calligra-l10n-sv-doc +description.calligra-l10n-tr This package contains application translations for Calligra Suite in Turkish. -description.calligra-l10n-tr +description.calligra-l10n-uk This package contains application translations for Calligra Suite in Ukrainian. -description.calligra-l10n-uk +description.calligra-l10n-uk-doc This package contains application manuals translations for Calligra Suite in Ukrainian. -description.calligra-l10n-uk-doc +description.calligra-l10n-zh_CN This package contains application translations for Calligra Suite in Simplified Chinese. -description.calligra-l10n-zh_CN +description.calligra-l10n-zh_TW This package contains application translations for Calligra Suite in Chinese. -description.calligra-l10n-zh_TW ++++++ calligra-l10n.spec.in ++++++ # # spec file for package calligra-l10n # # 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 build_languages @LANGUAGES@ # When a package provides autocorrect files with name like "$1_$2" and installs them in a directory named "$1" # add the name "$1_$2" in the list below %define autocorrect_languages de_DE it_IT ru_RU uk_UA Name: calligra-l10n Version: 2.9.1 Release: 0 Summary: Translations for Calligra Suite License: GPL-2.0+ Group: System/Localization Url: http://www.calligra.org/ # - Do not modify calligra-l10n.spec directly, instead modify calligra-l10n.spec.in if needed # - When adding a new language, edit the "attributes" file to add it # - When a package adds/removes doc translations add/remove it also in the pre_checkin.sh script (above the splitdoc=true line) # - Execute "sh pre_checkin.sh" to check the changes #@SOURCES@ Source1000: update_spec.pl Source1001: attributes BuildRequires: fdupes BuildRequires: kdelibs4-doc BuildRequires: libkde4-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description description #@PACKAGES@ %prep %setup -q -n calligra-l10n-de-%{version} @EXTRACT@ %build cd .. for i in %{build_languages}; do pushd calligra-l10n-$i-%{version} || exit 1 %cmake_kde4 -d build %make_jobs popd done %install cd .. for i in %{build_languages}; do pushd calligra-l10n-$i-%{version}/build || exit 1 %kde4_makeinstall popd done for i in %{build_languages}; do filename=$i case $i in sr@Latn) filename=srLatn ;; ca@valencia) filename=caValencia ;; esac { echo "%defattr(-,root,root,-)" if [ "$i" = "bs" ]; then echo "%dir %{_datadir}/locale/bs" echo "%dir %{_datadir}/locale/bs/LC_MESSAGES" fi if test -d %{buildroot}%{_datadir}/locale/$i; then echo "%lang($i) %{_datadir}/locale/$i/LC_MESSAGES/*" fi if test -f %{buildroot}%{_kde4_appsdir}/calligra/autocorrect/$i.xml; then echo "%dir %{_kde4_appsdir}/calligra" echo "%dir %{_kde4_appsdir}/calligra/autocorrect" echo "%lang($i) %{_kde4_appsdir}/calligra/autocorrect/$i.xml" fi if test -f %{buildroot}%{_kde4_appsdir}/koffice/autocorrect/$i.xml; then echo "%dir %{_kde4_appsdir}/koffice" echo "%dir %{_kde4_appsdir}/koffice/autocorrect" echo "%lang($i) %{_kde4_appsdir}/koffice/autocorrect/$i.xml" fi } > files.$filename { echo "%defattr(-,root,root,-)" if test -d %{buildroot}%{_kde4_htmldir}/$i; then echo "%lang($i) %doc %{_kde4_htmldir}/$i" fi } > files.doc.$filename cat files.$filename files.doc.$filename > files.both.$filename done for i in %{autocorrect_languages}; do lang=`echo $i|cut -f1 -d"_"` { if test -f %{buildroot}%{_kde4_appsdir}/calligra/autocorrect/$i.xml; then echo "%dir %{_kde4_appsdir}/calligra" echo "%dir %{_kde4_appsdir}/calligra/autocorrect" echo "%lang($lang) %{_kde4_appsdir}/calligra/autocorrect/$i.xml" fi } >> files.$lang done %fdupes -s %{buildroot} #@FILES@ %changelog ++++++ pre_checkin.sh ++++++ #! /bin/sh nr="0" cp calligra-l10n.spec.in calligra-l10n.spec for lang in `ls -1 calligra-l10n*tar.xz | sed -n 's,calligra-l10n-\([^-]*\)-.*,\1,p'`; do languages="$languages $lang" done languages="`echo $languages | sed \"s,hne ,,"`" echo "languages are $languages" for lang in $languages; do if [ $nr -lt "10" ]; then sed -e "s,#@SOURCES@,Source$nr: ftp://ftp.kde.org/pub/kde/stable/calligra-%{version}/calligra-l10n/%{name}-$lang-%{version}.tar.xz\n#@SOURCES@," calligra-l10n.spec > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec elif [ $nr -ge "10" ]; then sed -e "s,#@SOURCES@,Source$nr: ftp://ftp.kde.org/pub/kde/stable/calligra-%{version}/calligra-l10n/%{name}-$lang-%{version}.tar.xz\n#@SOURCES@," calligra-l10n.spec > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec fi plang=$lang if test "$lang" = "sr@Latn"; then lang=srLatn plang=sr fi if test "$lang" = "ca@valencia"; then lang=caValencia plang=ca@valencia fi splitdoc= if test "$lang" = "ca" -o "$lang" = "de" -o "$lang" = "es" -o "$lang" = "et" -o "$lang" = "fr" -o "$lang" = "it" -o "$lang" = "nl" -o "$lang" = "pt" -o "$lang" = "pt_BR" -o "$lang" = "ru" -o "$lang" = "sv" -o "$lang" = "uk"; then splitdoc=true fi text="%package $lang\nSummary: Calligra Suite Translations for $lang\nLicense: GPL-2.0+\nGroup: System/GUI/KDE\nRequires: calligra = %{version}\nProvides: locale(calligra:$plang)\n\n%description $lang\n$lang\n" if test $splitdoc; then text="$text\n%package $lang-doc\nSummary: Calligra Suite Manuals in $lang\nLicense: GPL-2.0+\nGroup: System/GUI/KDE\nRequires: calligra = %{version}\nProvides: locale(calligra:$plang)\n\n%description $lang-doc\n$lang\n" fi sed -e "s,#@PACKAGES@,$text\n#@PACKAGES@," calligra-l10n.spec > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec if test $splitdoc; then sed -e "s,#@FILES@,%files $lang -f ../files.$lang\n\n%files $lang-doc -f ../files.doc.$lang\n\n#@FILES@," calligra-l10n.spec > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec else if test "$lang" = "hne"; then sed -e "s,#@FILES@,%files $lang -f ../files.both.$lang\n#@FILES@\n%if %suse_version<1120\n%defattr\(-\,root\,root\,-\)\n%dir /usr/share/locale/hne\n%dir /usr/share/locale/hne/LC_MESSAGES\n%endif," calligra-l10n.spec > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec else sed -e "s,#@FILES@,%files $lang -f ../files.both.$lang\n\n#@FILES@," calligra-l10n.spec > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec fi fi nr=$(( $nr + 1 )) done while [ $nr != "0" ]; do nr=$(( $nr - 1 )) extract="-b $nr $extract" done sed -e "s,@EXTRACT@,$extract," calligra-l10n.spec > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec sed -e "s,@LANGUAGES@,$languages," calligra-l10n.spec > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec perl update_spec.pl calligra-l10n.spec attributes > calligra-l10n.spec.tmp && mv calligra-l10n.spec.tmp calligra-l10n.spec ++++++ update_spec.pl ++++++ #! /usr/bin/perl my $name = $ARGV[0]; $name =~ s,.*/,,; $name =~ s,\.spec.*,,; my %attributes = (); open(FILE, $ARGV[1]) || die 'no attributes'; my $pack = undef; my $text = undef; while ( <FILE> ) { if (/^\+(.*)$/) { $pack = $1; $text = ''; next } if (/^-(.*)$/) { if ($pack ne $1) { die "$pack and $1 do not match"; } $text =~ s,^\s*,,; $text =~ s,\s*$,,; $attributes{$pack} = $text; $text = undef; $pack = undef; next; } if (defined $text) { $text .= $_; } elsif (/^(\S*)\s*(.*)$/) { my $attr = $1; my $string = $2; $string =~ s,^\s*,,; $string =~ s,\s*$,,; $attributes{$attr} = $string; } } close(FILE); open(FILE, $ARGV[0]); sub description() { if (/^%description\s*(.*)\s*/) { my $suffix = $1; my $pname = $name; if ($suffix =~ m/-n\s*(.*)/) { $pname = $1; } else { $pname = "$name-$suffix" if ($suffix); } if (defined $attributes{"description.$pname"}) { print $_; my $descr = $attributes{"description.$pname"}; print "$descr\n"; $_ = ''; do { $_ = <FILE>; } while ( $_ !~ /^%/ && $_ !~ /^@/ ); print "\n"; description(); } } } # current subpackage my $pname = $name; while ( <FILE> ) { if (/^Name:\s*(.*)/) { $name = $1; $pname = $1; } description(); if (/^%package\s*(.*)/) { my $suffix = $1; if ($suffix =~ m/-n\s*(.*)/) { $pname = $1; } else { $pname = "$name-$1"; } } if (/^(Summary:\s*)(.*)$/) { if (defined $attributes{"summary.$pname"}) { print $1 . $attributes{"summary.$pname"} ."\n"; next; } } if (/^(License:\s*)(.*)$/) { if (defined $attributes{"license.$pname"}) { print $1 . $attributes{"license.$pname"} ."\n"; next; } } if (/^(Group:\s*)(.*)$/) { if (defined $attributes{"group.$pname"}) { print $1 . $attributes{"group.$pname"} ."\n"; next; } } print $_; } close(FILE);