Name: php-sqlite
Summary: PHP module for using SQLite databases
Version: 1.0.2
Release: 3.2
License: GPL
Group: Development/Languages
URL: http://pecl.php.net/package/SQLite/
Description: PHP module for using SQLite databases.
This module is built for PHP vpackage php-devel is not installed.
The build was not successful.
The build was not successful.
The spec file used by the build system currently has the following contents:
# $Id$
# Authority: dag
# Upstream: Wez Furlong <wez$php,net>
%define real_name SQLite
%define pversion %(rpm -q php-devel --qf '%{RPMTAG_VERSION}' | tail -1)
Summary: PHP module for using SQLite databases
Name: php-sqlite
Version: 1.0.2
Release: 3.2%{?dist}
License: GPL
Group: Development/Languages
URL: http://pecl.php.net/package/SQLite/
### Source: http://pecl.php.net/get/SQLite
Source: http://pecl.php.net/get/SQLite-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: php-devel >= 4.0, sqlite >= 2.8, sqlite-devel
Requires: php = %{pversion}, sqlite >= 2.8
%description
PHP module for using SQLite databases.
This module is built for PHP v%{pversion}.
%prep
%setup -n %{real_name}-%{version}
%build
${CC:-%{__cc}} %{optflags} -fpic -DNDEBUG -DCOMPILE_DL_SQLITE -I%{_includedir}/php -I%{_includedir}/php/main -I%{_includedir}/php/TSRM -I%{_includedir}/php/Zend -c -o sqlite.o sqlite.c
${CC:-%{__cc}} %{optflags} -shared -lsqlite -L%{_libdir} -rdynamic -o sqlite.so sqlite.o
%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 sqlite.so %{buildroot}%{_libdir}/php4/sqlite.so
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc CREDITS README TODO
%{_libdir}/php4/*.so
%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.0.2-3.2
- Rebuild for Fedora Core 5.
* Sun Jan 02 2005 Dag Wieers <dag@wieers.com> - 1.0.2-3
- Rebuild against new php version.
* Sun May 30 2004 Dag Wieers <dag@wieers.com> - 1.0.2-2
- Rebuild against new php versions in fc1 and fc2.
* Sun Feb 29 2004 Dag Wieers <dag@wieers.com> - 1.0.2-1
- Fixed problematic sqlite requirement. (Alain Rykaert)
* Sun Feb 29 2004 Dag Wieers <dag@wieers.com> - 1.0.2-0
- Initial package. (using DAR)