update to 43.0 [release 43.0-1mamba;Tue Nov 08 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 22:07:08 +01:00
parent 83936f1316
commit b2c9ec2d65

View File

@ -1,8 +1,9 @@
%define MAJver %(echo %version | cut -d. -f 1)
%define majver %(echo %version | cut -d. -f 1-2)
%define with_ca_mgr 1
%define with_seed 0
Name: epiphany
Version: 41.2
Version: 43.0
Release: 1mamba
Summary: The web browser for the GNOME desktop
Group: Graphical Desktop/Applications/Internet
@ -47,7 +48,7 @@ BuildRequires: libsqlite-devel
BuildRequires: libwebkit2gtk-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: gnome-desktop-devel >= 3.18.2-1mamba
BuildRequires: gnome-desktop-devel >= %{MAJver}
%if %with_seed
BuildRequires: seed-devel
%endif
@ -81,7 +82,6 @@ BuildRequires: libsasl-devel
BuildRequires: libssh2-devel
BuildRequires: pygtk-devel
BuildRequires: python-gnome-devel
BuildRequires: libgnome-desktop-devel >= %{majver}
BuildRequires: libdazzle-devel
BuildRequires: libhandy-devel
BuildRequires: libportal-devel
@ -132,74 +132,23 @@ This package contains %{name} api docunentation.
%prep
%setup -q
#%patch0 -p1
# TODO
#%patch1 -p1
#sed -i "s|<default>file:///usr/share/epiphany/bookmarks/0-openmamba-default-bookmars2.html</default>|<default>http://www.openmamba.org/</default>|" data/epiphany.schemas.in
#%patch2
#%patch3
#%patch4 -p0
#-D -T
#:<< _EOF
cat >> data/default-prefs-common.js << EOF
pref("general.useragent.vendor", "openmamba");
pref("general.useragent.vendorSub", "%{version}-%{release}");
EOF
#for p in $(find . -name "*.py"); do
# sed -i 's|#!python|#!%{__python}|' $p
# sed -i 's|#! python|#!%{__python}|' $p
# sed -i 's|#!/usr/bin/python|#!%{__python}|' $p
# sed -i 's|#!/usr/bin/env python|#!%{__python}|' $p
# sed -i 's|#! /usr/bin/env python|#!%{__python}|' $p
#done
#sed -i "s|python2.5|python2.6|" configure
%build
#:<< _EOF
%meson
#\
# -Ddistributor_name=openmamba \
%meson_build
##autoreconf -i -f
#export RPM_OPT_FLAGS="$(echo %{optflags} | %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//')"
#% configure \
#--with-ca-file=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
#--enable-debug \
#--with-distributor-name=openmamba \
#%if %with_seed
#--enable-introspection=yes \
#--enable-seed \
#%else
#--enable-introspection=no \
#%endif
# --enable-network-manager \
# --disable-schemas-install \
# --disable-scrollkeeper \
# --enable-nss \
# --enable-zeroconf \
#--enable-gtk-doc \
#PYTHON=%{__python}
## http://bugzilla.gnome.org/show_bug.cgi?id=474987
#cd po
#grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep
#mv POTFILES.keep POTFILES.in
#intltool-update --pot
#for p in *.po; do
#msgmerge $p %{name}.pot > $p.out
#msgfmt -o `basename $p .po`.gmo $p.out
#done
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
#% makeinstall
#unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
:<< __OLD
mkdir -p %{buildroot}%{_datadir}/pixmaps
@ -241,7 +190,7 @@ ln -sf %{majver}/plugins %{buildroot}%{_libdir}/epiphany/plugins
ln -sf %{majver}/extensions %{buildroot}%{_libdir}/epiphany/extensions
__OLD
%find_lang %{name}
%find_lang %{name} --with-gnome
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -290,12 +239,14 @@ fi
%{_libdir}/epiphany/libephymain.so
%{_libdir}/epiphany/libephymisc.so
%{_libdir}/epiphany/libephysync.so
%{_libdir}/epiphany/web-process-extensions/libephywebprocessextension.so
%dir %{_libdir}/epiphany/web-process-extensions
%{_libdir}/epiphany/web-process-extensions/lib*.so
%{_libexecdir}/epiphany-webapp-provider
%dir %{_libexecdir}/epiphany
%{_libexecdir}/epiphany/ephy-profile-migrator
%{_libexecdir}/epiphany-search-provider
%{_datadir}/applications/org.gnome.Epiphany.desktop
%{_datadir}/dbus-1/services/org.gnome.Epiphany.SearchProvider.service
%{_datadir}/dbus-1/services/org.gnome.Epiphany.*.service
%{_datadir}/gnome-shell/search-providers/org.gnome.Epiphany.SearchProvider.ini
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Epiphany.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Epiphany-symbolic.svg
@ -307,8 +258,8 @@ fi
%if %with_seed
%{_datadir}/gir-*/Epiphany-*.gir
%endif
%dir %{_datadir}/help/*/epiphany
%{_datadir}/help/*/epiphany/*
#%dir %{_datadir}/help/*/epiphany
#%{_datadir}/help/*/epiphany/*
%{_mandir}/man1/epiphany.1*
%doc COPYING
@ -326,6 +277,9 @@ fi
#%doc %{_datadir}/gtk-doc/html/epiphany/*
%changelog
* Tue Nov 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 43.0-1mamba
- update to 43.0
* Fri Dec 17 2021 Automatic Build System <autodist@mambasoft.it> 41.2-1mamba
- automatic version update by autodist