#
# TODO:
# - polish/complete descriptions
+# - fix broken bconds
#
-%bcond_without gnome # without GNOME libs
-%bcond_without gda # libgda support
+#%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.5
-Release: 1
+Version: 2.4.6
+Release: 0.1
Epoch: 1
License: GPL
Group: X11/Applications
Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.bz2
-# Source0-md5: e018669a154164d31c768f773a1c95b4
+# Source0-md5: 8ed5fb282b9741aca75b9e47500d39a1
Patch0: %{name}-desktop.patch
Patch1: %{name}-home_etc.patch
Patch2: %{name}-mailmerge.patch
-Patch3: %{name}-gda.patch
-Patch4: %{name}-poppler05x.patch
-Patch5: %{name}-goffice03.patch
+Patch3: %{name}-poppler05x.patch
+Patch5: %{name}-eps15.patch
URL: http://www.abisource.com/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bzip2-devel
BuildRequires: curl-devel
BuildRequires: enchant-devel >= 1.2.6
-BuildRequires: eps-devel >= 1.2
+BuildRequires: eps-devel >= 1.5
BuildRequires: fontconfig-devel >= 1:2.3.95
BuildRequires: fribidi-devel >= 0.10.4
-BuildRequires: glib2-devel >= 1:2.12.0
-BuildRequires: gtk+2-devel >= 2:2.9.2
+BuildRequires: glib2-devel >= 1:2.12.1
+BuildRequires: gtk+2-devel >= 2:2.10.1
BuildRequires: gtkmathview-devel >= 0.7.6
-BuildRequires: gucharmap-devel >= 1.6.0
-%{?with_gda:BuildRequires: libgda-devel >= 1.9.100}
+BuildRequires: gucharmap-devel >= 1.7.0
+BuildRequires: libgda-devel >= 1:1.2.3
BuildRequires: libglade2-devel >= 1:2.6.0
-BuildRequires: libgnomedb-devel >= 1.9.100
+BuildRequires: libgnomedb-devel >= 1:1.2.2
BuildRequires: libgnomeprintui-devel >= 2.12.1
-BuildRequires: libgnomeui-devel >= 2.15.2
-BuildRequires: libgoffice-devel >= 0.3.0
+BuildRequires: libgnomeui-devel >= 2.15.91
+BuildRequires: libgoffice-devel >= 0.3.1
BuildRequires: libgsf-devel >= 1.14.1
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
-BuildRequires: librsvg-devel >= 1:2.15.0
+BuildRequires: librsvg-devel >= 1:2.15.90
BuildRequires: libtool
BuildRequires: libwmf-devel >= 2:0.2.8.4
BuildRequires: libwpd-devel >= 0.8.5
BuildRequires: poppler-glib-devel >= 0.5.3
BuildRequires: popt-devel
BuildRequires: psiconv-devel >= 0.9.6
+BuildRequires: t1lib-devel
BuildRequires: wv-devel >= 1.2.1
Obsoletes: abiword-plugin-collab
Obsoletes: abiword-plugin-gdkpixbuf
Summary(pl): Wtyczka AbiWorda dla GDA
Group: Applications/Productivity
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: gnome-database-access-properties >= 1:1.2.1
%description plugin-gda
Allows access to any database provided by libgda.
obróbki, takim jak Gimp.
# abiGOChart plugin
-%package plugin-goffice
-Summary: GNOME Office plugin
-Summary(pl): Wtyczka GNOME Office
-Group: Applications/Productivity
-Requires: %{name} = %{epoch}:%{version}-%{release}
+#%%package plugin-goffice
+#Summary: GNOME Office plugin
+#Summary(pl): Wtyczka GNOME Office
+#Group: Applications/Productivity
+#Requires: %{name} = %{epoch}:%{version}-%{release}
-%description plugin-goffice
-Allows to share GNOME Office objects between GOffice
-appplications.
+#%%description plugin-goffice
+#Allows to share GNOME Office objects between GOffice
+#appplications.
-%description plugin-goffice -l pl
-Pozwala na wspó³dzielenie obiektów GNOME Office pomiêdzy jego
-aplikacjami.
+#%%description plugin-goffice -l pl
+#Pozwala na wspó³dzielenie obiektów GNOME Office pomiêdzy jego
+#aplikacjami.
# abiGoogle
%package plugin-google
%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch4 -p1
-%patch5 -p0
+%patch5 -p1
# use generic icon name
sed -i -e 's|abiword_48.png|abiword.png|' abi/GNUmakefile.am
%{__aclocal} -I ac-helpers
%{__automake}
%{__autoconf}
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
%configure \
- --%{!?with_gnome:dis}%{?with_gnome:en}able-gnome \
--disable-static \
--enable-threads \
--with-libxml2 \
--with-pspell \
- --with-sys-wv
+ --with-sys-wv
+
+# see TODO
+# --%{!?with_gnome:dis}%{?with_gnome:en}able-gnome \
+
%{__make}
cd ../abiword-plugins
./nextgen.sh
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
%configure
%{__make}
%{_datadir}/AbiSuite-%{mver}/AbiWord/system.profile*
%{_datadir}/AbiSuite-%{mver}/icons
%{_datadir}/AbiSuite-%{mver}/templates
-%{_desktopdir}/*
+%{_desktopdir}/*.desktop
%{_pixmapsdir}/*.png
%{_datadir}/AbiSuite-%{mver}/AbiWord/readme.txt
%{_libdir}/AbiWord-%{mver}/plugins/AbiWord
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/AbiWord-%{mver}/plugins/libAbiGimp.so
-%files plugin-goffice
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/AbiWord-%{mver}/plugins/libAbiGOChart.so
+#%%files plugin-goffice
+#%%defattr(644,root,root,755)
+#%%attr(755,root,root) %{_libdir}/AbiWord-%{mver}/plugins/libAbiGOChart.so
%files plugin-google
%defattr(644,root,root,755)