packages: enchant/enchant.spec - fixed ac rebuild - package zemberek backend
qboosh
qboosh at pld-linux.org
Mon Nov 22 21:48:08 CET 2010
Author: qboosh Date: Mon Nov 22 20:48:08 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fixed ac rebuild
- package zemberek backend
---- Files affected:
packages/enchant:
enchant.spec (1.27 -> 1.28)
---- Diffs:
================================================================
Index: packages/enchant/enchant.spec
diff -u packages/enchant/enchant.spec:1.27 packages/enchant/enchant.spec:1.28
--- packages/enchant/enchant.spec:1.27 Mon Nov 22 10:32:08 2010
+++ packages/enchant/enchant.spec Mon Nov 22 21:48:03 2010
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+# TODO: voikko backend? (R: libvoikko)
#
# Conditional build:
%bcond_without static_libs # don't build static library
@@ -16,11 +17,13 @@
BuildRequires: aspell-devel >= 2:0.50.0
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: dbus-glib-devel >= 0.62
BuildRequires: glib2-devel >= 1:2.12.0
BuildRequires: hspell-devel >= 0.9-3
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: uspell-devel >= 1.1.0
+Requires: glib2 >= 1:2.12.0
Suggests: %{name}-backend
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -157,17 +160,32 @@
%description uspell -l pl.UTF-8
Moduł obsługujący uspella dla Enchanta.
+%package zemberek
+Summary: Zemberek provider module for Enchant
+Summary(pl.UTF-8): Moduł obsługujący backend zemberek dla Enchanta
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: dbus-glib >= 0.62
+Provides: %{name}-backend
+
+%description zemberek
+Zemberek (Turkish) provider module for Enchant.
+
+%description zemberek -l pl.UTF-8
+Moduł obsługujący backend zemberek (turecki) dla Enchanta.
+
%prep
%setup -q
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I ac-helpers
%{__autoconf}
%{__automake}
%configure \
--disable-binreloc \
%{!?with_static_libs:--disable-static} \
+ --enable-zemberek \
--with-ispell-dir=/usr/%{_lib}/ispell \
--with-myspell-dir=/usr/share/myspell \
--with-uspell-dir=/usr/share/uspell
@@ -181,9 +199,7 @@
DESTDIR=$RPM_BUILD_ROOT
# useless - modules loaded through libgmodule
-rm -f $RPM_BUILD_ROOT%{_libdir}/enchant/*.{la,a}
-#Zemberek is an open source Natural Language Processing library for Turkic languages
-rm -f $RPM_BUILD_ROOT%{_libdir}/enchant/libenchant_zemberek.so
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/enchant/*.{la,a}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -235,12 +251,20 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/enchant/libenchant_uspell.so
+%files zemberek
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/enchant/libenchant_zemberek.so
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.28 2010/11/22 20:48:03 qboosh
+- fixed ac rebuild
+- package zemberek backend
+
Revision 1.27 2010/11/22 09:32:08 arekm
- up to 1.6.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/enchant/enchant.spec?r1=1.27&r2=1.28&f=u
More information about the pld-cvs-commit
mailing list