pear-HTML_QuickForm2/pear-HTML_QuickForm2.spec

51 lines
1.4 KiB
RPMSpec

Name: pear-HTML_QuickForm2
Version: 0.2.0
Release: 2mamba
Summary: Provides methods for creating, validating, processing HTML forms.
Group: Applications/Web
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pear.php.net
Source: http://download.pear.php.net/package/HTML_QuickForm2-%{version}.tgz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: pear-HTML_Common2
Requires: php >=5
%description
The PEAR::HTML_QuickForm package provides methods for creating, validating, processing HTML forms.
%prep
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_libdir}/php
pushd %{buildroot}%{_libdir}/php
tar xzvf %{SOURCE0}
mv HTML_QuickForm2-%{version} HTML
rm package.xml
popd
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_libdir}/php/HTML
%{_libdir}/php/HTML/docs/examples/*.php
%{_libdir}/php/HTML/QuickForm2.php
%{_libdir}/php/HTML/QuickForm2/*
%{_libdir}/php/HTML/tests/AllTests.php
%{_libdir}/php/HTML/tests/QuickForm2Test.php
%{_libdir}/php/HTML/tests/QuickForm2/*
%changelog
* Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 0.2.0-2mamba
- automatic rebuild by autodist
* Mon May 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
- package created by autospec