]> git.pld-linux.org Git - packages/abiword.git/blobdiff - abiword.spec
- updated to 3.0.0
[packages/abiword.git] / abiword.spec
index 09d5d5a59e2a229257bbee8c92d6216d60e1ef19..e560ffab8c6029279562ba266f4c55869762c4c2 100644 (file)
@@ -1,26 +1,27 @@
 #
 # TODO:
 # - installed, but unpackaged files
-#         /usr/share/mime-info/abiword.keys
+#      %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.AbiCollab.service
+#      %{_datadir}/telepathy/clients/AbiCollab.client
 #
-%bcond_without gda             # libgda support
-%bcond_without goffice         # without plugin-goffice
+%bcond_with    gda             # libgda support
+%bcond_with    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:       2
+Version:       3.0.0
+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: 8d9c41cff3a8fbef8d0c835c65600e65
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-mht.patch
 URL:           http://www.abisource.com/
@@ -39,7 +40,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
@@ -57,9 +58,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
@@ -70,6 +71,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
@@ -152,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,11 +318,6 @@ Jest to teczka clipartów używanych przez AbiWorda.
 %patch0 -p1
 %patch1 -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 .
 %{__automake}
@@ -349,7 +346,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
@@ -375,9 +372,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
 %{_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
@@ -386,6 +387,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
@@ -414,7 +416,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
@@ -473,9 +475,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)
This page took 0.066074 seconds and 4 git commands to generate.