/[smeserver]/rpms/php-pear-Date-Holidays-Russia/sme10/php-pear-Date_Holidays_Russia.spec
ViewVC logotype

Diff of /rpms/php-pear-Date-Holidays-Russia/sme10/php-pear-Date_Holidays_Russia.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

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


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed