hunspell-tn/hunspell-tn.spec

62 lines
1.7 KiB
RPMSpec
Raw Normal View History

2008-09-17 07:30:27 +00:00
Name: hunspell-tn
Summary: Tswana hunspell dictionaries
2010-07-21 08:01:27 +00:00
%define upstreamid 20091101
2008-09-17 07:30:27 +00:00
Version: 0.%{upstreamid}
2010-07-21 08:01:27 +00:00
Release: 1%{?dist}
Source: http://releases.mozilla.org/pub/mozilla.org/addons/46617/tswana__south_africa__dictionary-%{upstreamid}-fx+tb.xpi
2008-09-17 07:30:27 +00:00
Group: Applications/Text
2008-10-21 07:35:46 +00:00
URL: http://www.translate.org.za/
2008-09-17 07:30:27 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2010-07-21 08:01:27 +00:00
License: GPLv2+
2008-09-17 07:30:27 +00:00
BuildArch: noarch
Requires: hunspell
%description
Tswana hunspell dictionaries.
%prep
%setup -q -c -n hunspell-tn
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
2010-07-21 08:01:27 +00:00
cp -p dictionaries/tn-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/tn_ZA.aff
cp -p dictionaries/tn-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/tn_ZA.dic
2008-09-30 09:34:11 +00:00
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
tn_ZA_aliases="tn_BW"
for lang in $tn_ZA_aliases; do
ln -s tn_ZA.aff $lang.aff
ln -s tn_ZA.dic $lang.dic
done
popd
2008-09-17 07:30:27 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
2010-07-21 08:01:27 +00:00
%doc README-tn-ZA.txt
2008-09-17 07:30:27 +00:00
%{_datadir}/myspell/*
%changelog
2010-07-21 08:01:27 +00:00
* Wed Jul 21 2010 Caolán McNamara <caolanm@redhat.com> - 0.20091101-1
- latest version
* Wed Jan 06 2010 Caolán McNamara <caolanm@redhat.com> - 0.20060123-5
2010-01-06 15:11:16 +00:00
- README says was derived from GPL work -> GPL
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060123-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060123-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2010-07-21 08:01:27 +00:00
* Tue Sep 30 2008 Caolán McNamara <caolanm@redhat.com> - 0.20060123-2
2008-09-30 09:34:11 +00:00
- add Botswana alias
2010-07-21 08:01:27 +00:00
* Tue Sep 09 2008 Caolán McNamara <caolanm@redhat.com> - 0.20060123-1
2008-09-17 07:30:27 +00:00
- initial version