/[smeserver]/rpms/php-pear-Date-Holidays-Australia/sme10/php-pear-Date_Holidays_Australia.spec
ViewVC logotype

Diff of /rpms/php-pear-Date-Holidays-Australia/sme10/php-pear-Date_Holidays_Australia.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 06:14:55 2016 UTC Revision 1.3 by unnilennium, Thu Jun 16 07:16:46 2016 UTC
# Line 2  Line 2 
2  %define xmldir  /var/lib/pear  %define xmldir  /var/lib/pear
3  %global pear_name Date_Holidays_Australia  %global pear_name Date_Holidays_Australia
4    
5    %define name php-pear-Date-Holidays-Australia
6    %define version 0.2.2
7    %define release 2
8    
9  Summary: Driver based class to calculate holidays in Australia  Summary: Driver based class to calculate holidays in Australia
10  Name: php-pear-Date-Holidays-Australia  Name: %{name}
11  Version: 0.2.2  Version: %{version}
12  Release: 1%{?dist}  Release: %{release}%{?dist}
13  License: PHP License  License: PHP License
14  Group: Development/Libraries  Group: Development/Libraries
15  Source0: http://pear.php.net/get/Date_Holidays_Australia-%{version}.tgz  Source0: http://pear.php.net/get/Date_Holidays_Australia-%{version}.tgz
# Line 50  rm pearrc Line 54  rm pearrc
54  rm %{buildroot}/%{peardir}/.filemap  rm %{buildroot}/%{peardir}/.filemap
55  rm %{buildroot}/%{peardir}/.lock  rm %{buildroot}/%{peardir}/.lock
56  rm -rf %{buildroot}/%{peardir}/.registry  rm -rf %{buildroot}/%{peardir}/.registry
57  rm -rf %{buildroot}%{peardir}/.channels  rm -rf %{buildroot}/%{peardir}/.channels
58  rm %{buildroot}%{peardir}/.depdb  rm %{buildroot}/%{xmldir}/.filemap
59  rm %{buildroot}%{peardir}/.depdblock  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    
71  # Install XML package description  # Install XML package description
72  mkdir -p %{buildroot}%{xmldir}  mkdir -p %{buildroot}%{xmldir}
73  tar -xzf %{SOURCE0} package.xml  tar -xzf %{SOURCE0} package.xml
74  cp -p package.xml %{buildroot}%{xmldir}/Date_Holidays_Australia.xml  cp -p  package.xml %{buildroot}%{xmldir}/Date_Holidays_Australia.xml
75    
76  %clean  %clean
77  rm -rf %{buildroot}  rm -rf %{buildroot}
# Line 72  if [ "$1" -eq "0" ]; then Line 84  if [ "$1" -eq "0" ]; then
84      pear uninstall --nodeps --ignore-errors --register-only pear.php.net/Date_Holidays_Australia >/dev/null || :      pear uninstall --nodeps --ignore-errors --register-only pear.php.net/Date_Holidays_Australia >/dev/null || :
85  fi  fi
86    
87  %files  %files
88  %defattr(-,root,root)  %defattr(-,root,root)
89    
90  %{peardir}/*  %{peardir}/*
91  %{xmldir}/Date_Holidays_Australia.xml  %{xmldir}/Date_Holidays_Australia.xml
92    
93  %changelog  %changelog
94    * Thu Jun 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.2.2-2.sme
95    - importing to buildsys pear packages for Horde [SME: 9600]
96    
97  * Mon Oct 7 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 0.2.2-1  * Mon Oct 7 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 0.2.2-1
98  - Update to 0.2.2.  - Update to 0.2.2.
99    


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