1 |
%define peardir %(pear config-get php_dir 2> /dev/null || echo %{_datadir}/pear) |
%define peardir %(pear config-get php_dir 2> /dev/null || echo %{_datadir}/pear) |
2 |
%define xmldir /var/lib/pear |
%define xmldir /var/lib/pear |
3 |
%global pear_name XML_Parser2 |
%global pear_name XML_Parser2 |
4 |
|
%define name php-pear-XML-Parser2 |
5 |
|
%define version 0.1.0 |
6 |
|
%define release 3 |
7 |
|
|
8 |
|
Name: %{name} |
9 |
|
Version: %{version} |
10 |
|
Release: %{release}%{?dist} |
11 |
Summary: XML parsing class based on PHP's bundled expat |
Summary: XML parsing class based on PHP's bundled expat |
|
Name: php-pear-XML-Parser2 |
|
|
Version: 0.1.0 |
|
|
Release: 2%{?dist} |
|
12 |
License: BSD License |
License: BSD License |
13 |
Group: Development/Libraries |
Group: Development/Libraries |
14 |
Source0: http://pear.php.net/get/XML_Parser2-%{version}.tgz |
Source0: http://pear.php.net/get/XML_Parser2-%{version}.tgz |
62 |
rm %{buildroot}/%{peardir}/.lock |
rm %{buildroot}/%{peardir}/.lock |
63 |
rm -rf %{buildroot}/%{peardir}/.registry |
rm -rf %{buildroot}/%{peardir}/.registry |
64 |
rm -rf %{buildroot}%{peardir}/.channels |
rm -rf %{buildroot}%{peardir}/.channels |
65 |
rm %{buildroot}%{peardir}/.depdb |
rm %{buildroot}/%{xmldir}/.filemap |
66 |
rm %{buildroot}%{peardir}/.depdblock |
rm %{buildroot}/%{xmldir}/.lock |
67 |
|
rm -rf %{buildroot}/%{xmldir}/.registry |
68 |
|
rm -rf %{buildroot}/%{xmldir}/.channels |
69 |
|
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
70 |
|
rm %{buildroot}%{xmldir}/.depdb |
71 |
|
fi |
72 |
|
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
73 |
|
rm %{buildroot}%{xmldir}/.depdblock |
74 |
|
fi |
75 |
|
|
76 |
mv %{buildroot}/docs . |
mv %{buildroot}/docs . |
77 |
|
|
99 |
%{xmldir}/XML_Parser2.xml |
%{xmldir}/XML_Parser2.xml |
100 |
|
|
101 |
%changelog |
%changelog |
102 |
|
* Thu Jun 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.0-3.sme |
103 |
|
- importing to buildsys pear packages for Horde [SME: 9600] |
104 |
|
|
105 |
* Mon May 6 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 0.1.0-2 |
* Mon May 6 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 0.1.0-2 |
106 |
- updated spec file requires section, and left original info remarked. |
- updated spec file requires section, and left original info remarked. |
107 |
|
|