Sisyphus repository
Last update: 21 february 2020 | SRPMs: 17500 | Visits: 17448660
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 

%define name abiword
%define version 2.2.7

%define release alt1
%define build_cvs 0

Name: %name
Summary: Lean and fast full-featured word processor
Version: %version
Release: %release
Group: Office
License: GPL
%if %build_cvs
Source6: abiword-48.png.bz2
Source7: abiword-32.png.bz2
Source8: abiword-16.png.bz2
Source10: abiword.keys
Source11: abiword.mime
Source12: be-templates.tar
Source13: be-profiles.tar

#Patch10: %name-2.1.2-gda.patch

#Patch11: %name-2.1.2-belarusian.patch
Patch12: %name-2.1.3-be_SU.patch

AutoReq: yes, noshell
Obsoletes: abisuite, abisuite-koi8, abisuite-cp1251, abisuite-iso8859-8
BuildPreReq: gcc-c++-common
BuildPreReq: gcc >= 3.4.3
BuildPreReq: gcc-c++ >= 3.4.3
# Automatically added by buildreq on Tue Apr 27 2004
BuildRequires: ORBit2-devel libexpat-devel libots-devel libwpd-devel XFree86-devel XFree86-libs bzlib-devel esound fontconfig-devel freetype2-devel glib2-devel gnome-libs-devel gnome-vfs2-devel libGConf2-devel libart_lgpl-devel libatk-devel libbonobo2-devel libbonoboui-devel libcroco-devel libeel2-devel libenchant-devel libfribidi-devel libgail-devel libglade2-devel libgnome-devel libgnome-keyring libgnomecanvas-devel libgnomeprint2-devel libgnomeprintui-devel libgnomeui-devel libgsf-devel libgtk+2-devel libgucharmap-devel libjpeg-devel libnautilus-devel libncurses-devel libpango-devel libpng-devel libpopt-devel libreadline-devel librsvg2-devel libstdc++-devel libwmf-devel libxml2-devel pkgconfig python-dev zlib-devel

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...

%if %build_cvs
%setup -q -n %name
%setup -q -n %name-%version
#%patch10 -p1
#%patch11 -p1
%patch12 -p1

cd abi

%if %build_cvs
./ --prefix=%prefix
%configure --enable-gnome
%configure --enable-gnome
cd ../abiword-plugins
%if %build_cvs
%configure --disable-magick --enable-AbiGdkPixbuf
%configure --disable-magick --enable-AbiGdkPixbuf
cd abi
cd ../abiword-plugins

mkdir -p $RPM_BUILD_ROOT%_datadir/mime-info
install -m 644 %SOURCE10 %SOURCE11  $RPM_BUILD_ROOT%_datadir/mime-info

# (fg) Icons

mkdir -p $RPM_BUILD_ROOT%_liconsdir
mkdir -p $RPM_BUILD_ROOT%_iconsdir
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 %SOURCE8 > $RPM_BUILD_ROOT%_miconsdir/abiword.png

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

# (fg) Menu entry

mkdir -p $RPM_BUILD_ROOT%_menudir
cat >$RPM_BUILD_ROOT%_menudir/%name <<EOF
?package(%name): command="%_bindir/abiword" section="Office/Wordprocessors" \
icon="abiword.png" needs="x11" title="AbiWord" \
longtitle="RTF and Microsoft Word (up to 97) document editor"

# be profiles

tar xf %SOURCE12 -C $RPM_BUILD_ROOT%_datadir/AbiSuite-2.2/

# be templates

tar xf %SOURCE13 -C $RPM_BUILD_ROOT%_datadir/AbiSuite-2.2/AbiWord/



%doc abi/docs


Full changelog you can see here

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