File TuxWordSmith-dictionaries.spec of Package TuxWordSmith-dictionaries
#
# spec file for package TuxWordSmith-dictionaries
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
Name: TuxWordSmith-dictionaries
Summary: Localized dictionaries for TuxWordSmith
Version: 0.6.6
Release: 1
License: GPLv2
Group: Amusements/Games
Url: http://www.asymptopia.org/staticpages/index.php?page=TuxWordSmith
Vendor: openSUSE-Education
BuildArch: noarch
Source0: English-Brazilian-Portuguese.tar.bz2
Source1: Czech-English.tar.bz2
Source2: English-German.tar.bz2
Source3: English-Turkish.tar.bz2
Source4: Spanish-Castillian-English.tar.bz2
Source5: Russian-Finnish.tar.bz2
Source6: Turkish-English.tar.bz2
Source7: Russian-German.tar.bz2
Source8: Russian-English.tar.bz2
Source9: Polish-English.tar.bz2
Source10: Italian-Russian-Zorko.tar.bz2
Source11: Italian-English.tar.bz2
Source12: German-Hungarian.tar.bz2
Source13: German-Russian.tar.bz2
Requires: TuxWordSmith >= 0.6.6
Requires: TuxWordSmith-dictionary = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1020
BuildRequires: fdupes
%endif
%define TuxWordSmithdir /var/games/TuxWordSmith
%define installdir %{TuxWordSmithdir}/xdxf
%description
These are localized dictionaries for TuxWordSmith.
%package cz-en
Summary: Dictionary for Czech-English
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:cz)
Provides: locale(TuxWordSmith:en)
%description cz-en
This package contains a localized dictionary for Czech-English.
%files cz-en
%defattr (-,root,root,-)
%{installdir}/Czech-English
#----------------------------------------------------------------------
%package en-pt_BR
Summary: Dictionary for English-Brazilian-Portuguese
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:pt_BR)
Provides: locale(TuxWordSmith:en)
%description en-pt_BR
This package contains a localized dictionary for English-Brazilian-Portuguese.
%files en-pt_BR
%defattr (-,root,root,-)
%{installdir}/English-Brazilian-Portuguese
#----------------------------------------------------------------------
%package en-de
Summary: Dictionary for English-German
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:en)
Provides: locale(TuxWordSmith:de)
%description en-de
This package contains a localized dictionary for English-Brazilian-Portuguese.
%files en-de
%defattr (-,root,root,-)
%{installdir}/English-German
#----------------------------------------------------------------------
%package en-tr
Summary: Dictionary for English-Turkish
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:en)
Provides: locale(TuxWordSmith:tr)
%description en-tr
This package contains a localized dictionary for English-Turkish.
%files en-tr
%defattr (-,root,root,-)
%{installdir}/English-Turkish
#----------------------------------------------------------------------
%package ru-de
Summary: Dictionary for Russian-German
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:de)
Provides: locale(TuxWordSmith:ru)
%description ru-de
This package contains a localized dictionary for Russian-German.
%files ru-de
%defattr (-,root,root,-)
%{installdir}/Russian-German
#----------------------------------------------------------------------
%package ru-en
Summary: Dictionary for Russian-English
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:en)
Provides: locale(TuxWordSmith:ru)
%description ru-en
This package contains a localized dictionary for Russian-English.
%files ru-en
%defattr (-,root,root,-)
%{installdir}/Russian-English
#----------------------------------------------------------------------
%package it-ru
Summary: Dictionary for Italian-Russian-Zorko
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:it)
Provides: locale(TuxWordSmith:ru)
%description it-ru
This package contains a localized dictionary for Italian-Russian-Zorko.
%files it-ru
%defattr (-,root,root,-)
%{installdir}/Italian-Russian-Zorko
#----------------------------------------------------------------------
%package pl-en
Summary: Dictionary for Polish-Englishh
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:en)
Provides: locale(TuxWordSmith:pl)
%description pl-en
This package contains a localized dictionary for Polish-English.
%files pl-en
%defattr (-,root,root,-)
%{installdir}/Polish-English
#----------------------------------------------------------------------
%package it-en
Summary: Dictionary for Italian-English
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:it)
Provides: locale(TuxWordSmith:en)
%description it-en
This package contains a localized dictionary for Italian-English.
%files it-en
%defattr (-,root,root,-)
%{installdir}/Italian-English
#----------------------------------------------------------------------
%package de-hu
Summary: Dictionary for German-Hungarian
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:de)
Provides: locale(TuxWordSmith:hu)
%description de-hu
This package contains a localized dictionary for German-Hungarian.
%files de-hu
%defattr (-,root,root,-)
%{installdir}/German-Hungarian
#----------------------------------------------------------------------
%package de-ru
Summary: Dictionary for German-Russian
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:de)
Provides: locale(TuxWordSmith:ru)
%description de-ru
This package contains a localized dictionary for German-Russian.
%files de-ru
%defattr (-,root,root,-)
%{installdir}/German-Russian
#----------------------------------------------------------------------
%package ru-fi
Summary: Dictionary for Russian-Finnish
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:fi)
Provides: locale(TuxWordSmith:ru)
%description ru-fi
This package contains a localized dictionary for Russian-Finnish.
%files ru-fi
%defattr (-,root,root,-)
%{installdir}/Russian-Finnish
#----------------------------------------------------------------------
%package es-en
Summary: Dictionary for Spanish-Castillian-English
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:es)
Provides: locale(TuxWordSmith:en)
%description es-en
This package contains a localized dictionary for Spanish-Castillian-English.
%files es-en
%defattr (-,root,root,-)
%{installdir}/Spanish-Castillian-English
#----------------------------------------------------------------------
%package tr-en
Summary: Dictionary for Turkish-English
Group: Amusements/Teaching/Other
Provides: TuxWordSmith-dictionary = %version-%release
Provides: locale(TuxWordSmith:tr)
Provides: locale(TuxWordSmith:en)
%description tr-en
This package contains a localized dictionary for Turkish-English.
%files tr-en
%defattr (-,root,root,-)
%{installdir}/Turkish-English
%prep
%setup -q -T -c TuxWordSmith-dictionaries-%version -a0 -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13
%build
%install
install -d %buildroot%{TuxWordSmithdir}
cp -r * %buildroot%{TuxWordSmithdir}/
%if 0%{?suse_version} > 1020
%fdupes -s %buildroot
%endif
%clean
rm -rf %buildroot
%files
%defattr(-, root, root, -)
%dir %{TuxWordSmithdir}
%dir %{installdir}
%changelog