# beta: 1.9.32.2-beta
# stable: 1.8.31.5
Version: 1.8.31.5
-Release: 0.7
+Release: 0.10
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: modpagespeed-%{version}.tar.xz
-# Source0-md5: 0ec574731370f3da33fd16f536174050
+# Source0-md5: 9aefd5719a9b7946106b625dc7ecd2aa
Source1: get-source.sh
Source2: gclient.conf
Patch0: system-libs.patch
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: python-devel >= 1:2.6
+BuildRequires: yasm
# This version of gyp is new enough that it knows to use make for Linux 3.x
# and FreeBSD, but old enough that 'type': 'settings' works and
# LINKER_SUPPORTS_ICF hasn't been removed yet.
-Duse_system_libpng=1 \
-Duse_system_opencv=1 \
-Duse_system_openssl=1 \
+ -Duse_system_yasm=1 \
-Duse_system_zlib=1 \
-Dsystem_include_path_apr=%{_includedir}/apr \
-Dsystem_include_path_aprutil=%{_includedir}/apr-util \
# need gyp <= @1175
"src/tools/gyp": None,
+ "src/third_party/openssl": None,
+
+ "src/third_party/libjpeg_turbo/yasm": None,
+ "src/third_party/libjpeg_turbo/yasm/source/patched-yasm": None,
+
# need .gyp file
# "src/third_party/protobuf": None,
"src/build/mac": None,
"src/build/win": None,
+ "src/tools/clang": None,
+
+ # need build/ios/mac_build.gypi
+# "src/build/ios": None,
# as we have no tests, just keep checkouts and tarball smaller
# "src/testing": None,
third_party/instaweb/ \
third_party/openssl/ \
+# some more unneeded files for build
+rm -r third_party/chromium/src/net
+rm -r third_party/chromium/src/chrome
+rm -r net/instaweb/rewriter/testdata
+
+# build/linux and third_party/chromium/src/build/linux are same dirs, the latter is not usedc
+#rm -r third_party/chromium/src/build/linux
+#third_party/chromium/src/build/linux
+
# Populate the LASTCHANGE file template as we will not include VCS info in tarball
./build/lastchange.sh . -o LASTCHANGE.in