pear-MDB2_Driver_mysql/pear-MDB2_Driver_mysql.spec

49 lines
1.6 KiB
RPMSpec

Name: pear-MDB2_Driver_mysql
Version: 1.5.0b4
Release: 1mamba
Summary: PHP/Pear mysql MDB2 driver
Group: Applications/Web
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pear.php.net/package/MDB2_Driver_mysql
Source: http://download.pear.php.net/package/MDB2_Driver_mysql-%{version}.tgz
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: php
Requires: pear-MDB2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PHP/Pear mysql MDB2 driver.
%prep
%setup -q -c %{name}-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_libdir}/php
cp -a MDB2_Driver_mysql-%{version}/* %{buildroot}%{_libdir}/php/
mv %{buildroot}%{_libdir}/php/tests %{buildroot}%{_libdir}/php/MDB2
rm -f %{buildroot}%{_libdir}/php/package_mysql.xml
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%attr(0644,root,root) %{_libdir}/php/MDB2/Driver/Datatype/mysql.php
%attr(0644,root,root) %{_libdir}/php/MDB2/Driver/Function/mysql.php
%attr(0644,root,root) %{_libdir}/php/MDB2/Driver/Manager/mysql.php
%attr(0644,root,root) %{_libdir}/php/MDB2/Driver/Native/mysql.php
%attr(0644,root,root) %{_libdir}/php/MDB2/Driver/Reverse/mysql.php
%attr(0644,root,root) %{_libdir}/php/MDB2/Driver/mysql.php
%attr(0644,root,root) %{_libdir}/php/MDB2/tests/Nonstandard/MysqlHelper.php
%changelog
* Wed Feb 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0b4-1mamba
- package created by silvan using the webbuild interface