automatic version update by autodist [release 2.30-1mamba;Sun Oct 26 2014]

This commit is contained in:
Automatic Build System 2024-01-05 17:44:03 +01:00
parent f5761134d4
commit 5a7bab7d6e

View File

@ -7,7 +7,7 @@
%define pkg_dir comm-release %define pkg_dir comm-release
Name: seamonkey Name: seamonkey
Version: 2.19 Version: 2.30
Release: 1mamba Release: 1mamba
Summary: Web-browser, e-mail, newsgroup client, IRC chat client, HTML editor Summary: Web-browser, e-mail, newsgroup client, IRC chat client, HTML editor
Group: Graphical Desktop/Applications/Internet Group: Graphical Desktop/Applications/Internet
@ -121,7 +121,7 @@ chmod +x %{_builddir}/seamonkey/find_provides.sh
%define __find_requires %{_builddir}/seamonkey/find_requires.sh %define __find_requires %{_builddir}/seamonkey/find_requires.sh
cat > %{_builddir}/%{name}/find_requires.sh <<_EOF cat > %{_builddir}/%{name}/find_requires.sh <<_EOF
#! /bin/sh #! /bin/sh
%{_libdir}/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null | %{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null |
while read line; do while read line; do
[ ! -f %{buildroot}%{seadir}/\$line ] && echo "\$line" [ ! -f %{buildroot}%{seadir}/\$line ] && echo "\$line"
done done
@ -135,18 +135,18 @@ cd %{pkg_dir}
#cd mozilla #cd mozilla
#% patch2 -p0 #% patch2 -p0
#) #)
for p in $(find . -name "*.py"); do #for p in $(find . -name "*.py"); do
sed -i 's|#!/usr/bin/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
sed -i 's|#!python|#!%{__python}|' $p # sed -i 's|#!python|#!%{__python}|' $p
sed -i 's|#!/usr/local/bin/python2.1|#!%{__python}|' $p # sed -i 's|#!/usr/local/bin/python2.1|#!%{__python}|' $p
sed -i 's|#!/usr/local/bin/python|#!%{__python}|' $p # sed -i 's|#!/usr/local/bin/python|#!%{__python}|' $p
done #done
#
for c in $(find . -name "configure" -o -name "configure.in"); do #for c in $(find . -name "configure" -o -name "configure.in"); do
sed -i 's|python2.5 python2.4 python|python2.6|' $c # sed -i 's|python2.5 python2.4 python|python2.6|' $c
sed -i 's|PYTHON_VERSION=2.4|PYTHON_VERSION=%{python_version}|' $c # sed -i 's|PYTHON_VERSION=2.4|PYTHON_VERSION=%{python_version}|' $c
done #done
rm -f .mozconfig rm -f .mozconfig
cat << EOF > .mozconfig cat << EOF > .mozconfig
@ -229,12 +229,20 @@ export RPM_OPT_FLAGS=$SM_OPT_FLAGS
export CFLAGS=$SM_OPT_FLAGS export CFLAGS=$SM_OPT_FLAGS
export CXXFLAGS=$SM_OPT_FLAGS export CXXFLAGS=$SM_OPT_FLAGS
make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="-j1" make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="-j1" \
NSS_LIBS="`pkg-config --libs nss` -lcrmf" \
NSS_CFLAGS="`pkg-config --cflags nss`"
#MOZ_SERVICES_SYNC="1" #MOZ_SERVICES_SYNC="1"
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%ifarch %{ix86}
cd %{pkg_dir}/obj-i686-pc-linux-gnu cd %{pkg_dir}/obj-i686-pc-linux-gnu
%else
cd %{pkg_dir}/obj-%{_target_cpu}-unknown-linux-gnu
%endif
DESTDIR=%{buildroot} make install MOZ_SERVICES_SYNC="1" DESTDIR=%{buildroot} make install MOZ_SERVICES_SYNC="1"
echo > ../%{name}.lang echo > ../%{name}.lang
@ -369,6 +377,12 @@ ln -sf %{_datadir}/myspell/*.{aff,dic} %{buildroot}%{seadir}/dictionaries/
%{_libdir}/seamonkey-devel-%{version}/* %{_libdir}/seamonkey-devel-%{version}/*
%changelog %changelog
* Sun Oct 26 2014 Automatic Build System <autodist@mambasoft.it> 2.30-1mamba
- automatic version update by autodist
* Fri Sep 19 2014 Automatic Build System <autodist@mambasoft.it> 2.29-1mamba
- automatic version update by autodist
* Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 2.19-1mamba * Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 2.19-1mamba
- automatic version update by autodist - automatic version update by autodist