diff --git a/README.md b/README.md index dd3b7da..e4cb0e6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pear-MDB2_Driver_mysql +PHP/Pear mysql MDB2 driver. + diff --git a/pear-MDB2_Driver_mysql.spec b/pear-MDB2_Driver_mysql.spec new file mode 100644 index 0000000..6675310 --- /dev/null +++ b/pear-MDB2_Driver_mysql.spec @@ -0,0 +1,48 @@ +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 +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 1.5.0b4-1mamba +- package created by silvan using the webbuild interface