46 lines
1.0 KiB
RPMSpec
46 lines
1.0 KiB
RPMSpec
Name: hunspell-ca
|
|
Summary: Catalan hunspell dictionaries
|
|
%define upstreamid 20060508
|
|
Version: 0.%{upstreamid}
|
|
Release: 2%{?dist}
|
|
Source: http://www.jmoratinos.com/myspell/catalan.tar.gz
|
|
Group: Applications/Text
|
|
URL: http://www.jmoratinos.com/cgi-bin/index.php
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
License: GPLv2+
|
|
BuildArch: noarch
|
|
|
|
Requires: hunspell
|
|
|
|
%description
|
|
Catalan hunspell dictionaries.
|
|
|
|
%prep
|
|
%setup -q -c -n hunspell-ca
|
|
|
|
%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
|
|
* 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
|