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