%define koffice_core_version 1:2.3.3 Name: koffice-langpack Summary: Language files for koffice Version: 2.3.2 Release: 2%{?_dist_release} Group: Applications/Productivity License: GPLv2+ URL: http://www.koffice.org BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch # borrowed from kdelibs' tarball, help with locale=Full Name mappings Source0: teamnames #Source1: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ar-%{version}.tar.bz2 #Source2: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-bg-%{version}.tar.bz2 #Source3: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-br-%{version}.tar.bz2 Source4: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ca-%{version}.tar.bz2 Source5: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ca@valencia-%{version}.tar.bz2 #Source6: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-cy-%{version}.tar.bz2 Source7: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-da-%{version}.tar.bz2 Source8: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-de-%{version}.tar.bz2 Source9: ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-el-%{version}.tar.bz2 Source10:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-en_GB-%{version}.tar.bz2 #Source11:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-eo-%{version}.tar.bz2 Source12:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-es-%{version}.tar.bz2 Source13:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-et-%{version}.tar.bz2 #Source14:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-eu-%{version}.tar.bz2 #Source15:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-fa-%{version}.tar.bz2 #Source16:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-fi-%{version}.tar.bz2 Source17:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-fr-%{version}.tar.bz2 #Source18:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-fy-%{version}.tar.bz2 #Source19:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ga-%{version}.tar.bz2 Source20:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-gl-%{version}.tar.bz2 #Source21:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-he-%{version}.tar.bz2 #Source22:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-hi-%{version}.tar.bz2 Source23:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-hu-%{version}.tar.bz2 Source24:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-it-%{version}.tar.bz2 Source25:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ja-%{version}.tar.bz2 Source26:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-kk-%{version}.tar.bz2 #Source27:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-km-%{version}.tar.bz2 #Source27:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-lv-%{version}.tar.bz2 #Source28:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ms-%{version}.tar.bz2 Source29:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-nb-%{version}.tar.bz2 Source30:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-nds-%{version}.tar.bz2 #Source31:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ne-%{version}.tar.bz2 Source32:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-nl-%{version}.tar.bz2 Source33:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-pl-%{version}.tar.bz2 Source34:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-pt-%{version}.tar.bz2 Source35:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-pt_BR-%{version}.tar.bz2 Source36:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ru-%{version}.tar.bz2 #Source37:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-se-%{version}.tar.bz2 #Source38:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-sk-%{version}.tar.bz2 #Source39:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-sl-%{version}.tar.bz2 #Source39:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-sr-%{version}.tar.bz2 #Source40:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-sr@Latn-%{version}.tar.bz2 Source40:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-sv-%{version}.tar.bz2 #Source41:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-ta-%{version}.tar.bz2 Source42:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-tr-%{version}.tar.bz2 Source43:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-uk-%{version}.tar.bz2 Source44:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-wa-%{version}.tar.bz2 Source45:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-zh_CN-%{version}.tar.bz2 Source46:ftp://ftp.kde.org/pub/kde/stable/koffice-%{version}/koffice-l10n/koffice-l10n-zh_TW-%{version}.tar.bz2 Source1000: subdirs-koffice-l10n ## upstreamable patches ## upstream patches BuildRequires: gettext BuildRequires: kdelibs4-devel BuildRequires: libxml2 Obsoletes: koffice-langpack-fy < 2:2.1.81-1 Obsoletes: koffice-langpack-hne < 2:2.1.91-1 %description Language files for koffice %package ja Summary: Japanese language pack for koffice Summary(ja): KOffice の日本語サポートパッケージ Group: Applications/Productivity Requires: koffice-core >= %{koffice_core_version} %description ja Provides additional Japanese translations for koffice. %package extra Summary: Language pack for koffice Summary(ja): KOffice の国際化サポートパッケージ(日本語以外) Group: Applications/Productivity Requires: koffice-core >= %{koffice_core_version} %description extra Provides additional translations for koffice. %prep %setup -T -c -q -n %{name}-%{version} for i in $(cat %{SOURCE1000}) ; do echo $i | grep -v '^#' && \ bzip2 -dc %{_sourcedir}/koffice-l10n-$i-%{version}.tar.bz2 | tar -xf - done # blacklist kivio docs, let koffice-kivio ship a matching version of them for koffice_lang in * ; do if [ -f $koffice_lang/docs/koffice/CMakeLists.txt ]; then sed -i -e 's/add_subdirectory( *kivio *)/#add_subdirectory(kivio)/g' $koffice_lang/docs/koffice/CMakeLists.txt fi done ## omit busted stuff %build for koffice_lang in * ; do if [ -f $koffice_lang/CMakeLists.txt ]; then pushd $koffice_lang mkdir -p %{_target_platform} pushd %{_target_platform} %cmake \ -DCMAKE_BUILD_TYPE=release \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ -DLIB_INSTALL_DIR:PATH=%{_libdir} \ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ .. make %{?_smp_mflags} popd popd fi done %install rm -rf %{buildroot} for koffice_lang in * ; do if [ -f $koffice_lang/CMakeLists.txt ]; then make install/fast DESTDIR=%{buildroot} -C $koffice_lang/%{_target_platform} fi done %clean rm -rf %{buildroot} %files ja %defattr(-,root,root,-) %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/* %files extra %defattr(-,root,root,-) # Catalan %lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/* %lang(ca) %{_docdir}/HTML/ca/* # Catalan (Valencian) %lang(ca@valencia) %{_datadir}/locale/ca@valencia/LC_MESSAGES/* # Danish %lang(da) %{_datadir}/locale/da/LC_MESSAGES/* %lang(da) %{_docdir}/HTML/da/* # German %lang(de) %{_datadir}/locale/de/LC_MESSAGES/* %lang(de) %{_docdir}/HTML/de/* # Greek %lang(el) %{_datadir}/locale/el/LC_MESSAGES/* # British English %lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/* # Spanish %lang(es) %{_datadir}/locale/es/LC_MESSAGES/* %lang(es) %{_docdir}/HTML/es/* # Estonian %lang(et) %{_datadir}/locale/et/LC_MESSAGES/* %lang(et) %{_docdir}/HTML/et/ # French %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/* %lang(fr) %{_docdir}/HTML/fr/* # Galician %lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/* %lang(gl) %{_docdir}/HTML/gl/* # Hungarian %lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/* # Italian %lang(it) %{_datadir}/locale/it/LC_MESSAGES/* %lang(it) %{_docdir}/HTML/it/* # Kazakh %lang(kk) %{_datadir}/locale/kk/LC_MESSAGES/* # Bokmal %lang(nb) %{_datadir}/kde4/apps/koffice/autocorrect/nb.xml %lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/* # Low Saxon %lang(nds) %{_datadir}/locale/nds/LC_MESSAGES/* # Dutch %lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/* %lang(nl) %{_docdir}/HTML/nl/* # Polish %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/* # Portuguese %lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/* %lang(pt) %{_docdir}/HTML/pt/* # Brazilian Portuguese %lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/* %lang(pt_BR) %{_docdir}/HTML/pt_BR/* # Russian %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/* %lang(ru) %{_docdir}/HTML/ru/* # Swedish %lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/* %lang(sv) %{_docdir}/HTML/sv/* # Turkish %lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/* # Ukrainian %lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/* %lang(uk) %{_docdir}/HTML/uk/* # Walloon %lang(wa) %{_datadir}/locale/wa/LC_MESSAGES/* # Simplified Chinese %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/* # Traditional Chinese %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/* %changelog * 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