hunspell-cop/hunspell-cop.spec
2008-11-10 22:52:16 +00:00

41 lines
883 B
RPMSpec

Name: hunspell-cop
Summary: Coptic hunspell dictionaries
Version: 0.2.0
Release: 1%{?dist}
Group: Applications/Text
Source: http://extensions.services.openoffice.org/files/793/1/dictionaries-cop.oxt
URL: http://www.moheb.de/coptic_oo.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
BuildRequires: hunspell-devel
Requires: hunspell
%description
Coptic hunspell dictionaries.
%prep
%setup -q -c
%build
tr -d '\r' < README.txt > README.txt.new
mv -f README.txt.new README.txt
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p cop_EG.* $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.txt license-gpl.txt
%{_datadir}/myspell/*
%changelog
* Thu Oct 30 2008 Caolan McNamara <caolanm@redhat.com> - 0.2.0-1
- initial version