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 Math_BigInteger |
%global pear_name Math_BigInteger |
4 |
|
%define name php-pear-Math_BigInteger |
5 |
|
%define version 1.0.3 |
6 |
|
%define release 2 |
7 |
|
|
8 |
|
Name: %{name} |
9 |
|
Version: %{version} |
10 |
|
Release: %{release}%{?dist} |
11 |
Summary: PEAR: Pure-PHP arbitrary precission integer arithmetic library |
Summary: PEAR: Pure-PHP arbitrary precission integer arithmetic library |
|
Name: php-pear-Math_BigInteger |
|
|
Version: 1.0.3 |
|
|
Release: 1%{?dist} |
|
12 |
License: MIT |
License: MIT |
13 |
Group: Development/Libraries |
Group: Development/Libraries |
14 |
Source0: http://pear.php.net/get/Math_BigInteger-%{version}.tgz |
Source0: http://pear.php.net/get/Math_BigInteger-%{version}.tgz |
42 |
|
|
43 |
# Clean up unnecessary files |
# Clean up unnecessary files |
44 |
rm pearrc |
rm pearrc |
45 |
rm %{buildroot}/%{peardir}/.filemap |
rm -rf %{buildroot}/%{peardir}/.filemap |
46 |
rm %{buildroot}/%{peardir}/.lock |
rm -rf %{buildroot}/%{peardir}/.lock |
47 |
rm -rf %{buildroot}/%{peardir}/.registry |
rm -rf %{buildroot}/%{peardir}/.registry |
48 |
rm -rf %{buildroot}%{peardir}/.channels |
rm -rf %{buildroot}%{peardir}/.channels |
49 |
rm %{buildroot}%{peardir}/.depdb |
rm -rf %{buildroot}/%{xmldir}/.filemap |
50 |
rm %{buildroot}%{peardir}/.depdblock |
rm -rf %{buildroot}/%{xmldir}/.lock |
51 |
|
rm -rf %{buildroot}/%{xmldir}/.registry |
52 |
|
rm -rf %{buildroot}/%{xmldir}/.channels |
53 |
|
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
54 |
|
rm -rf %{buildroot}%{xmldir}/.depdb |
55 |
|
fi |
56 |
|
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
57 |
|
rm -rf %{buildroot}%{xmldir}/.depdblock |
58 |
|
fi |
59 |
|
|
60 |
|
|
61 |
# Install XML package description |
# Install XML package description |
81 |
%{xmldir}/Math_BigInteger.xml |
%{xmldir}/Math_BigInteger.xml |
82 |
|
|
83 |
%changelog |
%changelog |
84 |
|
* Thu Jun 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.3-2.sme |
85 |
|
- importing to buildsys pear packages for Horde [SME: 9600] |
86 |
|
|
87 |
* Mon Apr 18 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 1.0.3-1 |
* Mon Apr 18 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 1.0.3-1 |
88 |
- Updated to 1.0.3 |
- Updated to 1.0.3 |
89 |
|
|