automatic version update by autodist [release 43.0.2357.134-1mamba;Wed Jul 15 2015]

This commit is contained in:
Automatic Build System 2024-01-05 21:13:26 +01:00
parent ee897557d0
commit 12ab6e82a7

View File

@ -1,6 +1,6 @@
Name: chromium Name: chromium
Epoch: 3 Epoch: 3
Version: 41.0.2272.118 Version: 43.0.2357.134
Release: 1mamba Release: 1mamba
Summary: An open-source browser project that aims to build a safer, faster, and more stable way to experience the web Summary: An open-source browser project that aims to build a safer, faster, and more stable way to experience the web
Group: Graphical Desktop/Applications/Internet Group: Graphical Desktop/Applications/Internet
@ -155,7 +155,7 @@ Chromium is an open-source browser project that aims to build a safer, faster, a
%prep %prep
%setup -q %setup -q
#-D -T #-D -T
#:<< ___EOF #:<< _EOF
#mv home/chrome-svn/tarball/chromium/src/* . #mv home/chrome-svn/tarball/chromium/src/* .
#rm -rf home #rm -rf home
%patch0 -p2 %patch0 -p2
@ -191,7 +191,7 @@ python build/download_nacl_toolchains.py \
sync --extract sync --extract
%build %build
#:<< ___EOF #:<< _EOF
#ln -sf %{_bindir}/ld.gold third_party/gold/ld.gold #ln -sf %{_bindir}/ld.gold third_party/gold/ld.gold
#ln -sf %{_bindir}/ld.bfd third_party/gold/ld.bfd #ln -sf %{_bindir}/ld.bfd third_party/gold/ld.bfd
# Build with clang as a temporary solution to startup crash with GCC 4.9 # Build with clang as a temporary solution to startup crash with GCC 4.9
@ -298,15 +298,15 @@ ninja -C out/Release chrome chrome_sandbox chromedriver
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#cd src #cd src
install -d -m0755 %{buildroot}/opt/chromium/ %{buildroot}%{_bindir} install -d -m0755 %{buildroot}%{_libdir}/chromium/ %{buildroot}%{_bindir}
install -m0755 out/Release/chrome %{buildroot}/opt/chromium/ install -m0755 out/Release/chrome %{buildroot}%{_libdir}/chromium/chromium
install -m0755 out/Release/chrome_sandbox %{buildroot}/opt/chromium/chrome-sandbox install -m0755 out/Release/chrome_sandbox %{buildroot}%{_libdir}/chromium/chrome-sandbox
install -m0755 out/Release/chromedriver %{buildroot}/opt/chromium/chromedriver install -m0755 out/Release/chromedriver %{buildroot}%{_libdir}/chromium/chromedriver
cp out/Release/{*.pak,libffmpegsumo.so,libpdf.so} \ cp out/Release/{*.pak,libffmpegsumo.so} \
%{buildroot}/opt/chromium/ %{buildroot}%{_libdir}/chromium
cp out/Release/*.bin %{buildroot}/opt/chromium/ cp out/Release/*.bin %{buildroot}%{_libdir}/chromium/
install -m0755 chrome/tools/build/linux/chrome-wrapper %{buildroot}/opt/chromium/ install -m0755 chrome/tools/build/linux/chrome-wrapper %{buildroot}%{_libdir}/chromium/
#install -m0755 third_party/xdg-utils/scripts/xdg-settings %{buildroot}/opt/chromium/xdg-settings #install -m0755 third_party/xdg-utils/scripts/xdg-settings %{buildroot}/opt/chromium/xdg-settings
#%ifnarch arm #%ifnarch arm
@ -316,19 +316,18 @@ install -m0755 chrome/tools/build/linux/chrome-wrapper %{buildroot}/opt/chromium
##install -m0755 out/Release/ncdecode* %{buildroot}/opt/chromium/ ##install -m0755 out/Release/ncdecode* %{buildroot}/opt/chromium/
#%endif #%endif
%if "%cross_target_cpu" != "i586" %if "%cross_target_cpu" != "i586"
install -m0755 out/Release/protoc %{buildroot}/opt/chromium/ install -m0755 out/Release/protoc %{buildroot}%{_libdir}/chromium/
%endif %endif
#install -m0644 out/Release/resources.pak %{buildroot}/opt/chromium/ #install -m0644 out/Release/resources.pak %{buildroot}/opt/chromium/
install -D -m0644 out/Release/icudtl.dat %{buildroot}/opt/chromium/ install -D -m0644 out/Release/icudtl.dat %{buildroot}%{_libdir}/chromium
install -D -m0644 out/Release/chrome.1 %{buildroot}%{_mandir}/man1/chrome.1 install -D -m0644 out/Release/chrome.1 %{buildroot}%{_mandir}/man1/chromium.1
install -D -m0644 chrome/app/theme/chromium/product_logo_48.png %{buildroot}%{_datadir}/pixmaps/chrome.png install -D -m0644 chrome/app/theme/chromium/product_logo_48.png %{buildroot}%{_datadir}/pixmaps/chromium.png
cp -a out/Release/locales %{buildroot}/opt/chromium/ cp -a out/Release/locales %{buildroot}%{_libdir}/chromium/
ln -s /opt/chromium/chrome-wrapper %{buildroot}%{_bindir}/chromium #ln -s %{_libdir}/chromium/chrome-wrapper %{buildroot}%{_bindir}/chromium
ln -s /opt/chromium/chrome-wrapper %{buildroot}%{_bindir}/chrome
mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/chromium-devel.desktop << EOF cat > %{buildroot}%{_datadir}/applications/chromium.desktop << EOF
[Desktop Entry] [Desktop Entry]
Name=Chromium Browser Name=Chromium Browser
Name[it]=Browser Chromium Name[it]=Browser Chromium
@ -339,39 +338,57 @@ Comment[it]=Un browser open source pensato per un web più moderno
Exec=chromium --password-store=detect --ignore-gpu-blacklist %u Exec=chromium --password-store=detect --ignore-gpu-blacklist %u
Type=Application Type=Application
Terminal=0 Terminal=0
Icon=%{_datadir}/pixmaps/chrome.png Icon=%{_datadir}/pixmaps/chromium.png
Categories=Network; Categories=Network;
MimeType=text/html; MimeType=text/html;
X-KDE-StartupNotify=true X-KDE-StartupNotify=true
EOF EOF
cat > %{buildroot}%{_datadir}/applications/chromium-accelerated.desktop << EOF #cat > %{buildroot}%{_datadir}/applications/chromium-accelerated.desktop << EOF
[Desktop Entry] #[Desktop Entry]
Name=Chromium Browser (not GPU accelerated) #Name=Chromium Browser (not GPU accelerated)
Name[it]=Browser Chromium (senza accelerazioni GPU) #Name[it]=Browser Chromium (senza accelerazioni GPU)
GenericName=Web Browser #GenericName=Web Browser
GenericName[it]=Browser Web #GenericName[it]=Browser Web
Comment=An open-source browser to help move the web forward #Comment=An open-source browser to help move the web forward
Comment[it]=Un browser open source pensato per un web più moderno #Comment[it]=Un browser open source pensato per un web più moderno
Exec=chromium --password-store=detect %u #Exec=chromium --password-store=detect %u
Type=Application #Type=Application
Terminal=0 #Terminal=0
Icon=/usr/share/pixmaps/chrome.png #Icon=/usr/share/pixmaps/chrome.png
Categories=Network; #Categories=Network;
MimeType=text/html; #MimeType=text/html;
X-KDE-StartupNotify=true #X-KDE-StartupNotify=true
EOF #EOF
# install master_preferences file for first run and homepage customization # install master_preferences file for first run and homepage customization
install -m0644 %{SOURCE1} %{buildroot}/opt/chromium/master_preferences install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/chromium/master_preferences
#%find_lang %{name} #%find_lang %{name}
cat > %{buildroot}%{_bindir}/chromium << _EOF
#!/bin/bash
set -- "\${ARGS[@]}" "\$@"
if [ -r /opt/chromium/PepperFlash/manifest.json ]; then
PEPPER_FLASH_VERSION="\$(grep '"version":' /opt/chromium/PepperFlash/manifest.json | grep -Po '(?<=version": ")(?:\d|\.)*')"
exec %{_libdir}/chromium/chromium \\
--ppapi-flash-path=/opt/chromium/PepperFlash/libpepflashplayer.so \\
--ppapi-flash-version=\${PEPPER_FLASH_VERSION} "\$@"
else
exec %{_libdir}/chromium/chromium "\$@"
fi
_EOF
chmod 755 %{buildroot}%{_bindir}/chromium
# legacy favorites symlink
ln -s chromium.desktop %{buildroot}%{_datadir}/applications/chromium-devel.desktop
%post %post
/sbin/ldconfig /sbin/ldconfig
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
[ -e %{_kde4_bindir}/kickoffcfg ] && \ [ -e %{_kde4_bindir}/kickoffcfg ] && \
%{_kde4_bindir}/kickoffcfg --add-favorite %{_datadir}/applications/chromium-devel.desktop %{_kde4_bindir}/kickoffcfg --add-favorite %{_datadir}/applications/chromium.desktop
fi fi
: :
@ -379,53 +396,88 @@ fi
/sbin/ldconfig /sbin/ldconfig
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
[ -e %{_kde4_bindir}/kickoffcfg ] && \ [ -e %{_kde4_bindir}/kickoffcfg ] && \
%{_kde4_bindir}/kickoffcfg --del-favorite %{_datadir}/applications/chromium-devel.desktop %{_kde4_bindir}/kickoffcfg --del-favorite %{_datadir}/applications/chromium.desktop
fi fi
: :
%posttrans
/usr/bin/update-desktop-database -q
:
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/chromium %{_bindir}/chromium
%{_bindir}/chrome %{_datadir}/applications/chromium.desktop
%{_datadir}/applications/chromium-devel.desktop %{_datadir}/applications/chromium-devel.desktop
%{_datadir}/applications/chromium-accelerated.desktop %{_datadir}/pixmaps/chromium.png
%{_datadir}/pixmaps/chrome.png %dir %{_libdir}/chromium
%dir /opt/chromium %{_libdir}/chromium/chromium
/opt/chromium/chrome %{_libdir}/chromium/chromedriver
/opt/chromium/chromedriver %{_libdir}/chromium/*.pak
/opt/chromium/*.pak %{_libdir}/chromium/*.bin
/opt/chromium/*.bin %{_libdir}/chromium/chrome-wrapper
/opt/chromium/chrome-wrapper %attr(4755,root,root) %{_libdir}/chromium/chrome-sandbox
%attr(4755,root,root) /opt/chromium/chrome-sandbox %{_libdir}/chromium/icudtl.dat
#/opt/chromium/ffmpegsumo_nolink %{_libdir}/chromium/libffmpegsumo.so
/opt/chromium/icudtl.dat #/opt/chromium/libpdf.so
/opt/chromium/libffmpegsumo.so
/opt/chromium/libpdf.so
#/opt/chromium/nacl_helper #/opt/chromium/nacl_helper
#/opt/chromium/nacl_helper-bootstrap #/opt/chromium/nacl_helper-bootstrap
#/opt/chromium/libppGoogleNaClPluginChrome.so #/opt/chromium/libppGoogleNaClPluginChrome.so
#/opt/chromium/nacl_irt_*.nexe #/opt/chromium/nacl_irt_*.nexe
/opt/chromium/master_preferences %{_libdir}/chromium/master_preferences
#/opt/chromium/xdg-settings #/opt/chromium/xdg-settings
#%ifnarch arm #%ifnarch arm
#/opt/chromium/ncdecode* #/opt/chromium/ncdecode*
#%endif #%endif
%if "%cross_target_cpu" != "i586" %if "%cross_target_cpu" != "i586"
/opt/chromium/protoc %{_libdir}/chromium/protoc
%endif %endif
#%ifnarch arm #%ifnarch arm
#/opt/chromium/gen* #/opt/chromium/gen*
#/opt/chromium/re2c #/opt/chromium/re2c
#/opt/chromium/yasm #/opt/chromium/yasm
#%endif #%endif
/opt/chromium/locales %{_libdir}/chromium/locales
#/opt/chromium/resources %{_mandir}/man1/chromium.1*
%{_mandir}/man1/chrome.1*
%changelog %changelog
* Wed Jul 15 2015 Automatic Build System <autodist@mambasoft.it> 43.0.2357.134-1mamba
- automatic version update by autodist
* Wed Jul 08 2015 Automatic Build System <autodist@mambasoft.it> 43.0.2357.132-1mamba
- automatic version update by autodist
* Tue Jun 23 2015 Automatic Build System <autodist@mambasoft.it> 43.0.2357.130-1mamba
- automatic version update by autodist
* Fri Jun 12 2015 Automatic Build System <autodist@mambasoft.it> 43.0.2357.125-1mamba
- automatic version update by autodist
* Thu Jun 11 2015 Automatic Build System <autodist@mambasoft.it> 43.0.2357.124-1mamba
- automatic version update by autodist
* Tue May 26 2015 Automatic Build System <autodist@mambasoft.it> 43.0.2357.81-1mamba
- automatic version update by autodist
* Thu May 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 43.0.2357.65-3mamba
- re-enable sanbox, but requires recent kernels built with CONFIG_PID_NS=y
* Wed May 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 43.0.2357.65-2mamba
- move from /opt to %{_libdir}
- launch with --disable-namespace-sandbox needed since 42
* Wed May 20 2015 Automatic Build System <autodist@mambasoft.it> 43.0.2357.65-1mamba
- automatic version update by autodist
* Wed Apr 29 2015 Automatic Build System <autodist@mambasoft.it> 42.0.2311.135-1mamba
- automatic version update by autodist
* Sat Apr 18 2015 Automatic Build System <autodist@mambasoft.it> 42.0.2311.90-1mamba
- automatic version update by autodist
* Fri Apr 03 2015 Automatic Build System <autodist@mambasoft.it> 41.0.2272.118-1mamba * Fri Apr 03 2015 Automatic Build System <autodist@mambasoft.it> 41.0.2272.118-1mamba
- automatic version update by autodist - automatic version update by autodist