diff --git a/aspell-nl.spec b/aspell-nl.spec index 2258886..6d62652 100644 --- a/aspell-nl.spec +++ b/aspell-nl.spec @@ -10,6 +10,7 @@ URL: http://packages.debian.org/unstable/text/%{name} Source0: http://ftp.debian.org/debian/pool/main/d/dutch/dutch_%{version}.orig.tar.gz Patch0: dutch-debian.patch Patch1: aspell-nl-0.1e-dictdir.patch +Patch2: dutch-0.1e-nl.patch Buildrequires: aspell >= 12:0.60 Requires: aspell >= 12:0.60 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -23,15 +24,13 @@ Provides the word list/dictionaries for the following: Dutch %setup -q -n dutch-%{version} %patch0 -p1 %patch1 -p1 -b .dd +%patch2 -p1 -b .nl cp ./aspell/dutch.dat ./aspell/nl_affix.dat %build ./configure prefix=/usr make -%{_bindir}/aspell --lang=dutch create master ./wl/nl.rws < ./wl/dutch.stripped - - %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} @@ -39,7 +38,6 @@ rm $RPM_BUILD_ROOT/usr/share/ispell/dutch.aff rm $RPM_BUILD_ROOT/usr/dict/dutch rm $RPM_BUILD_ROOT/usr/info/* cp $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/nl.dat $RPM_BUILD_ROOT%{_libdir}/aspell-0.60/nl_affix.dat -cp ./wl/nl.rws $RPM_BUILD_ROOT%{_libdir}/aspell-0.60 %clean rm -rf $RPM_BUILD_ROOT diff --git a/dutch-0.1e-nl.patch b/dutch-0.1e-nl.patch new file mode 100644 index 0000000..82c1e0b --- /dev/null +++ b/dutch-0.1e-nl.patch @@ -0,0 +1,30 @@ +--- dutch-0.1e/aspell/Makefile.in.pom 2007-06-14 12:56:00.000000000 +0200 ++++ dutch-0.1e/aspell/Makefile.in 2007-06-14 12:59:25.000000000 +0200 +@@ -91,7 +91,7 @@ + lang = dutch + langISO = nl + +-rwsfile = $(lang).rws ++rwsfile = $(lang).rws nl.rws + datfile = $(lang).dat + multifile = $(langISO).multi + aliases = $(lang).alias +@@ -210,7 +210,7 @@ + install -d -m 0755 $(DESTDIR)$(dictdir) + + # # dictionary +- install -m 0644 $(rwsfile) $(DESTDIR)$(dictdir)/$(lang) ++ install -m 0644 $(rwsfile) $(DESTDIR)$(dictdir)/ + # #-ln -s $(lang) $(DESTDIR)$(dictdir)/nederlands + # #-ln -s $(lang) $(DESTDIR)$(dictdir)/flemish + # #-ln -s $(lang) $(DESTDIR)$(dictdir)/vlaams +@@ -234,6 +234,9 @@ + dutch.rws : ../wl/dutch.stripped + ${ASPELL} ${ASPELL_FLAGS} --lang=$(lang) create master ./$@ < $< + ++nl.rws: ../wl/dutch.stripped ++ ${ASPELL} ${ASPELL_FLAGS} --lang=$(lang) create master ./$@ < $< ++ + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: