X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=abiword.spec;h=d7045fc2f6c97a8378ba40820754c8e52cb55745;hb=988d24be77a9081d810a390db84687d62f49d8d2;hp=df41859dabcbd4547416e1089a963416b74520e9;hpb=c03e30cf98e6ae87cd0d1daf4fbd444459572568;p=packages%2Fabiword.git diff --git a/abiword.spec b/abiword.spec index df41859..d7045fc 100644 --- a/abiword.spec +++ b/abiword.spec @@ -1,29 +1,27 @@ # -# TODO: -# - installed, but unpackaged files -# /usr/share/mime-info/abiword.keys -# -%bcond_without gda # libgda support +%bcond_with gda # libgda support %bcond_without goffice # without plugin-goffice %bcond_without gnome # without GNOME libs %bcond_with gnomevfs # gnome-vfs support %bcond_with ots # try build plugin-ots (requires ots >= 0.5.0) # -%define mver 2.8 +%define mver 3.0 # Summary: Multi-platform word processor Summary(pl.UTF-8): Wieloplatformowy procesor tekstu Name: abiword -Version: 2.8.2 -Release: 5 +Version: 3.0.1 +Release: 1 Epoch: 1 -License: GPL +License: GPL v2+ Group: X11/Applications/Editors Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz -# Source0-md5: b44ffbebd5bd0f5f98f34dc8c688b4ed +# Source0-md5: f3f8052e7b4979a43b75775a381e6cb8 Patch0: %{name}-desktop.patch Patch1: %{name}-mht.patch -Patch2: %{name}-libwpd.patch +Patch2: %{name}-librevenge.patch +Patch3: %{name}-link-grammar-5.patch +Patch4: %{name}-link-grammar-5-second.patch URL: http://www.abisource.com/ BuildRequires: aiksaurus-gtk-devel >= 1.2.1 BuildRequires: autoconf @@ -33,6 +31,7 @@ BuildRequires: bzip2-devel BuildRequires: cairo-devel BuildRequires: enchant-devel >= 1.2.6 BuildRequires: eps-devel +BuildRequires: evolution-data-server-devel BuildRequires: fontconfig-devel >= 1:2.3.95 BuildRequires: fribidi-devel >= 0.10.4 BuildRequires: glib2-devel >= 1:2.12.1 @@ -40,7 +39,7 @@ BuildRequires: gtk+2-devel >= 2:2.12.0 BuildRequires: gtkmathview-devel >= 0.7.6 BuildRequires: gucharmap-devel >= 1.7.0 %if %{with gda} -BuildRequires: libgda-devel >= 1:1.2.3 +BuildRequires: libgda-devel >= 1:1.2.4-16 BuildRequires: libgnomedb-devel >= 1:1.2.0 %else Obsoletes: abiword-plugin-gda @@ -52,9 +51,9 @@ BuildRequires: libgoffice-devel >= 0.8.0 Obsoletes: abiword-plugin-goffice %endif BuildRequires: libgsf-devel >= 1.14.9 -#%{?with_gnomevfs:BuildRequires: libgsf-gnome-devel >= 1.14.1} BuildRequires: libjpeg-devel BuildRequires: libpng-devel +BuildRequires: librevenge-devel BuildRequires: librsvg-devel >= 1:2.16.0 BuildRequires: libtool BuildRequires: libwmf-devel >= 2:0.2.8.4 @@ -71,6 +70,7 @@ BuildRequires: pkgconfig >= 0.9.0 BuildRequires: popt-devel BuildRequires: psiconv-devel >= 0.9.6 BuildRequires: readline-devel +BuildRequires: sed >= 4.0 BuildRequires: t1lib-devel BuildRequires: wv-devel >= 1.2.1 Requires(post,postun): desktop-file-utils @@ -110,6 +110,7 @@ Obsoletes: abiword-plugin-sdw Obsoletes: abiword-plugin-t602 Obsoletes: abiword-plugin-urldict Obsoletes: abiword-plugin-wikipedia +Obsoletes: abiword-plugin-wordperfect Obsoletes: abiword-plugin-wml Obsoletes: abiword-plugin-xhtml Obsoletes: abiword-plugin-xslfo @@ -153,14 +154,14 @@ bliskoznacznych. %package plugin-collab Summary: Remote collaborate for AbiWord -Summary(pl): Zdalna współpraca dla AbiWorda +Summary(pl.UTF-8): Zdalna współpraca dla AbiWorda Group: X11/Applications/Editors Requires: %{name} = %{epoch}:%{version}-%{release} %description plugin-collab Allows to collaborate with a remote user. -%description plugin-collab -l pl +%description plugin-collab -l pl.UTF-8 Wtyczka pozwalająca na współpracę z innym użytkownikiem przez sieć. %package plugin-command @@ -316,12 +317,9 @@ Jest to teczka clipartów używanych przez AbiWorda. %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 - -# use generic icon name -sed -i -e 's|abiword_48.png|abiword.png|' Makefile.am -sed -i -e 's|abiword_48|abiword|' src/wp/ap/gtk/ap_UnixFrameImpl.cpp -mv abiword_48.png abiword.png +%patch2 -p0 +%patch3 -p1 +%patch4 -p1 %build %{__aclocal} -I . @@ -333,13 +331,7 @@ mv abiword_48.png abiword.png --disable-static \ --enable-clipart \ --enable-plugins=auto \ - --enable-printing \ - --enable-scripting \ - --enable-templates \ - --enable-threads \ - --with-libxml2 \ - --with-pspell \ - --with-sys-wv + --enable-templates %{__make} @@ -347,11 +339,10 @@ mv abiword_48.png abiword.png rm -rf $RPM_BUILD_ROOT %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT \ - icondir=%{_pixmapsdir} + DESTDIR=$RPM_BUILD_ROOT # Remove useless files -rm -f $RPM_BUILD_ROOT%{_libdir}/abiword-%{mver}/plugins/*.la +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/abiword-%{mver}/plugins/*.la %clean rm -rf $RPM_BUILD_ROOT @@ -377,9 +368,13 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/abiword-%{mver}/templates %{_datadir}/abiword-%{mver}/ui %{_datadir}/abiword-%{mver}/xsltml +%{_datadir}/abiword-%{mver}/mime-info +%{_datadir}/abiword-%{mver}/omml_xslt %{_desktopdir}/*.desktop -%{_pixmapsdir}/*.png +%{_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 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/applix.so @@ -388,6 +383,7 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/clarisworks.so %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/docbook.so %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/eml.so +%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/epub.so %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/freetranslation.so %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/garble.so %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/gdict.so @@ -416,7 +412,7 @@ 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/wpg.so %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/xslfo.so %files devel @@ -428,6 +424,8 @@ rm -rf $RPM_BUILD_ROOT %files plugin-aiksaurus %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/aiksaurus.so +%attr(755,root,root) %{_libdir}/libAiksaurusGtk3--export-dynamic.so +%attr(755,root,root) %{_libdir}/libAiksaurusGtk3.so %files plugin-collab %defattr(644,root,root,755) @@ -475,9 +473,9 @@ rm -rf $RPM_BUILD_ROOT %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 +#%files plugin-wordperfect +#%defattr(644,root,root,755) +#%attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/wordperfect.so %files clipart %defattr(644,root,root,755)