automatic version update by autodist [release 2.30-1mamba;Sun Oct 26 2014]
This commit is contained in:
parent
f5761134d4
commit
5a7bab7d6e
@ -7,7 +7,7 @@
|
||||
|
||||
%define pkg_dir comm-release
|
||||
Name: seamonkey
|
||||
Version: 2.19
|
||||
Version: 2.30
|
||||
Release: 1mamba
|
||||
Summary: Web-browser, e-mail, newsgroup client, IRC chat client, HTML editor
|
||||
Group: Graphical Desktop/Applications/Internet
|
||||
@ -121,7 +121,7 @@ chmod +x %{_builddir}/seamonkey/find_provides.sh
|
||||
%define __find_requires %{_builddir}/seamonkey/find_requires.sh
|
||||
cat > %{_builddir}/%{name}/find_requires.sh <<_EOF
|
||||
#! /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
|
||||
[ ! -f %{buildroot}%{seadir}/\$line ] && echo "\$line"
|
||||
done
|
||||
@ -135,18 +135,18 @@ cd %{pkg_dir}
|
||||
#cd mozilla
|
||||
#% patch2 -p0
|
||||
#)
|
||||
for p in $(find . -name "*.py"); do
|
||||
sed -i 's|#!/usr/bin/python|#!%{__python}|' $p
|
||||
sed -i 's|#!/usr/bin/env 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/python|#!%{__python}|' $p
|
||||
done
|
||||
|
||||
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|PYTHON_VERSION=2.4|PYTHON_VERSION=%{python_version}|' $c
|
||||
done
|
||||
#for p in $(find . -name "*.py"); do
|
||||
# sed -i 's|#!/usr/bin/python|#!%{__python}|' $p
|
||||
# sed -i 's|#!/usr/bin/env 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/python|#!%{__python}|' $p
|
||||
#done
|
||||
#
|
||||
#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|PYTHON_VERSION=2.4|PYTHON_VERSION=%{python_version}|' $c
|
||||
#done
|
||||
|
||||
rm -f .mozconfig
|
||||
cat << EOF > .mozconfig
|
||||
@ -229,12 +229,20 @@ export RPM_OPT_FLAGS=$SM_OPT_FLAGS
|
||||
export CFLAGS=$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"
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%ifarch %{ix86}
|
||||
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"
|
||||
|
||||
echo > ../%{name}.lang
|
||||
@ -369,6 +377,12 @@ ln -sf %{_datadir}/myspell/*.{aff,dic} %{buildroot}%{seadir}/dictionaries/
|
||||
%{_libdir}/seamonkey-devel-%{version}/*
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user