ispell-slovak/ispell-slovak.spec

68 lines
2.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ispell-slovak
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ispell-slovak
BuildRequires: ispell
Version: 0.3.2
Release: 0
Summary: Slovak Ispell Dictionary
License: GPL-2.0+
Group: Productivity/Text/Spell
Url: http://sk-spell.sk.cx/?id=4
Source: ispell-sk-%{version}.tar.bz2
Source1: slovak.el
Patch: ispell-sk-%{version}-installdir.patch
Patch1: ispell-sk-%{version}-encoding_readme.patch.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: ispell_dictionary islovak
Obsoletes: islovak
Provides: locale(ispell:sk)
%description
This packages includes a ready Slovak dictionary for ispell. A short
usage description for ispell is given in
/usr/share/doc/packages/ispell/README of the packages ispell. The
sources for this dictionary are included in the package dicts.
%prep
%setup -n ispell-sk-%{version}
# fix permissions
chmod 755 $RPM_BUILD_DIR/ispell-sk-%{version}
chmod 644 ./*
#
%patch
%patch1
#
install -m 644 %{S:1} .
%build
make
%install
make DESTDIR="$RPM_BUILD_ROOT" install
#
install -m 755 -d $RPM_BUILD_ROOT/usr/lib/ispell/emacs
install -m 644 slovak.el $RPM_BUILD_ROOT/usr/lib/ispell/emacs/
%files
%defattr(-,root,root)
%doc AUTHORS CHANGELOG COPYING Copyright Descript.ion README* TODO
/usr/lib/ispell/slovak.*
/usr/lib/ispell/emacs/slovak.el
%changelog