%define majversion %(echo %version | cut -d. -f 1-2) Name: abiword Version: 3.0.4 Release: 3mamba Summary: A free word processing program Group: Graphical Desktop/Applications/Office Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.abisource.com/ Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz Source4: abiword.mime Patch0: abiword-extras-2.6.0-build_datadir.patch Patch1: abiword-2.8.6-gcc-4.7.patch Patch2: abiword-2.8.6-libwpd-0.9.patch Patch3: abiword-2.8.6-libpng-1.5.patch Patch4: abiword-2.8.6-no-undefined.patch Patch5: abiword-3.0.1-link-grammar-5.patch Patch6: abiword-3.0.1-link-grammar-5-2.patch Patch7: abiword-3.0.1-link-grammar-5-3.patch Patch8: abiword-3.0.1-link-grammar-5-4.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXdmcp-devel BuildRequires: libaiksaurus-devel BuildRequires: libatk-devel BuildRequires: libblkid-devel BuildRequires: libbrotli-devel BuildRequires: libbsd-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libcares-devel BuildRequires: libcroco-devel BuildRequires: libcurl-devel BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libe2fs-devel BuildRequires: libenchant1-devel BuildRequires: libexpat-devel BuildRequires: libffi-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libfribidi-devel BuildRequires: libgcc BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgmp-devel BuildRequires: libgnutls-devel BuildRequires: libgoffice-devel BuildRequires: libgpg-error-devel BuildRequires: libgraphite2-devel BuildRequires: libgsf-devel BuildRequires: libgss-devel BuildRequires: libgtk-devel BuildRequires: libharfbuzz-devel BuildRequires: libhunspell-devel BuildRequires: libical-devel BuildRequires: libicu-devel BuildRequires: libidn-devel BuildRequires: libjpeg-devel BuildRequires: libkrb5-devel BuildRequires: liblink-grammar-devel BuildRequires: libloudmouth-devel BuildRequires: libltdl-devel BuildRequires: liblzma-devel BuildRequires: libmhash-devel BuildRequires: libmount-devel BuildRequires: libmpfr-devel BuildRequires: libncurses-devel BuildRequires: libnettle-devel BuildRequires: libnsl-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel BuildRequires: libp11-kit-devel BuildRequires: libpango-devel BuildRequires: libpcre-devel BuildRequires: libpcre2-devel BuildRequires: libpng-devel BuildRequires: libpsl-devel BuildRequires: libraptor2-devel BuildRequires: librasqal-devel BuildRequires: librdf-devel BuildRequires: librsvg-devel BuildRequires: librtmp-devel BuildRequires: libsasl2-devel BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: libspectre-devel BuildRequires: libsqlite-devel BuildRequires: libssh2-devel BuildRequires: libstdc++6-devel BuildRequires: libsystemd-devel BuildRequires: libtasn1-devel BuildRequires: libuuid-devel BuildRequires: libwmf-devel BuildRequires: libwv-devel BuildRequires: libxcb-devel BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: libyajl-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: valgrind-devel BuildRequires: ImageMagick BuildRequires: libboost-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %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. %debug_package %prep %setup -q %{name}-%{version} %build autoreconf --force --install %configure \ --with-libxml2 \ --enable-printing \ --enable-gnomevfs \ --enable-gnomeui \ --enable-libabiword \ --enable-shared \ --without-evolution-data-server \ --enable-plugins \ GRAMMAR_CFLAGS="-DHAVE_LINK_GRAMMAR_51" %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall # install the mime files install -D -m644 %{S:4} \ %{buildroot}%{_datadir}/mime-info/%{name}.mime %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %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 %{_datadir}/icons/* %{_datadir}/mime-info/abiword.mime #%{_datadir}/mime-info/abiword.keys %{_libdir}/libabiword-%{majversion}.so %{_libdir}/libAiksaurusGtk3--export-dynamic.so %{_libdir}/libAiksaurusGtk3.so %{_libdir}/abiword-%{majversion}/plugins/*.so %{_libdir}/abiword-%{majversion}/plugins/*.la %{_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 #%{_libdir}/abiword-%{majversion}/plugins/opendocument.a #%{_libdir}/libabiword-%{majversion}.a %{_libdir}/libabiword-%{majversion}.la %{_libdir}/libAiksaurusGtk3.la %{_libdir}/pkgconfig/abiword-%{majversion}.pc %changelog * 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