X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=abiword.spec;h=d7045fc2f6c97a8378ba40820754c8e52cb55745;hb=988d24be77a9081d810a390db84687d62f49d8d2;hp=4cf6bdb45215bfa38d367a7a7691489a173d54d3;hpb=3585f14b4b2c24a662855a5c9728224ba6fc1d54;p=packages%2Fabiword.git diff --git a/abiword.spec b/abiword.spec index 4cf6bdb..d7045fc 100644 --- a/abiword.spec +++ b/abiword.spec @@ -1,33 +1,27 @@ # -# TODO: -# - installed, but unpackaged files -# /usr/share/mime-info/abiword.keys -# -%bcond_without gda # libgda support -%bcond_with goffice # without plugin-goffice +%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.6 -Release: 13 +Version: 3.0.1 +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: f883b0a7f26229a9c66fd6a1a94381aa +# Source0-md5: f3f8052e7b4979a43b75775a381e6cb8 Patch0: %{name}-desktop.patch Patch1: %{name}-mht.patch -Patch2: %{name}-libwpd.patch -Patch3: %{name}-link.patch -Patch4: %{name}-libpng15.patch -Patch5: glib.patch -Patch6: %{name}-format-security.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 @@ -37,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 @@ -56,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 @@ -115,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 @@ -321,16 +317,9 @@ Jest to teczka clipartów używanych przez AbiWorda. %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 +%patch2 -p0 %patch3 -p1 %patch4 -p1 -%patch5 -p1 -%patch6 -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 %build %{__aclocal} -I . @@ -342,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} @@ -356,8 +339,7 @@ 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 @@ -386,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 @@ -397,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 @@ -425,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 @@ -437,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) @@ -484,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)