Sisyphus repository
Last update: 27 january 2021 | SRPMs: 17788 | Visits: 20149737
en ru br
ALT Linux repos
5.0: 2.6.5-alt1
4.1: 2.6.4-alt2.M41.1
4.0: 2.5.2-alt2
3.0: 2.2.7-alt1

Other repositories

Group :: Office
RPM: abiword

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable gnome
Name: abiword
Summary: Lean and fast full-featured word processor
Version: 2.6.4
Release: alt2.M41.1
Group: Office
License: GPL
Packager: Damir Shayhutdinov <damir at>
Source1: abiword.desktop
Source6: abiword-48.png.bz2
Source7: abiword-32.png.bz2
Source8: abiword-16.png.bz2
Source10: abiword.keys
Source11: abiword.mime

Patch12: %name-be_BY at classic.patch
Patch13: %name-2.4.0-libgda.patch
Patch14: %name-2.4.0-libgnomedb.patch
Patch15: %name-2.4.1-gochart.patch

#AutoReq: yes, noshell

Obsoletes: abisuite, abisuite-koi8, abisuite-cp1251, abisuite-iso8859-8
BuildRequires: bzlib-devel gcc-c++ glibc-devel-static libaiksaurus-gtk-devel libenchant-devel
BuildRequires: libfribidi-devel libgda-devel libgtkmathview-devel libgnomeprintui-devel
BuildRequires: liblink-grammar-devel libncurses-devel libreadline-devel librsvg-devel libwmf-devel
BuildRequires: libwpd-devel linux-libc-headers perl-HTML-Tree t1lib-devel
BuildRequires: libwv-devel boost-devel libglade2-devel libpopt-devel
BuildRequires:  desktop-file-utils

AbiWord is a cross-platform, Open Source Word Processor developed
by the people at AbiSource, Inc. and by developers from around the world.
It is a lean and fast full-featured word processor. It works on Microsoft
Windows and most Unix Systems. Features include:

  * Basic character formatting (bold, underline, italics, etc.)
  * Paragraph alignment
  * Spell-check
  * Import of Word97 and RTF documents
  * Export to RTF, Text, HTML, and LaTeX formats
  * Document Templates
  * Interactive rulers and tabs
  * Styles
  * Unlimited undo/redo
  * Multiple column control
  * Widow/orphan control
  * Find/Replace
  * Images
  and much more...

%package devel
Group: Development/C++
Summary: Headers for Abiword plugins
Requires: %name = %version-%release
Requires: libfribidi-devel >= 0.10.4

%description devel
Headers and pkgconfig support for  Abiword plugin building.

%setup -q -b 2


%configure %{subst_enable gnome}  --with-sys-wv --enable-printing %--disable-gucharmap --enable-libabiword --disable-ots

export PKG_CONFIG_PATH=`pwd`
export LDFLAGS=-L`pwd`/src/wp/main/unix/

cd ../abiword-plugins-%version
%configure %{subst_enable gnome} --with-abiword=`pwd`/../abiword-%version %--enable-libabiword --disable-ots

%make_install DESTDIR=%buildroot install

cd ../abiword-plugins-%version
%make_install DESTDIR=%buildroot install

mkdir -p $RPM_BUILD_ROOT%_datadir/mime-info
mkdir -p $RPM_BUILD_ROOT%_libdir/abiword-2.6/plugins
install -m 644 %SOURCE10 %SOURCE11  $RPM_BUILD_ROOT%_datadir/mime-info

sed -i 's/fribidi >= 0.10.4//g' %buildroot%_pkgconfigdir/abiword-2.6.pc
# (fg) Icons
mkdir -p $RPM_BUILD_ROOT%_liconsdir
mkdir -p $RPM_BUILD_ROOT%_iconsdir
mkdir -p $RPM_BUILD_ROOT%_niconsdir
mkdir -p $RPM_BUILD_ROOT%_miconsdir
mkdir -p $RPM_BUILD_ROOT%_datadir/pixmaps
bzcat %SOURCE6 > $RPM_BUILD_ROOT%_liconsdir/abiword.png
bzcat %SOURCE7 > $RPM_BUILD_ROOT%_iconsdir/abiword.png
bzcat %SOURCE7 > $RPM_BUILD_ROOT%_niconsdir/abiword.png
bzcat %SOURCE8 > $RPM_BUILD_ROOT%_miconsdir/abiword.png

mv $RPM_BUILD_ROOT%_iconsdir/abiword_48.png $RPM_BUILD_ROOT%_datadir/pixmaps/

install -D %SOURCE1 %buildroot%_desktopdir/



%doc docs
%dir %_libdir/abiword-2.6
%dir %_libdir/abiword-2.6/plugins
%exclude %_libdir/abiword-2.6/plugins/*.la

%files devel


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin