Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
php-screw
php-screw.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php-screw.spec of Package php-screw
Name: php-screw Version: 1.5 Release: 1 Summary: A PHP script encryption tool Group: Development/Tools License: BSD URL: http://sourceforge.net/projects/php-screw/ Source0: http://sourceforge.net/projects/php-screw/files/%{name}/%{version}/php_screw-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRequires: php-devel Requires: php %description PHP Screw is a PHP script encryption tool. When you are developing a commercial package using PHP, the script can be distributed as encrypted up until just before execution, preserving your intellectual property. %prep %setup -q -n php_screw-%{version} sed -i 's/CG(extended_info) = 1/CG(compiler_options) |= ZEND_COMPILE_EXTENDED_INFO/' php_screw.c sed -i 's/62/'$RANDOM'/' my_screw.h %build phpize ./configure --prefix=/usr make make -C tools %install install -Dm755 modules/php_screw.so $RPM_BUILD_ROOT%{_libdir}/php/modules/php_screw.so install -Dm755 tools/screw $RPM_BUILD_ROOT%{_bindir}/screw %clean rm -rf %{buildroot} %files %defattr(-,root,root,0755) %doc LICENSE README.* %{_bindir}/screw %{_libdir}/php/modules/php_screw.so %changelog * Tue Dec 10 2013 Huaren Zhong <huaren.zhong@gmail.com> - 1.5 - Rebuild for Fedora
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor