File stardict-dictionaries-lt-likit.spec of Package stardict-dictionaries-lt-likit

# spec file for package stardict-dictionaries-lt
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

# norootforbuild

Name:           stardict-dictionaries-lt-likit
Summary:        LIKIT Lithuanian dictionaries for stardict
Version:        2.4.2
Release:        1
License:        NON-FREE
Group:          Productivity/Office/Dictionary
Provides:       locale(stardict:lt)
Vendor:         openSUSE-Education
BuildArch:      noarch
%if 0%{?suse_version} > 1020
Recommends:     stardict
Requires:       stardict
Source0:        stardict-LIKIT_EKZ_2008-2.4.2.tar.gz
Source1:        stardict-LIKIT_EKZ_priedas_en-lt-2.4.2.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define         stardict_dir %_datadir/stardict
%define         stardict_dic_dir %_datadir/stardict/dic

This package contains the Lithuanian dictionaries for stardict:
LIKIT Dictionary of Computer Terms with English-Lithuanian dictionary addon
  (© 2008 Valentina Dagienė, Gintautas Grigas, Tatjana Jevsikova)

%setup -q -T -c %name -a0 -a1 


mkdir -p %buildroot/%stardict_dic_dir
cp -a *  %buildroot/%stardict_dic_dir/

%__rm -rf %buildroot

%dir %stardict_dir
%dir %stardict_dic_dir