]> git.pld-linux.org Git - packages/hhvm.git/blame - hiphop-php.spec
- deps from readme
[packages/hhvm.git] / hiphop-php.spec
CommitLineData
65446f6c
ER
1Summary: HipHop for PHP transforms PHP source code into highly optimized C++
2Name: hiphop-php
3f49543c 3Version: 0.1
65446f6c 4Release: 0.1
3f49543c 5License: PHP 3.01
65446f6c 6Group: Development/Languages/PHP
3f49543c 7# git clone git://github.com/facebook/hiphop-php.git
65446f6c
ER
8Source0: %{name}-%{version}.tar.gz
9# Source0-md5: -
3f49543c
ER
10URL: http://wiki.github.com/facebook/hiphop-php/
11BuildRequires: binutils-devel
12BuildRequires: bison
13BuildRequires: boost-devel >= 1.37
14BuildRequires: cmake >= 2.6.4
15BuildRequires: expat-devel
16BuildRequires: flex
17BuildRequires: gd-devel
18BuildRequires: libcap-devel
19BuildRequires: libicu >= 4.2
20BuildRequires: libmbfl
21BuildRequires: libmcrypt
22BuildRequires: libstdc++-devel >= 6:4.1
23BuildRequires: libxml2
24BuildRequires: mysql-devel
25BuildRequires: oniguruma
26BuildRequires: openssl-devel
27BuildRequires: pcre-devel
28BuildRequires: re2c >= 0.13.0
29BuildRequires: tbb >= 2.2
30BuildRequires: zlib-devel
65446f6c
ER
31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35HipHop transforms your PHP source code into highly optimized C++ and
36then compiles it with g++ to build binary files. You keep coding in
37simpler PHP, then HipHop executes your source code in a semantically
38equivalent manner and sacrifices some rarely used features - such as
39eval() - in exchange for improved performance.
40
41Facebook sees about a 50% reduction in CPU usage when serving equal
42amounts of Web traffic when compared to Apache and PHP. Facebook's API
43tier can serve twice the traffic using 30% less CPU.
44
45Keep up to date on HipHop development by joining the HipHop for PHP
46Discussion Group.
47
48%prep
49%setup -q
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
This page took 0.028256 seconds and 4 git commands to generate.