|
|
@@ -73,7 +73,7 @@ AutoReqProv: no
|
|
|
|
|
|
%build
|
|
|
# build GNU aspell
|
|
|
- ( cd aspell-%{V_aspell}
|
|
|
+ ( cd aspell-%{V_aspell}
|
|
|
CC="%{l_cc}" \
|
|
|
CXX="%{l_cxx}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
@@ -92,7 +92,7 @@ AutoReqProv: no
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
# install GNU aspell
|
|
|
- ( cd aspell-%{V_aspell}
|
|
|
+ ( cd aspell-%{V_aspell}
|
|
|
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
%{l_shtool} subst \
|
|
|
-e 's;/usr/bin/perl;%{l_prefix}/bin/perl;' \
|
|
|
@@ -103,7 +103,7 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/aspell
|
|
|
)
|
|
|
|
|
|
- # prepare dictionary installation
|
|
|
+ # prepare dictionary installation
|
|
|
( echo "ASPELL = $RPM_BUILD_ROOT%{l_prefix}/bin/aspell"
|
|
|
ASPELL_FLAGS="--dict-dir=$RPM_BUILD_ROOT%{l_prefix}/lib/aspell"
|
|
|
ASPELL_FLAGS="$ASPELL_FLAGS --data-dir=$RPM_BUILD_ROOT%{l_prefix}/share/aspell"
|
|
|
@@ -115,13 +115,13 @@ AutoReqProv: no
|
|
|
) > Makefile.head
|
|
|
|
|
|
# install GNU aspell English (EN) dictionary
|
|
|
- ( cd aspell-en-%{V_aspell_en}
|
|
|
+ ( cd aspell-en-%{V_aspell_en}
|
|
|
cat ../Makefile.head Makefile.pre > Makefile
|
|
|
%{l_make} %{l_mflags} install
|
|
|
)
|
|
|
|
|
|
# install GNU aspell German (DE) dictionary
|
|
|
- ( cd aspell-de-%{V_aspell_de}
|
|
|
+ ( cd aspell-de-%{V_aspell_de}
|
|
|
cat ../Makefile.head Makefile.pre > Makefile
|
|
|
%{l_make} %{l_mflags} install
|
|
|
)
|