Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
cego
>
php5-cego
> php5-cego.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-cego.spec of Package php5-cego (Revision 4)
Currently displaying revision
4
,
show latest
Name: php5-cego Version: 1.0.1 Release: 1 License: GPL Group: Development/Libraries Summary: Cego PHP extension URL: http://pecl.php.net/package/Paradox Source0: PHP-cego-%{version}.tar.gz Patch0: cego-includedir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cego-devel autoconf automake glibc-devel libgcc gcc gcc-c++ libxml-devel Requires: cego %if 0%{?suse_version} BuildRequires: php5-devel Requires: php5 %endif %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?redhat_version} || 0%{?fedora_version} BuildRequires: php-devel Requires: php %endif %description %debug_package %prep %setup -q -n cego %patch0 export PHP_PREFIX=%{_prefix} $PHP_PREFIX/bin/phpize ./configure --with-cego=shared --with-php-config=$PHP_PREFIX/bin/php-config %__make %install install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php5/extensions/ install -m 755 modules/cego.so $RPM_BUILD_ROOT%{_libdir}/php5/extensions/ install -d 755 $RPM_BUILD_ROOT/etc/php5/conf.d echo "extension=cego.so" > $RPM_BUILD_ROOT/etc/php5/conf.d/cego.ini %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* %files %defattr(-,root,root) %doc CREDITS %{_libdir}/php5/extensions/cego.so %config /etc/php5/conf.d/cego.ini %changelog