]> git.pld-linux.org Git - packages/abiword.git/blobdiff - abiword.spec
- release 13 (by relup.sh)
[packages/abiword.git] / abiword.spec
index af63bd7633a0f7bd766be79d175c612913942839..4cf6bdb45215bfa38d367a7a7691489a173d54d3 100644 (file)
@@ -4,9 +4,9 @@
 #         /usr/share/mime-info/abiword.keys
 #
 %bcond_without gda             # libgda support
+%bcond_with    goffice         # without plugin-goffice
 %bcond_without gnome           # without GNOME libs
 %bcond_with    gnomevfs        # gnome-vfs support
-%bcond_with    goffice         # without plugin-goffice
 %bcond_with    ots             # try build plugin-ots (requires ots >= 0.5.0)
 #
 %define                mver    2.8
 Summary:       Multi-platform word processor
 Summary(pl.UTF-8):     Wieloplatformowy procesor tekstu
 Name:          abiword
-Version:       2.8.1
-Release:       5
+Version:       2.8.6
+Release:       13
 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: 284fe25289c160c3797b527a8aacad12
+# Source0-md5: f883b0a7f26229a9c66fd6a1a94381aa
 Patch0:                %{name}-desktop.patch
-Patch1:                libpngX.patch
-Patch2:                %{name}-mht.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
 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: cairo-devel
-#BuildRequires:        curl-devel
 BuildRequires: enchant-devel >= 1.2.6
 BuildRequires: eps-devel
 BuildRequires: fontconfig-devel >= 1:2.3.95
 BuildRequires: fribidi-devel >= 0.10.4
 BuildRequires: glib2-devel >= 1:2.12.1
-#BuildRequires:        gnome-scan-devel < 0.6
 BuildRequires: gtk+2-devel >= 2:2.12.0
 BuildRequires: gtkmathview-devel >= 0.7.6
 BuildRequires: gucharmap-devel >= 1.7.0
-%{?with_gda:BuildRequires:     libgda-devel >= 1:1.2.3}
-%{?with_gda:BuildRequires:     libgnomedb-devel >= 1:1.2.0}
-#BuildRequires:        libgnomeprintui-devel >= 2.12.1
+%if %{with gda}
+BuildRequires: libgda-devel >= 1:1.2.4-16
+BuildRequires: libgnomedb-devel >= 1:1.2.0
+%else
+Obsoletes:     abiword-plugin-gda
+%endif
 BuildRequires: libgnomeui-devel >= 2.15.91
-BuildRequires: libgoffice-devel >= 0.6.0
-%{?with_goffice:BuildRequires: libgoffice-devel >= 0.8.0}
+%if %{with goffice}
+BuildRequires: libgoffice-devel >= 0.8.0
+%else
+Obsoletes:     abiword-plugin-goffice
+%endif
 BuildRequires: libgsf-devel >= 1.14.9
 #%{?with_gnomevfs:BuildRequires:       libgsf-gnome-devel >= 1.14.1}
 BuildRequires: libjpeg-devel
@@ -55,9 +62,9 @@ BuildRequires:        libpng-devel
 BuildRequires: librsvg-devel >= 1:2.16.0
 BuildRequires: libtool
 BuildRequires: libwmf-devel >= 2:0.2.8.4
-BuildRequires: libwpd-devel >= 0.8.5
-BuildRequires: libwpg-devel >= 0.1.0
-BuildRequires: libwps-devel >= 0.1.0
+BuildRequires: libwpd-devel >= 0.9.0
+BuildRequires: libwpg-devel >= 0.2.0
+BuildRequires: libwps-devel >= 0.2.0
 BuildRequires: libxml2-devel >= 1:2.6.26
 BuildRequires: link-grammar-devel >= 4.2.1
 BuildRequires: loudmouth-devel >= 1.0.1
@@ -68,6 +75,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
@@ -150,14 +158,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
@@ -314,10 +322,14 @@ Jest to teczka clipartów używanych przez AbiWorda.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%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
+%{__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
@@ -348,7 +360,7 @@ rm -rf $RPM_BUILD_ROOT
        icondir=%{_pixmapsdir}
 
 # 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
@@ -376,6 +388,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/abiword-%{mver}/xsltml
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*.png
+%{_mandir}/man1/abiword.1*
 
 # These don't add any additional dependencies so there's no reason to split
 %attr(755,root,root) %{_libdir}/abiword-%{mver}/plugins/applix.so
This page took 0.090062 seconds and 4 git commands to generate.