automatic version update by autodist [release 3.28.3.1-1mamba;Wed Sep 12 2018]

This commit is contained in:
Automatic Build System 2024-01-05 22:07:06 +01:00
parent 601561db4c
commit a449211d4a

View File

@ -2,13 +2,13 @@
%define with_ca_mgr 1
%define with_seed 0
Name: epiphany
Version: 3.22.7
Version: 3.28.3.1
Release: 1mamba
Summary: The web browser for the GNOME desktop
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org/projects/epiphany/
Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/%{majver}/epiphany-%{version}.tar.xz
Source1: epiphany-64.png
@ -183,38 +183,41 @@ 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
#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
#sed -i "s|python2.5|python2.6|" configure
%build
%meson \
-Ddistributor_name=openmamba \
#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}
%make
%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
@ -228,10 +231,12 @@ export RPM_OPT_FLAGS="$(echo %{optflags} | %{__sed} -e 's/-O2/-Os/' -e 's/-Wall/
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%meson_install
#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
#% makeinstall
#unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
:<< __OLD
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m 644 %{S:1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
@ -269,6 +274,7 @@ done
mkdir -p %{buildroot}%{_libdir}/epiphany/%{majver}/{plugins,extensions}
ln -sf %{majver}/plugins %{buildroot}%{_libdir}/epiphany/plugins
ln -sf %{majver}/extensions %{buildroot}%{_libdir}/epiphany/extensions
__OLD
%find_lang %{name}
@ -312,48 +318,34 @@ fi
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/epiphany
%{_bindir}/ephy-profile-migrator
%if %with_seed
%{_libdir}/girepository-*/Epiphany-*.typelib
%endif
%dir %{_libdir}/epiphany/plugins
%dir %{_libdir}/epiphany/%{majver}/plugins
%dir %{_libdir}/epiphany/extensions
%dir %{_libdir}/epiphany/%{majver}/extensions
%dir %{_libdir}/epiphany/%{majver}/web-extensions
%{_libdir}/epiphany/%{majver}/web-extensions/libephywebextension.la
%{_libdir}/epiphany/%{majver}/web-extensions/libephywebextension.so
%dir %{_libdir}/epiphany
%{_libdir}/epiphany/libephymain.so
%{_libdir}/epiphany/libephymisc.so
%{_libdir}/epiphany/libephysync.so
%{_libdir}/epiphany/web-extensions/libephywebextension.so
%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}/gnome-shell/search-providers/org.gnome.Epiphany.search-provider.ini
%{_datadir}/icons/hicolor/*/apps/org.gnome.Epiphany.png
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Epiphany-symbolic.svg
%{_datadir}/metainfo/org.gnome.Epiphany.appdata.xml
%{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml
%{_datadir}/GConf/gsettings/epiphany.convert
%{_datadir}/appdata/epiphany.appdata.xml
#%{_datadir}/applications/bme.desktop
%{_datadir}/applications/epiphany.desktop
%{_datadir}/pixmaps/epiphany.png
%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
%{_datadir}/gnome-shell/search-providers/epiphany-search-provider.ini
%dir %{_datadir}/epiphany
%{_datadir}/epiphany/*.xml
%{_datadir}/epiphany/*.xsl
%{_datadir}/epiphany/about.ini
#%{_datadir}/epiphany/epiphany.xhtml
%dir %{_datadir}/epiphany/bookmarks
%attr(755,root,root) %{_datadir}/epiphany/bookmarks/*.html
%attr(644,root,root) %{_datadir}/epiphany/bookmarks/*.png
%attr(644,root,root) %{_datadir}/epiphany/bookmarks/*.gif
%attr(644,root,root) %{_datadir}/epiphany/bookmarks/*.xml
%{_datadir}/epiphany/default-bookmarks.rdf
%{_datadir}/glib-2.0/schemas/org.gnome.epiphany.host.gschema.xml
%if %with_seed
%{_datadir}/gir-*/Epiphany-*.gir
%endif
%dir %{_datadir}/epiphany/pages
%{_datadir}/epiphany/pages/error.css
%dir %{_datadir}/help/*/epiphany
%{_datadir}/help/*/epiphany/*
%{_mandir}/man1/epiphany.1.gz
%doc AUTHORS COPYING
%doc COPYING
#%files devel
#%defattr(-,root,root)
@ -369,6 +361,9 @@ fi
#%doc %{_datadir}/gtk-doc/html/epiphany/*
%changelog
* Wed Sep 12 2018 Automatic Build System <autodist@mambasoft.it> 3.28.3.1-1mamba
- automatic version update by autodist
* Mon Nov 20 2017 Automatic Build System <autodist@mambasoft.it> 3.22.7-1mamba
- automatic update by autodist