%define calligra_core_version %{version} %define koffice_obsoletes 1:2.3.4 Name: calligra-l10n Summary: Language files for calligra Summary(ja): Calligra 用の言語ファイル Version: 2.9.11 Release: 1%{?_dist_release} License: GPLv2+ Group: Applications/Productivity URL: http://www.calligra-suite.org/ Vendor: Project Vine Distribution: Vine Linux #Source1: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ar-%{version}.tar.xz #Source2: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-bg-%{version}.tar.xz Source3: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-bs-%{version}.tar.xz Source4: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ca-%{version}.tar.xz Source5: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ca@valencia-%{version}.tar.xz Source6: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-cs-%{version}.tar.xz Source7: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-da-%{version}.tar.xz Source8: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-de-%{version}.tar.xz Source9: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-el-%{version}.tar.xz Source10:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-en_GB-%{version}.tar.xz #Source11:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-eo-%{version}.tar.xz Source12:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-es-%{version}.tar.xz Source13:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-et-%{version}.tar.xz #Source14:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-eu-%{version}.tar.xz #Source15:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-fa-%{version}.tar.xz Source16:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-fi-%{version}.tar.xz Source17:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-fr-%{version}.tar.xz #Source18:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-fy-%{version}.tar.xz #Source19:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ga-%{version}.tar.xz Source20:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-gl-%{version}.tar.xz #Source21:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-he-%{version}.tar.xz Source22:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-hu-%{version}.tar.xz #Source23:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ia-%{version}.tar.xz Source24:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-it-%{version}.tar.xz Source25:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ja-%{version}.tar.xz Source26:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-kk-%{version}.tar.xz #Source27:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-km-%{version}.tar.xz #Source27:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-lv-%{version}.tar.xz #Source28:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ms-%{version}.tar.xz Source29:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-nb-%{version}.tar.xz #Source30:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-nds-%{version}.tar.xz #Source31:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ne-%{version}.tar.xz Source32:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-nl-%{version}.tar.xz Source33:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-pl-%{version}.tar.xz Source34:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-pt-%{version}.tar.xz Source35:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-pt_BR-%{version}.tar.xz Source36:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ru-%{version}.tar.xz #Source37:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-se-%{version}.tar.xz Source38:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sk-%{version}.tar.xz #Source39:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sl-%{version}.tar.xz #Source39:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sr-%{version}.tar.xz #Source40:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sr@Latn-%{version}.tar.xz Source40:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sv-%{version}.tar.xz #Source41:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ta-%{version}.tar.xz Source42:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-tr-%{version}.tar.xz Source43:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-uk-%{version}.tar.xz #Source44:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-wa-%{version}.tar.xz Source45:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-zh_CN-%{version}.tar.xz Source46:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-zh_TW-%{version}.tar.xz Source1000: subdirs-calligra-l10n ## upstreamable patches ## upstream patches BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: gettext BuildRequires: kdelibs4-devel BuildRequires: libxml2 %description %{summary}. %package ja Summary: Japanese language pack for calligra Summary(ja): Calligra の日本語サポートパッケージ Obsoletes: koffice-langpack-ja < %{koffice_obsoletes} Requires: calligra-core >= %{calligra_core_version} %description ja %{summary}. %package extra Summary: Language pack for calligra Summary(ja): Calligra の国際化サポートパッケージ(日本語以外) Group: Applications/Productivity Obsoletes: koffice-langpack < %{koffice_obsoletes} Obsoletes: koffice-langpack-extra < %{koffice_obsoletes} Requires: calligra-core >= %{calligra_core_version} %description extra Provides additional translations for calligra %prep %setup -T -c -q -n %{name}-%{version} for i in $(cat %{SOURCE1000}) ; do echo $i | grep -v '^#' && \ %{__xz} -dc %{_sourcedir}/calligra-l10n-$i-%{version}.tar.xz | tar -xf - done %build for calligra_lang in * ; do if [ -f $calligra_lang/CMakeLists.txt ]; then pushd $calligra_lang mkdir -p %{_target_platform} pushd %{_target_platform} %cmake \ -DCMAKE_BUILD_TYPE=release \ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ .. make %{?_smp_mflags} popd popd fi done %install for calligra_lang in * ; do if [ -f $calligra_lang/CMakeLists.txt ]; then make install/fast DESTDIR=%{buildroot} -C $calligra_lang/%{_target_platform} fi done ## unpackaged files rm -rfv %{buildroot}%{_datadir}/kde4/apps/koffice/autocorrect %files ja %defattr(-,root,root,-) %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/* %files extra #files bs %lang(bs) %{_datadir}/locale/bs/LC_MESSAGES/* #files ca %lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/* %lang(ca) %{_docdir}/HTML/ca/* #files ca-valencia %lang(ca@valencia) %{_datadir}/locale/ca@valencia/LC_MESSAGES/* #files cs %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/* #files da %lang(da) %{_datadir}/locale/da/LC_MESSAGES/* #files de %lang(de) %{_datadir}/locale/de/LC_MESSAGES/* %lang(de) %{_datadir}/kde4/apps/calligra/autocorrect/de.xml %lang(de) %{_docdir}/HTML/de/* #files el %lang(el) %{_datadir}/locale/el/LC_MESSAGES/* #files en_GB %lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/* #files es %lang(es) %{_datadir}/locale/es/LC_MESSAGES/* %lang(es) %{_docdir}/HTML/es/* #files et %lang(et) %{_datadir}/locale/et/LC_MESSAGES/* %lang(et) %{_docdir}/HTML/et/ #files eu #%lang(eu) %{_datadir}/locale/eu/LC_MESSAGES/* #files fi %lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/* #files fr %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/* %lang(fr) %{_docdir}/HTML/fr/* #files gl %lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/* #files hu %lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/* #files it %lang(it) %{_datadir}/locale/it/LC_MESSAGES/* %lang(it) %{_docdir}/HTML/it/* #files kk %lang(kk) %{_datadir}/locale/kk/LC_MESSAGES/* #files nb %lang(nb) %{_datadir}/kde4/apps/calligra/autocorrect/nb.xml %lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/* #files nds #%lang(nds) %{_datadir}/locale/nds/LC_MESSAGES/* #files nl %lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/* %lang(nl) %{_docdir}/HTML/nl/* #files pl %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/* #files pt %lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/* %lang(pt) %{_docdir}/HTML/pt/* #files pt_BR %lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/* %lang(pt_BR) %{_docdir}/HTML/pt_BR/* #files ru %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/* %lang(ru) %{_docdir}/HTML/ru/* #files sk %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/* #files sv %lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/* %lang(sv) %{_docdir}/HTML/sv/* #files tr %lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/* #files uk %lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/* %lang(uk) %{_docdir}/HTML/uk/* #files zh_CN %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/* #files zh_TW %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/* %changelog * Sun Jul 3 2016 Tomohiro "Tomo-p" KATO 2.9.11-1 - new upstream release. * Wed Jan 14 2015 Ryoichi INAGAKI 2.8.7-1 - based on koffice-langpack package * Sun Mar 27 2011 Ryoichi INAGAKI - 2.3.2-2 - Initial build for Vine Linux * Mon Feb 21 2011 Rex Dieter - 2:2.3.2-1 - 2.3.2 * Mon Feb 07 2011 Fedora Release Engineering - 2:2.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 26 2011 Rex Dieter - 2:2.3.1-1 - koffice-l10n-2.3.1 * Sat Nov 13 2010 Rex Dieter - 2:2.2.84-1 - koffice-l10n-2.2.84 (2.3beta4) * Sat Aug 21 2010 Rex Dieter - 2:2.2.2-1 - koffice-l10n-2.2.2 * Wed Jul 14 2010 Rex Dieter - 2:2.2.1-1 - koffice-l10n-2.2.1 * Mon May 24 2010 Rex Dieter - 2:2.2.0-1 - koffice-l10n-2.2.0 * Sat May 15 2010 Kevin Kofler - 2:2.1.91-2 - don't ship translations of the kivio documentation * Mon Apr 26 2010 Rex Dieter - 2:2.1.91-1 - koffice-l10n-2.1.91 * Tue Apr 06 2010 Rex Dieter - 2:2.1.82-1 - koffice-l10n-2.1.82 * Thu Mar 18 2010 Rex Dieter - 2:2.1.81-1 - koffice-l10n-2.1.81 * Thu Nov 26 2009 Kevin Kofler - 2:2.1.0-3 - fix Requires for -wa to include Epoch * Wed Nov 25 2009 Rex Dieter - 2:2.1.0-2 - Epoch++ (to trump F-12 branch) * Sat Nov 21 2009 Rex Dieter - 1:2.1.0-1 - koffice-l10n-2.1.0 * Fri Oct 23 2009 Rex Dieter - 1:2.0.91-2 - koffice-l10n-2.0.91 * Sat Oct 03 2009 Rex Dieter - 1:2.0.83-2 - main virtual subpkg - fix a fix missing %%defattr's * Sat Oct 03 2009 Rex Dieter - 1:2.0.83-1 - koffice-l10n-2.0.83 * Fri Sep 11 2009 Rex Dieter - 1:2.0.82-1 - koffice-l10n-2.0.82 * Wed Aug 26 2009 Rex Dieter - 1:2.0.81-1 - koffice-l10n-2.0.81 * Fri Jul 24 2009 Fedora Release Engineering - 1:2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun May 24 2009 Rex Dieter 1:2.0.0-1 - koffice-l10n-2.0.0 * Wed Apr 08 2009 Rex Dieter 1:1.9.99.0-1 - koffice-l10n-1.9.99.0 * Wed Feb 18 2009 Rex Dieter 1.9.98.6-1 - koffice-l10n-1.9.98.6 * Fri Jan 09 2009 Rex Dieter 1.9.98.5-1 - koffice-l10n-1.9.98.5 * Sun Dec 09 2007 Rex Dieter 1.6.3-2 - BR: kdelibs3-devel - License: GPLv2+ * Fri Jun 01 2007 Rex Dieter 1.6.3-1 - koffice-l10n-1.6.3 * Wed Feb 28 2007 Rex Dieter 1.6.2-1 - koffice-l10n-1.6.2 - drop %%dist * Fri Dec 01 2006 Rex Dieter 1.6.1-1 - koffice-l10n-1.6.1 - avoid file conflict (LC_MESSAGES/kdgantt.mo) with kde-i18n (kde bug #75096) * Sat Oct 21 2006 Andreas Bierfert 1.6.0-1 - version upgrade * Thu Aug 03 2006 Andreas Bierfert 1.5.2-1 - version upgrade - add zh_TW * Tue May 30 2006 Andreas Bierfert 1.5.1-1 - version upgrade * Sat Apr 22 2006 Andreas Bierfert 1.5.0-1 - version upgrade * Wed Feb 15 2006 Andreas Bierfert 1.4.2-2 - Rebuild for Fedora Extras 5 * Sat Oct 15 2005 Andreas Bierfert 1.4.2-1 - version upgrade - add eu * Sun Aug 14 2005 Andreas Bierfert 1.4.1-3 - add dist tag * Mon Aug 01 2005 Andreas Bierfert 1.4.1-2 - change Requires koffice-core from v-r to v only * Sun Jul 31 2005 Andreas Bierfert 1.4.1-1 - upgrade * Sun Jul 31 2005 Andreas Bierfert 1.4.0-2 - move all languages to one langpack srpm * Mon Jul 04 2005 Andreas Bierfert 1.4.0-1 - Split languages from koffice spec