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 Console_GetoptPlus |
%global pear_name Console_GetoptPlus |
4 |
|
%define name php-pear-Console-GetoptPlus |
5 |
|
%define version 1.0.0RC1 |
6 |
|
%define release 3 |
7 |
|
|
8 |
|
Name: %{name} |
9 |
|
Version: %{version} |
10 |
|
Release: %{release}%{?dist} |
11 |
Summary: Command-line option parser - Console Getopt+ (Getopt Plus) |
Summary: Command-line option parser - Console Getopt+ (Getopt Plus) |
|
Name: php-pear-Console-GetoptPlus |
|
|
Version: 1.0.0RC1 |
|
|
Release: 2%{?dist} |
|
12 |
License: The BSD License |
License: The BSD License |
13 |
Group: Development/Libraries |
Group: Development/Libraries |
14 |
Source0: http://pear.php.net/get/Console_GetoptPlus-%{version}.tgz |
Source0: http://pear.php.net/get/Console_GetoptPlus-%{version}.tgz |
64 |
rm %{buildroot}/%{peardir}/.lock |
rm %{buildroot}/%{peardir}/.lock |
65 |
rm -rf %{buildroot}/%{peardir}/.registry |
rm -rf %{buildroot}/%{peardir}/.registry |
66 |
rm -rf %{buildroot}%{peardir}/.channels |
rm -rf %{buildroot}%{peardir}/.channels |
67 |
rm %{buildroot}%{peardir}/.depdb |
rm %{buildroot}/%{xmldir}/.filemap |
68 |
rm %{buildroot}%{peardir}/.depdblock |
rm %{buildroot}/%{xmldir}/.lock |
69 |
|
rm -rf %{buildroot}/%{xmldir}/.registry |
70 |
|
rm -rf %{buildroot}/%{xmldir}/.channels |
71 |
|
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
72 |
|
rm %{buildroot}%{xmldir}/.depdb |
73 |
|
fi |
74 |
|
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
75 |
|
rm %{buildroot}%{xmldir}/.depdblock |
76 |
|
fi |
77 |
mv %{buildroot}/docs . |
mv %{buildroot}/docs . |
78 |
|
|
79 |
|
|
100 |
%{xmldir}/Console_GetoptPlus.xml |
%{xmldir}/Console_GetoptPlus.xml |
101 |
|
|
102 |
%changelog |
%changelog |
103 |
|
* Thu Jun 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0RC1-3.sme |
104 |
|
- importing to buildsys pear packages for Horde [SME: 9600] |
105 |
|
|
106 |
* Mon May 6 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 1.0.0RC1-2 |
* Mon May 6 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 1.0.0RC1-2 |
107 |
- updated spec file requires section, and left original info remarked. |
- updated spec file requires section, and left original info remarked. |
108 |
|
|