]> git.pld-linux.org Git - packages/abiword.git/blobdiff - abiword.spec
- lang() for internationalized help
[packages/abiword.git] / abiword.spec
index 4ad4b5f0844abf68f619e780c6b097fde4b8baf9..534301bbc5d9aee7c8c8b18268e504ab332cb3c4 100644 (file)
@@ -1,68 +1,63 @@
 #
 # TODO:
 # - package new plugins
-# - restore cliparts
 # - complete descriptions
 # - fix broken bconds
 # - consider subpackage for helps
-# - consider lang()ed helps
 # - installed, but unpackaged files
 #         /usr/include/abiword-2.6/abiwidget.h
 #         /usr/include/abiword-2.6/xap_UnixTableWidget.h
-#         /usr/lib/abiword-2.6/plugins/libAbiGremlin.so
 #         /usr/lib/abiword-2.6/plugins/libAbiOPML.so
 #         /usr/lib/abiword-2.6/plugins/libAbiOpenXML.so
 #         /usr/lib/abiword-2.6/plugins/libAbiWPG.so
 #         /usr/lib/abiword-2.6/plugins/libLoadBindings.so
 #         /usr/lib/abiword-2.6/plugins/libPresentation.so
 #         /usr/lib/pkgconfig/abiword-2.6.pc
+#         /usr/share/abiword-2.6/Presentation.xml
 #         /usr/share/abiword-2.6/readme.abw
 #         /usr/share/abiword-2.6/scripts/abw2html.pl
 #         /usr/share/mime-info/abiword.keys
 #
-%bcond_without gnome           # without GNOME libs
-%bcond_without gnomevfs        # gnome-vfs support
+%bcond_with    capi            # AbiCAPI plugin (disappeared)
 %bcond_without gda             # libgda support
+%bcond_without gnome           # without GNOME libs
+%bcond_with    gnomevfs        # gnome-vfs support
 %bcond_with    goffice         # try build plugin-goffice (requires goffice < 0.6.0)
 %bcond_with    xhtml           # try build plugin-xhtml (compile error)
 %bcond_with    ots             # try build plugin-ots (requires ots >= 0.5.0)
 %bcond_with    dash            # try build plugin-dash (absolutly no idea)
-%bcond_with    bz2             # try build plugin-bz2
+%bcond_with    bz2             # try build plugin-bz2 (disappeared)
 #
 %define                mver    2.6
 #
 Summary:       Multi-platform word processor
 Summary(pl.UTF-8):     Wieloplatformowy procesor tekstu
 Name:          abiword
-Version:       2.6.2
-Release:       0.1
+Version:       2.6.4
+Release:       4
 Epoch:         1
 License:       GPL
 Group:         X11/Applications
 Source0:       http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz
-# Source0-md5: 8e756c0529880fbe6ea3aaef8d5df0b5
+# Source0-md5: 16748b2d6e318e0e2a25581005e1943a
 Source1:       http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-plugins-%{version}.tar.gz
-# Source1-md5: 8e3f0717327b712c6d091128709f5599
+# Source1-md5: 3bf973c5a1446ef3eaf980724821d6e9
 Source2:       http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-extras-%{version}.tar.gz
-# Source2-md5: 0cca01e0943e598e274350a77cde2ede
+# Source2-md5: d0893e611d37c3ba09b77fa720a3904d
 Source3:       http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-docs-%{version}.tar.gz
-# Source3-md5: 6907a7279e9da78f2e7b04fa81cc994c
+# Source3-md5: 9f8c0cd81d8889cc90550049f40a484a
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-home_etc.patch
-Patch2:                %{name}-extras-destdir.patch
-Patch3:                %{name}-poppler05x.patch
 Patch4:                %{name}-goffice05.patch
-Patch5:                %{name}-eps15.patch
-Patch6:                %{name}-poppler-0.6-api.patch
 URL:           http://www.abisource.com/
 BuildRequires: aiksaurus-gtk-devel >= 1.2.1
 BuildRequires: aspell-devel >= 0.60.4
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: boost-devel >= 1.33.1
 BuildRequires: bzip2-devel
 BuildRequires: curl-devel
 BuildRequires: enchant-devel >= 1.2.6
-BuildRequires: eps-devel >= 1.5
 BuildRequires: fontconfig-devel >= 1:2.3.95
 BuildRequires: fribidi-devel >= 0.10.4
 BuildRequires: glib2-devel >= 1:2.12.1
@@ -76,6 +71,7 @@ BuildRequires:        libgnomedb-devel >= 1:1.2.2
 BuildRequires: libgnomeprintui-devel >= 2.12.1
 BuildRequires: libgnomeui-devel >= 2.15.91
 %{?with_goffice:BuildRequires: libgoffice-devel >= 0.6.0}
+%{?with_gnomevfs:BuildRequires:        libgsf-gnome-devel >= 1.14.1}
 BuildRequires: libgsf-devel >= 1.14.1
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
@@ -89,10 +85,11 @@ BuildRequires:      libxml2-devel >= 1:2.6.26
 BuildRequires: link-grammar-devel >= 4.2.1
 BuildRequires: loudmouth-devel >= 1.0.1
 %{?with_ots:BuildRequires:     ots-devel >= 0.5.0}
+BuildRequires: perl-devel
 BuildRequires: pkgconfig >= 0.9.0
-BuildRequires: poppler-glib-devel >= 0.6
 BuildRequires: popt-devel
 BuildRequires: psiconv-devel >= 0.9.6
+BuildRequires: readline-devel
 BuildRequires: t1lib-devel
 BuildRequires: wv-devel >= 1.2.1
 Requires(post,postun): desktop-file-utils
@@ -143,7 +140,7 @@ Wtyczka ta pozwala na przetłumaczenie wybranego tekstu.
 # abiCollab plugin
 %package plugin-collab
 Summary:       Remote collaborate for AbiWord
-Summary(pl):   Zdalna współpraca dla AbiWord
+Summary(pl):   Zdalna współpraca dla AbiWorda
 Group:         Applications/Productivity
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -151,7 +148,7 @@ Requires:   %{name} = %{epoch}:%{version}-%{release}
 Allows to collaborate with a remote user.
 
 %description plugin-collab -l pl
-Pozwala na współpracę z innym użytkownikiem przez sieć.
+Wtyczka pozwalająca na współpracę z innym użytkownikiem przez sieć.
 
 # abiCommand plugin
 %package plugin-command
@@ -768,13 +765,8 @@ Jest to teczka clipartów używanych przez AbiWorda.
 %patch0 -p1
 # needs some work
 #patch1 -p1
-%patch2 -p0
 
-#plugins stuff
-#patch3 -p1
 #patch4 -p0
-#patch5 -p1
-#patch6 -p0
 
 # use generic icon name
 sed -i -e 's|abiword_48.png|abiword.png|' GNUmakefile.am
@@ -861,7 +853,10 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/abiword-%{mver}
 %{_datadir}/abiword-%{mver}/dictionary
 %{_datadir}/abiword-%{mver}/glade
-%{_datadir}/abiword-%{mver}/help
+%dir %{_datadir}/abiword-%{mver}/help
+%{_datadir}/abiword-%{mver}/help/en-US
+%lang(fr) %{_datadir}/abiword-%{mver}/help/fr-FR
+%lang(pl) %{_datadir}/abiword-%{mver}/help/pl-PL
 %{_datadir}/abiword-%{mver}/readme.txt
 %{_datadir}/abiword-%{mver}/strings
 %{_datadir}/abiword-%{mver}/system.profile*
@@ -869,6 +864,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*.png
 
+# XXX TODO: move to subpackages?
+%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/libAbiOPML.so
+%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/libAbiOpenXML.so
+%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/libAbiWPG.so
+%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/libLoadBindings.so
+%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/libPresentation.so
+
 %files plugin-aiksaurus
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/libAbiAikSaurus.so
@@ -877,9 +879,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/libAbiBabelfish.so
 
+%if %{with capi}
 %files plugin-capi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/libAbiCAPI.so
+%endif
 
 %files plugin-collab
 %defattr(644,root,root,755)
This page took 0.038687 seconds and 4 git commands to generate.