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
Url:            http://www.likit.lt
Provides:       locale(stardict:lt)
Vendor:         openSUSE-Education
BuildArch:      noarch
%if 0%{?suse_version} > 1020
Recommends:     stardict
%else
Requires:       stardict
%endif
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


%description
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)

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

%build

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

%clean
%__rm -rf %buildroot

%files
%defattr(-,root,root)
%dir %stardict_dir
%dir %stardict_dic_dir
%stardict_dic_dir

%changelog