SPECS: abiword.spec - rel 2; add link-grammar plugin; fix new gda ...

arekm arekm at pld-linux.org
Mon Oct 24 23:26:20 CEST 2005


Author: arekm                        Date: Mon Oct 24 21:26:20 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2; add link-grammar plugin; fix new gda support; gda bcond

---- Files affected:
SPECS:
   abiword.spec (1.111 -> 1.112) 

---- Diffs:

================================================================
Index: SPECS/abiword.spec
diff -u SPECS/abiword.spec:1.111 SPECS/abiword.spec:1.112
--- SPECS/abiword.spec:1.111	Mon Oct 10 18:36:57 2005
+++ SPECS/abiword.spec	Mon Oct 24 23:26:15 2005
@@ -1,17 +1,17 @@
 # $Revision$, $Date$
 #
 # TODO:
-# - link-grammar
 # - polish/complete descriptions
 #
 %bcond_without	gnome	# without GNOME libs
+%bcond_without	gda	# libgda support
 #
 %define		mver	2.4
 Summary:	Multi-platform word processor
 Summary(pl):	Wieloplatformowy procesor tekstu
 Name:		abiword
 Version:	2.4.1
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL
 Group:		X11/Applications
@@ -20,6 +20,7 @@
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-home_etc.patch
 Patch2:		%{name}-mailmerge.patch
+Patch3:		%{name}-gda.patch
 URL:		http://www.abisource.com/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -36,7 +37,7 @@
 BuildRequires:	gtkmathview-devel >= 0.7.5
 BuildRequires:	gucharmap-devel >= 1.4.0
 BuildRequires:	libbonobo-devel >= 2.2.0
-BuildRequires:	libgda-devel >= 0.90.0
+%{?with_gda:BuildRequires:	libgda-devel >= 0.90.0}
 BuildRequires:	libglade2-devel >= 2.0.0
 BuildRequires:	libgnomedb-devel >= 0.90.0
 BuildRequires:	libgnomeprintui-devel >= 2.2.1.3-2
@@ -51,6 +52,7 @@
 BuildRequires:	libwmf-devel >= 2:0.2.8
 BuildRequires:	libwpd-devel >= 0.8.0
 BuildRequires:	libxml2-devel >= 2.4.20
+BuildRequires:	link-grammar-devel
 BuildRequires:	ots-devel >= 0.4.1
 BuildRequires:	pkgconfig >= 0.9.0
 BuildRequires:	poppler-glib-devel >= 0.2.1
@@ -466,6 +468,19 @@
 %description plugin-latex -l pl
 Wtyczka ta służy do eksportu do LaTeXa.
 
+# AbiGrammar
+%package plugin-link-grammar
+Summary:	AbiWord Link Grammar plugin
+Summary(pl):	Wtyczka Gramatyki dla Abiworda
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-link-grammar
+AbiWord Link Grammar plugin.
+
+%description plugin-link-grammar -l pl
+Wtyczka Gramatyki dla Abiworda.
+
 # abiMIF - not documented
 %package plugin-mif
 Summary:	AbiWord MIF plugin
@@ -718,6 +733,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # use generic icon name
 sed -i -e 's|abiword_48.png|abiword.png|' abi/GNUmakefile.am
@@ -811,9 +827,11 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/AbiWord-%{mver}/plugins/libAbiFreeTranslation.so
 
+%if %{with gda}
 %files plugin-gda
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/AbiWord-%{mver}/plugins/libAbiGDA.so
+%endif
 
 %files plugin-gdict
 %defattr(644,root,root,755)
@@ -899,6 +917,10 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/AbiWord-%{mver}/plugins/libAbiLaTeX.so
 
+%files plugin-link-grammar
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/AbiWord-%{mver}/plugins/libAbiGrammar.so
+
 %files plugin-mif
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/AbiWord-%{mver}/plugins/libAbiMIF.so
@@ -977,6 +999,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.112  2005/10/24 21:26:15  arekm
+- rel 2; add link-grammar plugin; fix new gda support; gda bcond
+
 Revision 1.111  2005/10/10 16:36:57  freetz
 - more Obsoletes
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/abiword.spec?r1=1.111&r2=1.112&f=u




More information about the pld-cvs-commit mailing list