/[smecontribs]/rpms/phpki/contribs7/phpki.spec
ViewVC logotype

Diff of /rpms/phpki/contribs7/phpki.spec

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

Revision 1.1 by slords, Mon Mar 2 23:38:37 2009 UTC Revision 1.5 by vip-ire, Wed Aug 26 17:49:59 2009 UTC
# Line 1  Line 1 
1    # $Id: phpki.spec,v 1.4 2009/03/23 12:35:20 vip-ire Exp $
2    # Authority: vip-ire
3    # Name: Daniel Berteaud
4    
5  %define         name phpki  %define         name phpki
6  %define         version 0.82  %define         version 0.82
7  %define         release 7  %define         release 10
8  Summary:        Phpki is a simple certificate management suite  Summary:        Phpki is a simple certificate management suite
9  Name:           %{name}  Name:           %{name}
10  Version:        %{version}  Version:        %{version}
11  Release:        %{release}%{?dist}  Release:        %{release}%{?dist}
 Distribution:   SME Server  
12  License:        GNU GPL version 2  License:        GNU GPL version 2
13  URL:            http://sourceforge.net/projects/phpki/  URL:            http://sourceforge.net/projects/phpki/
14  Group:          SMEserver/addon  Group:          SMEserver/addon
# Line 23  Patch9:        phpki-0.82-display_root_pem.pat Line 26  Patch9:        phpki-0.82-display_root_pem.pat
26  Patch10:        phpki-0.82-disable_download_after_create.patch  Patch10:        phpki-0.82-disable_download_after_create.patch
27  Patch11:        phpki-0.82-remove_security_warning.patch  Patch11:        phpki-0.82-remove_security_warning.patch
28  Patch12:        phpki-0.82-remove_email_from_upload_file_name.patch2  Patch12:        phpki-0.82-remove_email_from_upload_file_name.patch2
29    Patch13:        phpki-0.82-ca_help.patch
30    
 Packager:       Daniel B.  <daniel@firewall-services.com>  
31  BuildArch:      noarch  BuildArch:      noarch
32  BuildRoot:      /var/tmp/%{name}-%{version}  BuildRoot:      /var/tmp/%{name}-%{version}
33    
34    BuildRequires:  e-smith-devtools
35    
36  Requires:       e-smith-release >= 7.0  Requires:       e-smith-release >= 7.0
37  Requires:       php  Requires:       php
38  Requires:       openssl  Requires:       openssl
# Line 40  With it, you may create and centrally ma Line 46  With it, you may create and centrally ma
46  e-mail clients, SSL servers, and VPN applications.  e-mail clients, SSL servers, and VPN applications.
47    
48  %changelog  %changelog
49    * Wed Aug 26 2009 Daniel B. <daniel@firewall-services.com> [0.82-10]
50    - Fixe links for CA help page
51    
52    * Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.82-9]
53    - Remove links after uninstall so you can easily re-install the contrib
54      later [SME: 5091]
55    
56    * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.82-8]
57    - Add e-smith-devtools as a dependencie
58    
59  * Tue Jan 20 2009 Daniel B. <daniel@firewall-services.com> [0.82-7]  * Tue Jan 20 2009 Daniel B. <daniel@firewall-services.com> [0.82-7]
60  - Don't replace config file on upgrades  - Don't replace config file on upgrades
61    
# Line 85  e-mail clients, SSL servers, and VPN app Line 101  e-mail clients, SSL servers, and VPN app
101  %patch10 -p1  %patch10 -p1
102  %patch11 -p1  %patch11 -p1
103  %patch12 -p1  %patch12 -p1
104    %patch13 -p1
105    
106  %build  %build
107  #drop in an unchanged .tgz, if required rename directory here, eg remove version number.  #drop in an unchanged .tgz, if required rename directory here, eg remove version number.
# Line 137  if [ $1 == 1 ]; then Line 154  if [ $1 == 1 ]; then
154  header(\"Location: ./../index.php\");  header(\"Location: ./../index.php\");
155  ?>  ?>
156  " > /opt/phpki/html/ca/index.php  " > /opt/phpki/html/ca/index.php
   
157  fi  fi
158    
159  %postun  %postun
160    # Remove the links to index.php after uninstall
161    if [ $1 == 0 ]; then
162        %{__rm} -f /opt/phpki/html/index.php
163        %{__rm} -f /opt/phpki/html/setup.php
164        %{__rm} -f /opt/phpki/html/ca/index.php
165    fi
166    
167    
168  true  true


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