1 |
slords |
1.1 |
Summary: Dutch dictionaries for Aspell |
2 |
|
|
Name: aspell-nl |
3 |
|
|
# Have to bump this to make it newer than the old, bad version. |
4 |
|
|
Epoch: 51 |
5 |
|
|
Version: 0.1e |
6 |
|
|
Release: 1%{?dist} |
7 |
|
|
License: GPL |
8 |
|
|
Group: Applications/Text |
9 |
|
|
URL: http://packages.debian.org/unstable/text/%{name} |
10 |
|
|
Source0: http://ftp.debian.org/debian/pool/main/d/dutch/dutch_%{version}.orig.tar.gz |
11 |
|
|
Source1: http://corbu.aq.upm.es/~agmartin/linux/ispellaff2myspell |
12 |
|
|
Patch0: dutch-debian.patch |
13 |
|
|
Buildrequires: aspell >= 12:0.60 |
14 |
|
|
Requires: aspell >= 12:0.60 |
15 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
16 |
|
|
|
17 |
|
|
%description |
18 |
|
|
Provides the word list/dictionaries for the following: Dutch |
19 |
|
|
|
20 |
|
|
%prep |
21 |
|
|
%setup -q -n dutch-%{version} |
22 |
|
|
%patch0 -p1 |
23 |
|
|
|
24 |
|
|
%build |
25 |
|
|
install -m0755 %{SOURCE1} wl/ |
26 |
|
|
cd wl/ |
27 |
|
|
sed -e '/[_:`^<>()]/d' ./small.wl ./medium.wl ./large.wl ./toponames.wla ./chemistry.wla ./countries.wla ./energy.wla ./jargon.wla ./newwords.wla ./physics.wla ./puzzle.wla | tr -d '\267' | sort -f | uniq | tee dutch | sed -e '/[- 0-9\.,]/d' > dutch.stripped |
28 |
|
|
./ispellaff2myspell --charset=latin1 --split=200 --myheader=nl_NL.myheader dutch.aff > nl_NL.myaff |
29 |
|
|
cp ../aspell/dutch.dat nl.dat |
30 |
|
|
cp nl_NL.myaff nl_affix.dat |
31 |
|
|
%{_bindir}/aspell --lang=nl create master ./nl.rws < dutch.stripped |
32 |
|
|
|
33 |
|
|
%install |
34 |
|
|
rm -rf $RPM_BUILD_ROOT |
35 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/aspell-0.60 |
36 |
|
|
install -m0644 aspell/dutch.alias $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ |
37 |
|
|
install -m0644 aspell/dutch.alias $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/nederlands.alias |
38 |
|
|
install -m0644 aspell/dutch.dat $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/nl.dat |
39 |
|
|
install -m0644 wl/nl_NL.myaff $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/nl_affix.dat |
40 |
|
|
install -m0644 wl/dutch.aff $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ |
41 |
|
|
install -m0644 wl/nl.rws $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ |
42 |
|
|
install -m0644 aspell/dutch.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ |
43 |
|
|
install -m0644 aspell/flemish.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ |
44 |
|
|
install -m0644 aspell/nederlands.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ |
45 |
|
|
install -m0644 aspell/nl.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ |
46 |
|
|
install -m0644 aspell/vlaams.multi $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/ |
47 |
|
|
|
48 |
|
|
%clean |
49 |
|
|
rm -rf $RPM_BUILD_ROOT |
50 |
|
|
|
51 |
|
|
%files |
52 |
|
|
%defattr(-,root,root) |
53 |
|
|
%doc COPYING README ChangeLog |
54 |
|
|
%{_libdir}/aspell-0.60/* |
55 |
|
|
|
56 |
|
|
%changelog |
57 |
|
|
* Sat Mar 1 2008 Shad L. Lords <slords@mail.com> |
58 |
|
|
- Clean up spec so package can be built by koji/plague |
59 |
|
|
- Update to new release naming. No functional changes. |
60 |
|
|
- Make Packager generic |
61 |
|
|
|
62 |
|
|
* Mon Jul 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> - 51:0.1e-1 |
63 |
|
|
- move to GPL dictionary |
64 |
|
|
|
65 |
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-8.2.1 |
66 |
|
|
- rebuild |
67 |
|
|
|
68 |
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-8.2 |
69 |
|
|
- bump again for double-long bug on ppc(64) |
70 |
|
|
|
71 |
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-8.1 |
72 |
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes |
73 |
|
|
|
74 |
|
|
* Fri Dec 16 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-8 |
75 |
|
|
- add nederlands alias (bug 175863) |
76 |
|
|
|
77 |
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
78 |
|
|
- rebuilt |
79 |
|
|
|
80 |
|
|
* Tue Jul 19 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-7 |
81 |
|
|
- build with aspell-0.60.3 |
82 |
|
|
|
83 |
|
|
* Mon Apr 11 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-6 |
84 |
|
|
- rebuilt |
85 |
|
|
|
86 |
|
|
* Tue Sep 28 2004 Adrian Havill <havill@redhat.com> 50:0.50-5 |
87 |
|
|
- rebuilt, remove debuginfo |
88 |
|
|
|
89 |
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
90 |
|
|
- rebuilt |
91 |
|
|
|
92 |
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
93 |
|
|
- rebuilt |
94 |
|
|
|
95 |
|
|
* Mon Jun 23 2003 Adrian Havill <havill@redhat.com> 0.50-3 |
96 |
|
|
- first build for new aspell (0.50) |