Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
php-mcrypt
> php-mcrypt.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-mcrypt.spec of Package php-mcrypt (Revision 3)
Currently displaying revision
3
,
show latest
Name: php-mcrypt %if 0%{?centos_version} == 4 Version: 4.3.9 %define php_major 4 %endif %if 0%{?centos_version} == 5 Version: 5.1.6 %define php_major 5 %endif Release: 1 Group: Development/Languages Source: php-mcrypt-%{version}.tar.bz2 URL: http://www.php.net/ License: The PHP License Packager: VHCS Packager <vhcs@j0ke.net> Summary: PHP Extension Module Requires: libmcrypt BuildRequires: libmcrypt-devel php-devel gcc-c++ %description PHP interface to the mcrypt library, which supports a wide variety of block algorithms. %prep %setup -q phpize %configure %__make %makeinstall echo "# mcrypt extension" > $RPM_BUILD_ROOT/%{_sysconfdir}/php.d/mcrypt.ini echo "extension=mcrypt.so" >> $RPM_BUILD_ROOT/%{_sysconfdir}/php.d/mcrypt.ini %files %{_sysconfdir}/php.d/mcrypt.ini %if 0%{?centos_version} == 4 %dir %{_libdir}/php4 %{_libdir}/php4/mcrypt.so %endif %if 0%{?centos_version} == 5 %dir %{_lbidir}/php/modules %{_lbidir}/php/modules/mcrypt.so %endif %clean %changelog * Sun Apr 02 2006 VHCS Packager <vhcs@j0ke.net> - initial release