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