1 Summary: AbiWord - advanced wordprocessor
2 Summary(pl): AbiWord - zaawansowany procesor tekstu
7 Group: X11/Applications
8 Source0: http://savannah.gnu.org/download/abiword/1.0.0/source/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
10 URL: http://www.abisource.com/
11 BuildRequires: ImageMagick-c++-devel
12 BuildRequires: ImageMagick-devel
13 BuildRequires: ORBit-devel
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: bzip2-devel
17 BuildRequires: expat-devel
18 BuildRequires: gettext-devel
19 BuildRequires: gnome-libs-devel
20 BuildRequires: libjpeg-devel
21 BuildRequires: libpng-devel
22 BuildRequires: libtool
23 BuildRequires: libxml2-devel
24 BuildRequires: pspell-devel
25 BuildRequires: readline-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _prefix /usr/X11R6
29 %define _mandir %{_prefix}/man
30 %define _sysconfdir /etc/X11/GNOME
33 AbiWord is a free word processing program similar to Microsoft Word.
34 It is suitable for typing papers, letters, reports, memos, and so
38 AbiWord jest darmowym procesorem tekstu podobnym do Microsoft Word.
39 Jest idealnym narzêdziem do pisania dokumentów, listów, raportów itp.
47 gettextize --copy --force
48 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
49 CPPFLAGS="`pkg-config libpng12 --cflags`"
51 %configure CPPFLAGS="$CPPFLAGS" \
58 %{__make} -f GNUmakefile
61 find . -name autogen.sh -type f -exec /bin/sh -c "echo \"libtoolize --copy --force\" >> {}" ";"
62 ./autogen.sh; ./autogen.sh
63 %configure CPPFLAGS="$CPPFLAGS `%{_bindir}/gtk-config --cflags`" \
67 %{__make} -f GNUmakefile
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_bindir},%{_applnkdir}/Office/Wordprocessors,%{_pixmapsdir}}
73 %{__make} -C abi -f GNUmakefile install \
74 DESTDIR=$RPM_BUILD_ROOT
75 %{__make} -C abiword-plugins -f GNUmakefile install \
76 DESTDIR=$RPM_BUILD_ROOT
78 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Wordprocessors
79 install $RPM_BUILD_ROOT%{_datadir}/AbiSuite/icons/abiword_48.png $RPM_BUILD_ROOT%{_pixmapsdir}
84 rm -rf $RPM_BUILD_ROOT
87 %defattr(644,root,root,755)
88 %doc abi/docs/*.abw abi/*.gz
89 %attr(755,root,root) %{_bindir}/[At]*
91 %{_applnkdir}/Office/Wordprocessors/*