hunspell-ti/hunspell-ti.spec

54 lines
1.3 KiB
RPMSpec
Raw Normal View History

2009-07-07 08:31:56 +00:00
Name: hunspell-ti
Summary: Tigrigna hunspell dictionaries
2009-09-11 15:35:15 +00:00
%define upstreamid 20090911
2009-07-07 08:31:56 +00:00
Version: 0.%{upstreamid}
2009-09-11 15:35:15 +00:00
Release: 1%{?dist}
2009-07-07 08:31:56 +00:00
Source: http://www.cs.ru.nl/~biniam/geez/dict/ti_ER.zip
Group: Applications/Text
URL: http://www.cs.ru.nl/~biniam/geez/index.php
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+
BuildArch: noarch
Requires: hunspell
%description
Tigrigna hunspell dictionaries.
%prep
%setup -q -n ti_ER
%build
tr -d '\r' < README.txt > README.txt.new
touch -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 ti_ER.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ti_ER_aliases="ti_ET"
for lang in $ti_ER_aliases; do
ln -s ti_ER.aff $lang.aff
ln -s ti_ER.dic $lang.dic
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.txt
%{_datadir}/myspell/*
%changelog
2009-09-11 15:35:15 +00:00
* Fri Sep 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090911-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20090704-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-07 08:31:56 +00:00
* Mon Jul 06 2009 Caolan McNamara <caolanm@redhat.com> - 0.20090704-1
- initial version