remove building internally docs package; added debug package [release 3.0.4-3mamba;Wed May 13 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 20:08:02 +01:00
parent 6718124e97
commit dd79564974

View File

@ -1,9 +1,8 @@
%define majversion %(echo %version | cut -d. -f 1-2) %define majversion %(echo %version | cut -d. -f 1-2)
%define docsversion 3.0.1
Name: abiword Name: abiword
Version: 3.0.4 Version: 3.0.4
Release: 1mamba Release: 3mamba
Summary: A free word processing program Summary: A free word processing program
Group: Graphical Desktop/Applications/Office Group: Graphical Desktop/Applications/Office
Vendor: openmamba Vendor: openmamba
@ -11,9 +10,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.abisource.com/ URL: http://www.abisource.com/
Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz
Source1: http://www.abisource.com/downloads/abiword/%{docsversion}/source/%{name}-docs-%{docsversion}.tar.gz
#Source2: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-extras-%{version}.tar.gz
#Source3: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-plugins-%{version}.tar.gz
Source4: abiword.mime Source4: abiword.mime
Patch0: abiword-extras-2.6.0-build_datadir.patch Patch0: abiword-extras-2.6.0-build_datadir.patch
Patch1: abiword-2.8.6-gcc-4.7.patch Patch1: abiword-2.8.6-gcc-4.7.patch
@ -27,21 +23,24 @@ Patch8: abiword-3.0.1-link-grammar-5-4.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libXau-devel BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel BuildRequires: libXdmcp-devel
BuildRequires: libaiksaurus-devel BuildRequires: libaiksaurus-devel
BuildRequires: libaspell-devel
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libcares-devel BuildRequires: libcares-devel
BuildRequires: libcroco-devel BuildRequires: libcroco-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libdb53-devel
BuildRequires: libdbus-devel BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel BuildRequires: libdbus-glib-devel
BuildRequires: libenchant-devel BuildRequires: libe2fs-devel
BuildRequires: libenchant1-devel
BuildRequires: libexpat-devel BuildRequires: libexpat-devel
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
@ -52,34 +51,52 @@ BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgmp-devel BuildRequires: libgmp-devel
BuildRequires: libgnutls-devel
BuildRequires: libgoffice-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
BuildRequires: libgraphite2-devel BuildRequires: libgraphite2-devel
BuildRequires: libgsf-devel BuildRequires: libgsf-devel
BuildRequires: libgss-devel BuildRequires: libgss-devel
BuildRequires: libgtk-devel BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel BuildRequires: libharfbuzz-devel
BuildRequires: libhunspell-devel
BuildRequires: libical-devel BuildRequires: libical-devel
BuildRequires: libicu-devel
BuildRequires: libidn-devel BuildRequires: libidn-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libkrb5-devel
BuildRequires: liblink-grammar-devel BuildRequires: liblink-grammar-devel
BuildRequires: libloudmouth-devel
BuildRequires: libltdl-devel BuildRequires: libltdl-devel
BuildRequires: liblzma-devel BuildRequires: liblzma-devel
BuildRequires: libmhash-devel BuildRequires: libmhash-devel
BuildRequires: libmount-devel
BuildRequires: libmpfr-devel BuildRequires: libmpfr-devel
BuildRequires: libncurses-devel
BuildRequires: libnettle-devel
BuildRequires: libnsl-devel
BuildRequires: libopenldap-devel BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libp11-kit-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpcre2-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libpsl-devel
BuildRequires: libraptor2-devel BuildRequires: libraptor2-devel
BuildRequires: librasqal-devel BuildRequires: librasqal-devel
BuildRequires: librdf-devel BuildRequires: librdf-devel
BuildRequires: librsvg-devel BuildRequires: librsvg-devel
BuildRequires: librtmp-devel BuildRequires: librtmp-devel
BuildRequires: libsasl-devel BuildRequires: libsasl2-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libspectre-devel
BuildRequires: libsqlite-devel
BuildRequires: libssh2-devel BuildRequires: libssh2-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtidy-html5-devel BuildRequires: libsystemd-devel
BuildRequires: libtasn1-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libwmf-devel BuildRequires: libwmf-devel
BuildRequires: libwv-devel BuildRequires: libwv-devel
@ -90,7 +107,7 @@ BuildRequires: libyajl-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: telepathy-glib-devel BuildRequires: telepathy-glib-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: liblink-grammar-devel >= 5.3.3-2mamba BuildRequires: liblink-grammar-devel >= 5.8.0
BuildRequires: aspell-devel >= 0.60.2 BuildRequires: aspell-devel >= 0.60.2
BuildRequires: desktop-file-utils >= 0.10 BuildRequires: desktop-file-utils >= 0.10
BuildRequires: libots >= 0.4.2 BuildRequires: libots >= 0.4.2
@ -115,25 +132,12 @@ It is suitable for typing papers, letters, reports, memos, and so forth.
This package provides files needed for development. This package provides files needed for development.
%debug_package
%prep %prep
%setup -q %{name}-%{version} -a1 %setup -q %{name}-%{version}
#-D -T
#:<< _EOF
# -a2 -a3
#cd abiword-extras-%{version}
#%patch0 -p1
#cd ..
#%patch1 -p1
#%patch2 -p0
#%patch3 -p1
#%patch4 -p1
#%patch5 -p1
#%patch6 -p1
#%patch7 -p2
#%patch8 -p2
%build %build
#:<< _EOF
autoreconf --force --install autoreconf --force --install
%configure \ %configure \
--with-libxml2 \ --with-libxml2 \
@ -146,41 +150,11 @@ autoreconf --force --install
--enable-plugins \ --enable-plugins \
GRAMMAR_CFLAGS="-DHAVE_LINK_GRAMMAR_51" GRAMMAR_CFLAGS="-DHAVE_LINK_GRAMMAR_51"
# FIXME: enable-libabiword does not work with 2.6.0, check again with later releases
# --enable-libabiword \
# --enable-shared
#_EOF
%make %make
#cd abiword-plugins-%{version}
#% configure \
# --prefix=%{_datadir}/AbiSuite \
# --enable-babelfish \
# --enable-wikipedia \
# --enable-freetranslation \
# --enable-bz2abw \
# --enable-gdkpixbuf \
# --with-abiword=..
#% make ABIWORD=`pwd`/../src/wp/main/unix/abiword
#cd ../abiword-extras-%{version}
#./autogen.sh
#% configure --with-abiword=..
#%make ABIWORD=`pwd`/../src/wp/main/unix/abiword
cd abiword-docs-%{docsversion}
%configure
#--with-abiword=..
%make
#ABIWORD=`pwd`/../src/wp/main/unix/abiword
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall %makeinstall
#% makeinstall -C abiword-plugins-%{version}
#% makeinstall -C abiword-extras-%{version}
%makeinstall -C abiword-docs-%{docsversion}
# install the mime files # install the mime files
install -D -m644 %{S:4} \ install -D -m644 %{S:4} \
@ -223,6 +197,12 @@ install -D -m644 %{S:4} \
%{_libdir}/pkgconfig/abiword-%{majversion}.pc %{_libdir}/pkgconfig/abiword-%{majversion}.pc
%changelog %changelog
* Wed May 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-3mamba
- remove building internally docs package; added debug package
* Tue May 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-2mamba
- rebuilt with liblink-grammar 5.8.0
* Sun Dec 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-1mamba * Sun Dec 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-1mamba
- update to 3.0.4 - update to 3.0.4