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 Auth_SASL2 |
%global pear_name Auth_SASL2 |
4 |
|
%define name php-pear-Auth-SASL2 |
5 |
|
%define version 0.1.0 |
6 |
|
%define release 3 |
7 |
|
|
8 |
|
Name: %{name} |
9 |
|
Version: %{version} |
10 |
|
Release: %{release}%{?dist} |
11 |
Summary: Abstraction of various SASL mechanism responses |
Summary: Abstraction of various SASL mechanism responses |
|
Name: php-pear-Auth-SASL2 |
|
|
Version: 0.1.0 |
|
|
Release: 2%{?dist} |
|
12 |
License: BSD |
License: BSD |
13 |
Group: Development/Libraries |
Group: Development/Libraries |
14 |
Source0: http://pear.php.net/get/Auth_SASL2-%{version}.tgz |
Source0: http://pear.php.net/get/Auth_SASL2-%{version}.tgz |
50 |
|
|
51 |
# Clean up unnecessary files |
# Clean up unnecessary files |
52 |
rm pearrc |
rm pearrc |
53 |
rm %{buildroot}/%{peardir}/.filemap |
rm -rf %{buildroot}/%{peardir}/.filemap |
54 |
rm %{buildroot}/%{peardir}/.lock |
rm -rf %{buildroot}/%{peardir}/.lock |
55 |
rm -rf %{buildroot}/%{peardir}/.registry |
rm -rf %{buildroot}/%{peardir}/.registry |
56 |
rm -rf %{buildroot}%{peardir}/.channels |
rm -rf %{buildroot}%{peardir}/.channels |
57 |
rm %{buildroot}%{peardir}/.depdb |
|
58 |
rm %{buildroot}%{peardir}/.depdblock |
rm -rf %{buildroot}/%{xmldir}/.filemap |
59 |
|
rm -rf %{buildroot}/%{xmldir}/.lock |
60 |
|
rm -rf %{buildroot}/%{xmldir}/.registry |
61 |
|
rm -rf %{buildroot}/%{xmldir}/.channels |
62 |
|
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
63 |
|
rm -rf %{buildroot}%{xmldir}/.depdb |
64 |
|
fi |
65 |
|
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
66 |
|
rm -rf %{buildroot}%{xmldir}/.depdblock |
67 |
|
fi |
68 |
|
|
69 |
|
|
70 |
|
|
91 |
%{xmldir}/Auth_SASL2.xml |
%{xmldir}/Auth_SASL2.xml |
92 |
|
|
93 |
%changelog |
%changelog |
94 |
|
* Thu Jun 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.0-3.sme |
95 |
|
- importing to buildsys pear packages for Horde [SME: 9600] |
96 |
|
|
97 |
* 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 |
98 |
- updated spec file requires section, and left original info remarked. |
- updated spec file requires section, and left original info remarked. |
99 |
|
|