51 lines
1.7 KiB
RPMSpec
51 lines
1.7 KiB
RPMSpec
Name: pear-MDB2_Driver_mysql
|
|
Version: 1.5.0b4
|
|
Release: 2mamba
|
|
Summary: PHP/Pear mysql MDB2 driver
|
|
Group: Applications/Web
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://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
|
|
|
|
%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
|
|
* Thu Oct 31 2024 Automatic Build System <autodist@openmamba.org> 1.5.0b4-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Wed Feb 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0b4-1mamba
|
|
- package created by silvan using the webbuild interface
|