blob: 1908674c103e91cbe79cda09622c7fbffdbef1e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
Name: pki-java-tools
Version: 1.3.0
Release: 3%{?dist}
Summary: Dogtag Certificate System - PKI Java-Based Tools
URL: http://pki.fedoraproject.org/
License: GPLv2 with exceptions
Group: System Environment/Shells
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ant
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: jss >= 4.2.6
BuildRequires: osutil
BuildRequires: pki-util
Requires: java >= 1:1.6.0
Requires: pki-native-tools
Requires: pki-util
Source0: http://pki.fedoraproject.org/pki/sources/%{name}/%{name}-%{version}.tar.gz
%description
Dogtag Certificate System is an enterprise software system designed
to manage enterprise Public Key Infrastructure (PKI) deployments.
These platform-independent PKI executables are used to help make
Dogtag Certificate System into a more complete and robust PKI solution.
%package javadoc
Summary: Dogtag Certificate System - PKI Java-Based Tools Javadocs
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description javadoc
Dogtag Certificate System - PKI Java-Based Tools Javadocs
This documentation pertains exclusively to version %{version} of
the Dogtag PKI Java-Based Tools.
%prep
%setup -q
%build
ant \
-Dproduct.ui.flavor.prefix="" \
-Dproduct.prefix="pki" \
-Dproduct="java-tools" \
-Dversion="%{version}"
%install
rm -rf %{buildroot}
cd dist/binary
unzip %{name}-%{version}.zip -d %{buildroot}
cd %{buildroot}%{_javadir}/pki
mv cstools.jar cstools-%{version}.jar
ln -s cstools-%{version}.jar cstools.jar
rm -rf %{buildroot}%{_datadir}/pki
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_bindir}/*
%{_javadir}/pki/
%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}/
%changelog
* Tue Nov 24 2009 Matthew Harmsen <mharmsen@redhat.com> 1.3.0-3
- Bugzilla Bug #521995 - Packaging for Fedora Dogtag PKI
- Use "%{_javadir}" macro when appropriate
* Mon Nov 2 2009 Matthew Harmsen <mharmsen@redhat.com> 1.3.0-2
- Bugzilla Bug #521995 - Packaging for Fedora Dogtag PKI
- Take ownership of directories
* Tue Oct 13 2009 Ade Lee <alee@redhat.com> 1.3.0-1
- Bugzilla Bug #521995 - Packaging for Fedora Dogtag PKI
|