-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhunspell-gd.spec
62 lines (49 loc) · 1.6 KB
/
hunspell-gd.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Name: hunspell-gd
Summary: Scots Gaelic hunspell dictionaries
Version: 1.0.0
Release: 0.3.rc.2%{?dist}
Source: http://www.sealgar.co.uk/gd_GB.oxt
Group: Applications/Text
URL: http://www.sealgar.co.uk/spell.jsp
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
Requires: hunspell
%description
Scots Gaelic hunspell dictionaries.
%prep
%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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_gd_GB.txt
%{_datadir}/myspell/*
%changelog
* Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 1.0.0-0.3.rc.2
- Rebuilt for RHEL 6
* 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
- tidy spec
* Mon Jun 15 2009 Caolan 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
- initial version