hunspell-ca/hunspell-ca.spec
2008-07-07 11:18:51 +00:00

53 lines
1.3 KiB
RPMSpec

Name: hunspell-ca
Summary: Catalan hunspell dictionaries
%define upstreamid 20080706
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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_datadir}/myspell/*
%changelog
* 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