hunspell-ca/hunspell-ca.spec

63 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: hunspell-ca
Summary: Catalan hunspell dictionaries
2008-07-07 11:18:51 +00:00
%define upstreamid 20080706
Version: 0.%{upstreamid}
Release: 2%{?dist}
2008-07-02 16:34:22 +00:00
#svn checkout svn://softcatala.org/corrector/trunk/resultats/hunspell
Source: hunspell-ca-%{upstreamid}.tar.bz2
Group: Applications/Text
2008-07-02 16:34:22 +00:00
URL: http://www.softcatala.org/wiki/Corrector_ortogràfic
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2007-08-03 08:20:54 +00:00
License: GPLv2+
BuildArch: noarch
Requires: hunspell
%description
Catalan hunspell dictionaries.
%prep
2008-07-02 16:34:22 +00:00
%setup -q -n hunspell
%build
2007-07-09 09:15:17 +00:00
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
2007-07-09 09:15:17 +00:00
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
* Tue Jul 08 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080706-2
- Catalan is spoken in Andora, France and Italy as well
2008-07-07 11:18:51 +00:00
* Mon Jul 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080706-1
- latest version
2008-07-02 16:34:22 +00:00
* Wed Jul 02 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080620-1
- latest version
2007-08-03 08:20:54 +00:00
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060508-2
- clarify license version
2007-07-09 09:15:17 +00:00
* 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