%define majversion %(echo %version | cut -d. -f 1-2) Name: abiword Version: 3.0.6 Release: 1mamba Summary: A free word processing program Group: Graphical Desktop/Applications/Office Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://gitlab.gnome.org/World/AbiWord Source0: https://gitlab.gnome.org/World/AbiWord.git/release-%{version}/AbiWord-%{version}.tar.bz2 Source4: abiword.mime Patch0: abiword-3.0.6-enchant-2.8.2.patch Patch1: abiword-3.0.6-xp-RealmConnection-add_missing_headers.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: clutter-gtk-devel BuildRequires: evolution-data-server-devel BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libXrandr-devel BuildRequires: libaiksaurus-devel BuildRequires: libat-spi2-core-devel BuildRequires: libcairo-devel BuildRequires: libchamplain-devel BuildRequires: libclutter-devel BuildRequires: libcogl-devel BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libdrm-devel BuildRequires: libe2fs-devel BuildRequires: libenchant1-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libfribidi-devel BuildRequires: libgcc BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libglvnd-devel BuildRequires: libgnutls-devel BuildRequires: libgoffice-devel BuildRequires: libgsf-devel BuildRequires: libgtk3-devel BuildRequires: libharfbuzz-devel BuildRequires: libical-devel BuildRequires: libjpeg-turbo BuildRequires: libjson-glib-devel BuildRequires: libkrb5-devel BuildRequires: liblink-grammar-devel BuildRequires: libloudmouth-devel BuildRequires: libmesa-devel BuildRequires: libnettle-devel BuildRequires: libnsl-devel BuildRequires: libpango-devel BuildRequires: libpng-devel BuildRequires: libraptor2-devel BuildRequires: librasqal-devel BuildRequires: librdf-devel BuildRequires: libreadline-devel BuildRequires: librsvg-devel BuildRequires: libsoup-devel BuildRequires: libsoup2-devel BuildRequires: libstdc++6-devel BuildRequires: libtasn1-devel BuildRequires: libwayland-devel BuildRequires: libwayland-egl-devel BuildRequires: libwmf-devel BuildRequires: libwv-devel BuildRequires: libxkbcommon-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: libz-devel BuildRequires: telepathy-glib-devel ## AUTOBUILDREQ-END BuildRequires: liblink-grammar-devel >= 5.8.0 BuildRequires: aspell-devel >= 0.60.2 BuildRequires: desktop-file-utils >= 0.10 BuildRequires: libots >= 0.4.2 BuildRequires: libaiksaurus >= 1.2.1 BuildRequires: libgs >= 10.01.2 BuildRequires: valgrind-devel BuildRequires: ImageMagick BuildRequires: libboost-devel %description AbiWord is a free word processing program similar to Microsoft Word. It is suitable for typing papers, letters, reports, memos, and so forth. %package devel Summary: Development package for AbiWord Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel AbiWord is a free word processing program similar to Microsoft Word. It is suitable for typing papers, letters, reports, memos, and so forth. This package provides files needed for development. %prep %setup -q -n AbiWord-%{version} #-D -T %patch 0 -p1 -b .enchant-2.8.2 %patch 1 -p1 NOCONFIGURE=1 ./autogen.sh %build #:<< _EOF export CXXFLAGS="-std=c++14 %{optflags} -DASIO_ENABLE_BOOST" %configure \ --enable-plugins \ --enable-clipart \ --enable-introspection \ --enable-templates \ --enable-shared # GRAMMAR_CFLAGS="-DHAVE_LINK_GRAMMAR_51" %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/* %dir %{_datadir}/abiword-%{majversion} %{_datadir}/abiword-%{majversion}/* %{_datadir}/applications/abiword.desktop %{_datadir}/appdata/abiword.appdata.xml %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.AbiCollab.service %{_datadir}/telepathy/clients/AbiCollab.client %{_libdir}/libabiword-%{majversion}.so %{_libdir}/libAiksaurusGtk3--export-dynamic.so %{_libdir}/libAiksaurusGtk3.so %{_libdir}/girepository-1.0/Abi-3.0.typelib %{_libdir}/abiword-%{majversion}/plugins/*.so %{_datadir}/icons/hicolor/*/apps/abiword.png %{_datadir}/icons/hicolor/scalable/apps/abiword.svg %{_mandir}/man1/abiword.1* %files devel %defattr(-,root,root) %{_includedir}/abiword-%{majversion}/abiwidget.h %{_includedir}/abiword-%{majversion}/libabiword.h %{_includedir}/abiword-%{majversion}/xap_UnixTableWidget.h %{_datadir}/gir-1.0/Abi-3.0.gir %{_libdir}/pkgconfig/abiword-%{majversion}.pc %changelog * Mon Nov 25 2024 Silvan Calarco 3.0.6-1mamba - update to 3.0.6 * Mon Sep 04 2023 Silvan Calarco 3.0.5-2mamba - rebuilt with ghostscript 10 * Sun Jul 04 2021 Automatic Build System 3.0.5-1mamba - automatic version update by autodist * Wed May 13 2020 Silvan Calarco 3.0.4-3mamba - remove building internally docs package; added debug package * Tue May 12 2020 Silvan Calarco 3.0.4-2mamba - rebuilt with liblink-grammar 5.8.0 * Sun Dec 01 2019 Silvan Calarco 3.0.4-1mamba - update to 3.0.4 * Mon Oct 24 2016 Automatic Build System 3.0.2-1mamba - automatic version update by autodist * Fri Mar 11 2016 Silvan Calarco 3.0.1-2mamba - rebuilt by autoport with build requirements: liblink-grammar-devel>=5.3.3-2mamba * Sat Jan 17 2015 Automatic Build System 3.0.1-1mamba - automatic version update by autodist * Sun Oct 12 2014 Silvan Calarco 3.0.0-3mamba - rebuilt with updated libwps, libwpg, libwpd * Mon May 05 2014 Silvan Calarco 3.0.0-2mamba - rebuilt with --enable-plugins * Sun Dec 01 2013 Automatic Build System 3.0.0-1mamba - automatic version update by autodist * Mon Dec 10 2012 Silvan Calarco 2.8.6-4mamba - rebuilt with libwv 1.2.9 * Thu Aug 16 2012 Silvan Calarco 2.8.6-3mamba - rebuilt with libgsf 1.14.23 * Thu Dec 16 2010 Automatic Build System 2.8.6-2mamba - automatic rebuild by autodist * Mon Jun 14 2010 Automatic Build System 2.8.6-1mamba - automatic update to 2.8.6 by autodist * Mon May 31 2010 Automatic Build System 2.8.5-1mamba - automatic update to 2.8.5 by autodist * Thu Apr 15 2010 Automatic Build System 2.8.4-1mamba - automatic update to 2.8.4 by autodist * Sat Apr 03 2010 Automatic Build System 2.8.3-1mamba - automatic update to 2.8.3 by autodist * Sat Feb 13 2010 Automatic Build System 2.8.2-1mamba - automatic update to 2.8.2 by autodist * Sat Oct 31 2009 Automatic Build System 2.8.1-1mamba - update to 2.8.1 * Fri May 08 2009 Automatic Build System 2.6.8-2mamba - automatic rebuild by autodist * Tue Mar 10 2009 Silvan Calarco 2.6.8-1mamba - automatic update to 2.6.8 by autodist * Sun Mar 08 2009 Silvan Calarco 2.6.7-1mamba - automatic update to 2.6.7 by autodist * Tue Jan 13 2009 Silvan Calarco 2.6.6-2mamba - rebuilt against libwv 1.2.4 * Sun Jan 11 2009 Silvan Calarco 2.6.6-1mamba - automatic update to 2.6.6 by autodist * Tue Nov 25 2008 Silvan Calarco 2.6.5-1mamba - automatic update to 2.6.5 by autodist * Mon Jul 21 2008 gil 2.6.4-1mamba - update to 2.6.4 * Mon Jun 02 2008 Silvan Calarco 2.6.3-1mamba - update to 2.6.3 * Wed Mar 19 2008 Silvan Calarco 2.6.0-1mamba - update to 2.6.0 - updated package maintainer * Mon Nov 06 2006 Davide Madrisan 2.4.6-1qilnx - update to version 2.4.6 by autospec * Tue Jul 04 2006 Davide Madrisan 2.4.5-2qilnx - updated post and postun scripts * Sun Jul 02 2006 Davide Madrisan 2.4.5-1qilnx - update to version 2.4.5 by autospec - executes gdk-pixbuf-query-loaders in %%post and %%postun scripts * Thu Apr 13 2006 Davide Madrisan 2.4.4-1qilnx - update to version 2.4.4 by autospec * Wed Feb 22 2006 Davide Madrisan 2.4.2-1qilnx - new desktop file stolen from kappfinder archive - own %{_libdir}/AbiWord-%{majversion} directory - cleanups and fixes on specfile - added some missing build requirements - plugins moved to main package and devel package removed * Tue Nov 22 2005 Alessandro Ramazzina 2.4.1-1qilnx - update to version 2.4.1 by autospec. - CAN-2005-2972: Fix several stack-based buffer overflows in the RTF importer * Tue Oct 04 2005 Alessandro Ramazzina 2.4.0-1qilnx - update to version 2.4.0 by autospec * Wed Aug 10 2005 Alessandro Ramazzina 2.2.8-3qilnx - changed the system menu entry from %{_datadir}/applnk/Utilites to %{_datadir}/applnk/Applications * Wed Aug 10 2005 Alessandro Ramazzina 2.2.8-2qilnx - removed %%post and %%postun entries. * Wed Jul 27 2005 Alessandro Ramazzina 2.2.8-1qilnx - package created by autospec