latest version

This commit is contained in:
Caolán McNamara 2011-04-02 15:02:56 +01:00
parent f0559b237c
commit b880460e26
3 changed files with 15 additions and 22 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
ispell-gd-0.1.1.tar.gz
/hunspell-gd-1.2.oxt

View File

@ -1,12 +1,12 @@
Name: hunspell-gd
Summary: Scots Gaelic hunspell dictionaries
Version: 1.0.0
Release: 0.4.rc.1%{?dist}
Source: http://www.sealgar.co.uk/gd_GB.oxt
Version: 1.2
Release: 1%{?dist}
Source: http://extensions.services.openoffice.org/e-files/4587/2/hunspell-gd-1.2.oxt
Group: Applications/Text
URL: http://www.sealgar.co.uk/spell.jsp
URL: http://extensions.services.openoffice.org/en/project/faclair-afb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
License: GPLv3+
BuildArch: noarch
Requires: hunspell
@ -18,45 +18,38 @@ Scots Gaelic hunspell dictionaries.
%setup -q -c hunspell-gd-%{version}
%build
for i in README_gd_GB.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
fi
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p gd_GB.dic gd_GB.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/gd_GB.dic dictionaries/gd_GB.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_gd_GB.txt
%doc dictionaries/README_gd_GB.txt LICENSES-en.txt
%{_datadir}/myspell/*
%changelog
* Sat Apr 02 2011 Caolán McNamara <caolanm@redhat.com> - 1.2-1
- latest version
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-0.4.rc.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-0.3.rc.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 1.0.0-0.2.rc.1
* Sat Jul 11 2009 Caolán McNamara <caolanm@redhat.com> - 1.0.0-0.2.rc.1
- tidy spec
* Mon Jun 15 2009 Caolan McNamara <caolanm@redhat.com> - 1.0.0-0.1.rc.1
* Mon Jun 15 2009 Caolán McNamara <caolanm@redhat.com> - 1.0.0-0.1.rc.1
- latest version
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Mar 27 2008 Caolan McNamara <caolanm@redhat.com> - 0.1.1-1
* Thu Mar 27 2008 Caolán McNamara <caolanm@redhat.com> - 0.1.1-1
- initial version

View File

@ -1 +1 @@
444b3c4a61a7d4bfbfec265aa9e8a4b3 gd_GB.oxt
67d5301cc1f636707f65aa8eb9e7775c hunspell-gd-1.2.oxt