39 lines
904 B
RPMSpec
39 lines
904 B
RPMSpec
Name: hunspell-be
|
|
Summary: Belarusian hunspell dictionaries
|
|
Version: 0.1
|
|
Release: 1%{?dist}
|
|
Source: http://downloads.sourceforge.net/mozilla-be/belarusian_dictionary-%{version}-fx+tb+sm.xpi
|
|
Group: Applications/Text
|
|
URL: http://mozilla-be.sourceforge.net/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
License: GPL+
|
|
BuildArch: noarch
|
|
|
|
Requires: hunspell
|
|
|
|
%description
|
|
Belarusian hunspell dictionaries.
|
|
|
|
%prep
|
|
%setup -q -c -n hunspell-be
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
cp -p dictionaries/be.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.aff
|
|
cp -p dictionaries/be.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.dic
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc dictionaries/README-be.txt
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Sun Sep 28 2008 Caolan McNamara <caolanm@redhat.com> - 0.1-1
|
|
- initial version
|