37 lines
869 B
RPMSpec
37 lines
869 B
RPMSpec
Name: hunspell-tpi
|
|
Summary: Tok Pisin hunspell dictionaries
|
|
Version: 0.05
|
|
Release: 1%{?dist}
|
|
Group: Applications/Text
|
|
Source: http://extensions.services.openoffice.org/e-files/4824/2/hunspell-tpi-%{version}.oxt
|
|
URL: http://extensions.services.openoffice.org/en/project/tok-pisin-spell-checker
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
License: GPLv3+
|
|
BuildArch: noarch
|
|
Requires: hunspell
|
|
|
|
%description
|
|
Tok Pisin hunspell dictionaries.
|
|
|
|
%prep
|
|
%setup -q -c
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
cp -p dictionaries/tpi_PG.* $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc dictionaries/README_tpi_PG.txt LICENSES-en.txt
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Sun Mar 20 2011 Caolán McNamara <caolanm@redhat.com> - 0.05-1
|
|
- initial version
|