Репозитории ALT
S: | 3.0.5-alt1.2 |
D: | 2.5.2-alt1 |
5.1: | 2.8.4-alt0.M51.2 |
4.1: | 2.6.4-alt2.M41.1 |
4.0: | 2.5.2-alt2 |
3.0: | 2.2.7-alt1 |
Другие репозитории
Upstream: | 1.4rc5 |
Группа :: Офис
Пакет: abiword
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_enable gnome
%def_without gnomevfs
%def_with gucharmap
Name: abiword
Version: 2.8.4
Release: alt0.M51.2
Summary: Lean and fast full-featured word processor
Group: Office
License: GPL
Url: http://www.abisource.com/
Packager: Damir Shayhutdinov <damir at altlinux.ru>
Source: http://www.abisource.com/downloads/abiword/%version/source/abiword-%version.tar.gz
Source1: abiword.desktop
Source6: abiword-48.png.bz2
Source7: abiword-32.png.bz2
Source8: abiword-16.png.bz2
Source10: abiword.keys
Source11: abiword.mime
Patch: %name-2.8.1-headers.patch
#AutoReq: yes, noshell
Obsoletes: abisuite, abisuite-koi8, abisuite-cp1251, abisuite-iso8859-8
# Automatically added by buildreq on Thu May 06 2010 (-ba)
BuildRequires: boost-devel gcc-c++ libaiksaurus-gtk-devel libdbus-glib-devel
BuildRequires: libenchant-devel libfribidi-devel libglade-devel libgnomeoffice-devel
BuildRequires: libgtkmathview-devel libots-devel libreadline-devel librsvg-devel
BuildRequires: libtidy-devel libwmf-devel libwpg-devel libwv-devel
%if_enabled gnome
BuildRequires: libgnomeoffice-devel libgsf-gnome-devel
%endif
%{?_with_gnomevfs:BuildRequires: gnome-vfs-devel}
%{?_with_gucharmap:BuildRequires: libgucharmap-devel}
%description
AbiWord is a cross-platform, Open Source Word Processor developed
by the people at AbiSource, Inc. and by developers from around the world.
(http://www.abisource.com)
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.
%prep
%setup -q
%patch -p1 -b .headers
%build
%add_optflags -I %_includedir/libglade-2.0
%configure %{subst_with gnomevfs} \
%{subst_with gucharmap} \
--enable-print \
--enable-plugins \
--enable-templates \
--enable-clipart \
--enable-dynamic \
--disable-static
%make_build
%install
%make_install DESTDIR=%buildroot install
mkdir -p $RPM_BUILD_ROOT%_datadir/mime-info
mkdir -p $RPM_BUILD_ROOT%_libdir/abiword-2.8/plugins
install -m 644 %SOURCE10 %SOURCE11 $RPM_BUILD_ROOT%_datadir/mime-info
sed -i 's/fribidi >= 0.10.4//g' %buildroot%_pkgconfigdir/abiword-2.8.pc
# (fg) Icons
mkdir -p $RPM_BUILD_ROOT%_liconsdir
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%_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/
%files
#_bindir/AbiWord-2.6
%_bindir/abiword
%dir %_libdir/abiword-2.8
%dir %_libdir/abiword-2.8/plugins
%_miconsdir/*
%_liconsdir/*
%_niconsdir/%name.png
%_datadir/pixmaps/abiword_48.png
%_datadir/abiword-2.8
%_datadir/mime-info/*
%_desktopdir/abiword.desktop
%_libdir/abiword-2.8/plugins/*.so
%_libdir/libabiword-2.8.so
%exclude %_libdir/abiword-2.8/plugins/*.la
%_man1dir/*
%files devel
%_includedir/*
%_pkgconfigdir/*
#TODO: apply %%lang tags to localized files /usr/share/abiword-2.8/strings/*.strings (5 Mb)
%changelog
…
Полный changelog можно просмотреть здесь
%def_without gnomevfs
%def_with gucharmap
Name: abiword
Version: 2.8.4
Release: alt0.M51.2
Summary: Lean and fast full-featured word processor
Group: Office
License: GPL
Url: http://www.abisource.com/
Packager: Damir Shayhutdinov <damir at altlinux.ru>
Source: http://www.abisource.com/downloads/abiword/%version/source/abiword-%version.tar.gz
Source1: abiword.desktop
Source6: abiword-48.png.bz2
Source7: abiword-32.png.bz2
Source8: abiword-16.png.bz2
Source10: abiword.keys
Source11: abiword.mime
Patch: %name-2.8.1-headers.patch
#AutoReq: yes, noshell
Obsoletes: abisuite, abisuite-koi8, abisuite-cp1251, abisuite-iso8859-8
# Automatically added by buildreq on Thu May 06 2010 (-ba)
BuildRequires: boost-devel gcc-c++ libaiksaurus-gtk-devel libdbus-glib-devel
BuildRequires: libenchant-devel libfribidi-devel libglade-devel libgnomeoffice-devel
BuildRequires: libgtkmathview-devel libots-devel libreadline-devel librsvg-devel
BuildRequires: libtidy-devel libwmf-devel libwpg-devel libwv-devel
%if_enabled gnome
BuildRequires: libgnomeoffice-devel libgsf-gnome-devel
%endif
%{?_with_gnomevfs:BuildRequires: gnome-vfs-devel}
%{?_with_gucharmap:BuildRequires: libgucharmap-devel}
%description
AbiWord is a cross-platform, Open Source Word Processor developed
by the people at AbiSource, Inc. and by developers from around the world.
(http://www.abisource.com)
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.
%prep
%setup -q
%patch -p1 -b .headers
%build
%add_optflags -I %_includedir/libglade-2.0
%configure %{subst_with gnomevfs} \
%{subst_with gucharmap} \
--enable-print \
--enable-plugins \
--enable-templates \
--enable-clipart \
--enable-dynamic \
--disable-static
%make_build
%install
%make_install DESTDIR=%buildroot install
mkdir -p $RPM_BUILD_ROOT%_datadir/mime-info
mkdir -p $RPM_BUILD_ROOT%_libdir/abiword-2.8/plugins
install -m 644 %SOURCE10 %SOURCE11 $RPM_BUILD_ROOT%_datadir/mime-info
sed -i 's/fribidi >= 0.10.4//g' %buildroot%_pkgconfigdir/abiword-2.8.pc
# (fg) Icons
mkdir -p $RPM_BUILD_ROOT%_liconsdir
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%_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/
%files
#_bindir/AbiWord-2.6
%_bindir/abiword
%dir %_libdir/abiword-2.8
%dir %_libdir/abiword-2.8/plugins
%_miconsdir/*
%_liconsdir/*
%_niconsdir/%name.png
%_datadir/pixmaps/abiword_48.png
%_datadir/abiword-2.8
%_datadir/mime-info/*
%_desktopdir/abiword.desktop
%_libdir/abiword-2.8/plugins/*.so
%_libdir/libabiword-2.8.so
%exclude %_libdir/abiword-2.8/plugins/*.la
%_man1dir/*
%files devel
%_includedir/*
%_pkgconfigdir/*
#TODO: apply %%lang tags to localized files /usr/share/abiword-2.8/strings/*.strings (5 Mb)
%changelog
…
Полный changelog можно просмотреть здесь