1 |
# $Id$ |
# $Id: phpki.spec,v 1.3 2009/03/03 18:36:43 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# 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 9 |
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} |
29 |
|
|
30 |
BuildArch: noarch |
BuildArch: noarch |
31 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
32 |
|
|
33 |
|
BuildRequires: e-smith-devtools |
34 |
|
|
35 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 7.0 |
36 |
Requires: php |
Requires: php |
37 |
Requires: openssl |
Requires: openssl |
45 |
e-mail clients, SSL servers, and VPN applications. |
e-mail clients, SSL servers, and VPN applications. |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.82-9] |
49 |
|
- Remove links after uninstall so you can easily re-install the contrib |
50 |
|
later [SME: 5091] |
51 |
|
|
52 |
|
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [0.82-8] |
53 |
|
- Add e-smith-devtools as a dependencie |
54 |
|
|
55 |
* 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] |
56 |
- Don't replace config file on upgrades |
- Don't replace config file on upgrades |
57 |
|
|
149 |
header(\"Location: ./../index.php\"); |
header(\"Location: ./../index.php\"); |
150 |
?> |
?> |
151 |
" > /opt/phpki/html/ca/index.php |
" > /opt/phpki/html/ca/index.php |
|
|
|
152 |
fi |
fi |
153 |
|
|
154 |
%postun |
%postun |
155 |
|
# Remove the links to index.php after uninstall |
156 |
|
if [ $1 == 0 ]; then |
157 |
|
%{__rm} -f /opt/phpki/html/index.php |
158 |
|
%{__rm} -f /opt/phpki/html/setup.php |
159 |
|
%{__rm} -f /opt/phpki/html/ca/index.php |
160 |
|
fi |
161 |
|
|
162 |
|
|
163 |
true |
true |