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 Date_Holidays_Slovenia |
%global pear_name Date_Holidays_Slovenia |
4 |
|
%define name php-pear-Date-Holidays-Slovenia |
5 |
|
%define version 0.1.2 |
6 |
|
%define release 2 |
7 |
|
|
8 |
|
Name: %{name} |
9 |
|
Version: %{version} |
10 |
|
Release: %{release}%{?dist} |
11 |
Summary: Driver based class to calculate holidays in Slovenia |
Summary: Driver based class to calculate holidays in Slovenia |
|
Name: php-pear-Date-Holidays-Slovenia |
|
|
Version: 0.1.2 |
|
|
Release: 1%{?dist} |
|
12 |
License: PHP License |
License: PHP License |
13 |
Group: Development/Libraries |
Group: Development/Libraries |
14 |
Source0: http://pear.php.net/get/Date_Holidays_Slovenia-%{version}.tgz |
Source0: http://pear.php.net/get/Date_Holidays_Slovenia-%{version}.tgz |
54 |
rm %{buildroot}/%{peardir}/.lock |
rm %{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 |
rm %{buildroot}/%{xmldir}/.filemap |
58 |
rm %{buildroot}%{peardir}/.depdblock |
rm %{buildroot}/%{xmldir}/.lock |
59 |
|
rm -rf %{buildroot}/%{xmldir}/.registry |
60 |
|
rm -rf %{buildroot}/%{xmldir}/.channels |
61 |
|
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then |
62 |
|
rm %{buildroot}%{xmldir}/.depdb |
63 |
|
fi |
64 |
|
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then |
65 |
|
rm %{buildroot}%{xmldir}/.depdblock |
66 |
|
fi |
67 |
|
|
68 |
|
|
69 |
# Install XML package description |
# Install XML package description |
89 |
%{xmldir}/Date_Holidays_Slovenia.xml |
%{xmldir}/Date_Holidays_Slovenia.xml |
90 |
|
|
91 |
%changelog |
%changelog |
92 |
|
* Thu Jun 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.2-2.sme |
93 |
|
- importing to buildsys pear packages for Horde [SME: 9600] |
94 |
|
|
95 |
* Mon Jul 22 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 0.1.2-1 |
* Mon Jul 22 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 0.1.2-1 |
96 |
- Original from pear-make-rpm-spec. |
- Original from pear-make-rpm-spec. |
97 |
|
|