]> git.pld-linux.org Git - packages/abiword.git/blobdiff - abiword.spec
- updated dependencies
[packages/abiword.git] / abiword.spec
index 0e147f7381ebd49f75a56f7272be14e85f30608f..202627a4aace7e75963a3a307e9d7dca6a0d6e2b 100644 (file)
@@ -3,13 +3,14 @@
 %bcond_without evolution       # Evolution Data Server for contacts and calendar
 %bcond_without champlain       # champlain maps display support
 %bcond_with    gda             # libgda (1.x) support
-%bcond_without goffice         # without plugin-goffice
-%bcond_without gnome           # without GNOME libs
+%bcond_without goffice         # goffice plugin
 %bcond_with    gnomevfs        # gnome-vfs support (GTK+ 2.x only)
 %bcond_with    gtk2            # GTK+ 2.x instead of 3.x
 %bcond_without introspection   # GObject introspection
 %bcond_without ots             # Open Text Summarizer plugin
 %bcond_without redland         # redland/raptor libraries
+%bcond_with    psiconv         # psiconv / psion plugin
+%bcond_with    wordperfect     # wordperfect plugin
 #
 %define                mver    3.0
 #
 Summary:       Multi-platform word processor
 Summary(pl.UTF-8):     Wieloplatformowy procesor tekstu
 Name:          abiword
-Version:       3.0.2
-Release:       4
+Version:       3.0.5
+Release:       1
 Epoch:         1
 License:       GPL v2+
 Group:         X11/Applications/Editors
 Source0:       http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz
-# Source0-md5: cda6dd58c747c133b421cc7eb18f5796
+# Source0-md5: a8f218b711450e4ccae43a0522e0e806
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-mht.patch
 Patch2:                %{name}-librevenge.patch
@@ -68,21 +69,22 @@ BuildRequires:      libpng-devel
 BuildRequires: librevenge-devel
 BuildRequires: librsvg-devel >= 1:2.16.0
 BuildRequires: libsoup-devel >= 2.4
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libtool >= 2:1.5
 BuildRequires: libwmf-devel >= 2:0.2.8.4
-BuildRequires: libwpd-devel >= 0.9.0
-BuildRequires: libwpg-devel >= 0.2.0
-BuildRequires: libwps-devel >= 0.2.0
+%{?with_wordperfect:BuildRequires:     libwpd-devel >= 0.9.0}
+%{?with_wordperfect:BuildRequires:     libwpg-devel >= 0.2.0}
+%{?with_wordperfect:BuildRequires:     libwps-devel >= 0.2.0}
 BuildRequires: libxml2-devel >= 1:2.6.26
 BuildRequires: libxslt-devel
-BuildRequires: link-grammar-devel >= 4.2.1
+BuildRequires: link-grammar-devel >= 5.1.0
 BuildRequires: loudmouth-devel >= 1.3.2
 %{?with_ots:BuildRequires:     ots-devel >= 0.5.0}
 BuildRequires: pango-devel
 BuildRequires: perl-devel
 BuildRequires: pkgconfig >= 1:0.9.0
 BuildRequires: popt-devel
-BuildRequires: psiconv-devel >= 0.9.6
+%{?with_psiconv:BuildRequires: psiconv-devel >= 0.9.6}
 %{?with_introspection:BuildRequires:   python >= 2}
 %{?with_introspection:BuildRequires:   python-pygobject3 >= 3}
 %{?with_redland:BuildRequires: rasqal-devel >= 0.9.17}
@@ -155,7 +157,7 @@ Obsoletes:  abiword-plugin-sdw
 Obsoletes:     abiword-plugin-t602
 Obsoletes:     abiword-plugin-urldict
 Obsoletes:     abiword-plugin-wikipedia
-Obsoletes:     abiword-plugin-wordperfect
+%{!?with_wordperfect:Obsoletes:        abiword-plugin-wordperfect}
 Obsoletes:     abiword-plugin-wml
 Obsoletes:     abiword-plugin-xhtml
 Obsoletes:     abiword-plugin-xslfo
@@ -312,7 +314,7 @@ Summary:    AbiWord Link Grammar plugin
 Summary(pl.UTF-8):     Wtyczka Gramatyki dla Abiworda
 Group:         X11/Applications/Editors
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      link-grammar >= 4.2.1
+Requires:      link-grammar >= 5.1.0
 
 %description plugin-link-grammar
 AbiWord Link Grammar plugin.
@@ -448,10 +450,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/abiword-%{mver}/templates
 %{_datadir}/abiword-%{mver}/ui
 %{_datadir}/abiword-%{mver}/xsltml
+%{_datadir}/appdata/abiword.appdata.xml
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.AbiCollab.service
 %{_desktopdir}/abiword.desktop
 %{_iconsdir}/hicolor/*/apps/abiword.*
 %{_mandir}/man1/abiword.1*
-%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.AbiCollab.service
 %{_datadir}/telepathy/clients/AbiCollab.client
 
 # These don't add any additional dependencies so there's no reason to split
@@ -490,7 +493,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/urldict.so
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wikipedia.so
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wml.so
-#%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wpg.so
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/xslfo.so
 
 %files devel
@@ -551,17 +553,22 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/grammar.so
 
+%if %{with psiconv}
 %files plugin-psion
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/psion.so
+%endif
 
 %files plugin-wmf
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wmf.so
 
-#%files plugin-wordperfect
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wordperfect.so
+%if %{with wordperfect}
+%files plugin-wordperfect
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wordperfect.so
+%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wpg.so
+%endif
 
 %files clipart
 %defattr(644,root,root,755)
This page took 0.043608 seconds and 4 git commands to generate.