hunspell-ca/hunspell-ca.spec
2008-09-15 13:22:41 +00:00

66 lines
1.7 KiB
RPMSpec

Name: hunspell-ca
Summary: Catalan hunspell dictionaries
%define upstreamid 20080915
Version: 0.%{upstreamid}
Release: 1%{?dist}
#svn checkout svn://softcatala.org/corrector/trunk/resultats/hunspell
Source: hunspell-ca-%{upstreamid}.tar.bz2
Group: Applications/Text
URL: http://www.softcatala.org/wiki/Corrector_ortogràfic
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
Requires: hunspell
%description
Catalan hunspell dictionaries.
%prep
%setup -q -n hunspell
%build
tr -d '\r' < catalan.aff > ca_ES.aff
tr -d '\r' < catalan.dic > ca_ES.dic
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p ca_ES.dic ca_ES.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
ca_ES_aliases="ca_AD ca_FR ca_IT"
for lang in $ca_ES_aliases; do
ln -s ca_ES.aff $lang.aff
ln -s ca_ES.dic $lang.dic
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_datadir}/myspell/*
%changelog
* Mon Sep 15 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080915-1
- latest version
* Tue Jul 08 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080706-2
- Catalan is spoken in Andora, France and Italy as well
* Mon Jul 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080706-1
- latest version
* Wed Jul 02 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080620-1
- latest version
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060508-2
- clarify license version
* Mon Jul 09 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060508-1
- latest version
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20021015-1
- initial version