]>
Commit | Line | Data |
---|---|---|
1 | %define _modname bcompiler | |
2 | %define _status beta | |
3 | %define _sysconfdir /etc/php | |
4 | %define extensionsdir %(php-config --extension-dir 2>/dev/null) | |
5 | Summary: %{_modname} - a bytecode compiler for classes | |
6 | Summary(pl): %{_modname} - kompilator kodu bajtowego dla klas | |
7 | Name: php-pecl-%{_modname} | |
8 | Version: 0.7 | |
9 | Release: 5 | |
10 | License: PHP | |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pecl.php.net/get/%{_modname}-%{version}.tgz | |
13 | # Source0-md5: 77163ce732d6cd980de570f021214a17 | |
14 | URL: http://pecl.php.net/package/bcompiler/ | |
15 | BuildRequires: bzip2-devel | |
16 | BuildRequires: php-devel >= 3:5.0.0 | |
17 | BuildRequires: rpmbuild(macros) >= 1.254 | |
18 | %{?requires_php_extension} | |
19 | Requires: %{_sysconfdir}/conf.d | |
20 | Obsoletes: php-pear-%{_modname} | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | bcompiler enables you to encode your scripts in phpbytecode, enabling | |
25 | you to protect the source. bcompiler could be used in the following | |
26 | situations: | |
27 | - to create a exe file of a PHP-GTK application (in conjunction with | |
28 | other software) | |
29 | - to create closed source libraries | |
30 | - to provide clients with time expired software (prior to payment) | |
31 | - to deliver close source applications | |
32 | - for use on embedded systems, where disk space is a priority. | |
33 | ||
34 | In PECL status of this package is: %{_status}. | |
35 | ||
36 | %description -l pl | |
37 |