Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
cego
>
php5-cego
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
php5-cego.spec
@@ -1,4 +1,3 @@ -Name: php5-cego Version: 1.0.1 Release: 1 License: LGPL @@ -16,10 +15,16 @@ %if 0%{?suse_version} BuildRequires: php5-devel Requires: php5 +Name: php5-cego +%define _php_extdir %{_libdir}/php5/extensions +%define _php_inidir %{_sysconfdir}/php5/conf.d %endif %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?redhat_version} || 0%{?fedora_version} BuildRequires: php-devel Requires: php +Name: php-cego +%define _php_extdir %{_libdir}/php/modules +%define _php_inidir %{_sysconfdir}/php.d %endif %description @@ -38,10 +43,10 @@ %if 0%{?suse_version} >= 1110 chrpath -d modules/cego.so %endif -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 +install -m 755 -d $RPM_BUILD_ROOT%{_php_extdir} +install -m 755 modules/cego.so $RPM_BUILD_ROOT%{_php_extdir} +install -d 755 $RPM_BUILD_ROOT%{_php_inidir} +echo "extension=cego.so" > $RPM_BUILD_ROOT%{_php_inidir}/cego.ini %clean rm -rf $RPM_BUILD_ROOT/* @@ -50,8 +55,8 @@ %files %defattr(-,root,root) %doc CREDITS -%{_libdir}/php5/extensions/cego.so -%config /etc/php5/conf.d/cego.ini +%{_php_extdir}/cego.so +%config %{_php_inidir}/cego.ini %changelog