Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
paradox
>
php5-paradox
> php5-paradox.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-paradox.spec of Package php5-paradox (Revision 2)
Currently displaying revision
2
,
show latest
Name: php5-paradox Version: 1.4.3 Release: 1 License: GPL Group: Development/Libraries Summary: php paradox extension URL: http://ffmpeg-php.sourceforge.net/ Source0: paradox-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com BuildRequires: pxlib-devel autoconf automake php5-devel glibc-devel libgcc gcc gcc-c++ Requires: php5 pxlib %description Paradox is an extension to read and write Paradox .DB and .PX files. It can handle almost all field types and binary large objects stored in .MB files. %prep %setup -q -n paradox-%{version} export PHP_PREFIX=%{_prefix} $PHP_PREFIX/bin/phpize ./configure --with-paradox=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/paradox.so $RPM_BUILD_ROOT%{_libdir}/php5/extensions/ install -d 755 $RPM_BUILD_ROOT/etc/php5/conf.d echo "extension=paradox.so" > $RPM_BUILD_ROOT/etc/php5/conf.d/paradox.ini cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* rm -rf ../file.list.%{name} %files -f ../file.list.%{name} %doc CREDITS %changelog * Mon Jan 16 2008 Carsten Schoene <cs@linux-administrator.com> - initial package release - 1.4.3