-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtinyca2.spec
170 lines (148 loc) · 4.98 KB
/
tinyca2.spec
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# spec file for package tinyca
#
# $Id: tinyca2.spec,v 1.9 2006/07/25 20:10:54 sm Exp $
#
# Copyright (c) 2002 Stephan Martin
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define bindir %{_bindir}
%define libdir %{_datadir}/TinyCA2/lib
%define templatesdir %{_datadir}/TinyCA2/templates
%define localedir %{_datadir}/TinyCA2/locale/
Name: tinyca2
URL: http://tinyca.sm-zone.net/
Group: Productivity/Networking/Security
License: GPL
Requires: perl perl-Gtk2 perl-MIME-Base64
Packager: Stephan Martin <[email protected]>
Version: @version@
Release: 0
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.desktop
Summary: Graphical Tool for Managing a Certification Authority
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
TinyCA is a graphical tool written in Perl/Gtk to manage a small
Certification Authority (CA) using openssl.
TinyCA supports - creation and revocation of x509 - S/MIME
certificates.
- PKCS#10 requests.
- exporting certificates as PEM, DER, TXT, and PKCS#12.
- server certificates for use in web servers, email servers, IPsec,
and more.
- client certificates for use in web browsers, email clients, IPsec,
and more.
- creation and management of SubCAs
Authors:
--------
Stephan Martin <[email protected]>
%prep
%setup
%build
# Configure pristine source
perl -pi -e 's:./lib:%{libdir}:g' tinyca2
perl -pi -e 's:./templates:%{templatesdir}:g' tinyca2
perl -pi -e 's:./locale:%{localedir}:g' tinyca2
make -C po
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
LANGUAGES="de es cs fr sv"
mkdir -p $RPM_BUILD_ROOT%{bindir}
mkdir -p $RPM_BUILD_ROOT%{libdir}
mkdir -p $RPM_BUILD_ROOT%{libdir}/GUI
mkdir -p $RPM_BUILD_ROOT%{templatesdir}
install -m 644 lib/*.pm $RPM_BUILD_ROOT%{libdir}
install -m 644 lib/GUI/*.pm $RPM_BUILD_ROOT%{libdir}/GUI/
install -m 644 templates/openssl.cnf $RPM_BUILD_ROOT%{templatesdir}
install -m 755 tinyca2 $RPM_BUILD_ROOT%{bindir}
mkdir -p $RPM_BUILD_ROOT/usr/share/applications/
install -m 644 tinyca2.desktop $RPM_BUILD_ROOT/usr/share/applications/
for LANG in $LANGUAGES; do
mkdir -p $RPM_BUILD_ROOT%{localedir}/$LANG/LC_MESSAGES/
install -m 644 locale/$LANG/LC_MESSAGES/tinyca2.mo %{buildroot}%{localedir}/$LANG/LC_MESSAGES/
done
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc CHANGES
%dir %{_datadir}/TinyCA2
%{bindir}/tinyca2
%{_datadir}/TinyCA2/*
%{_datadir}/applications/*
%changelog
* Sun Dec 5 2004 - [email protected]
- import functioins added
* Fri Aug 13 2004 - [email protected]
- czech translation
* Sun Jun 13 2004 - [email protected]
- gui polishing
- code cleanup
- some usability improvements
* Wed Jun 2 2004 - [email protected]
- gui polishing
- GUI module splitted to several files
* Fri Oct 3 2003 - [email protected]
- added a lot of configuration options
- correctly import/show details of requests without extensions
(thanks to [email protected])
* Mon Sep 1 2003 - [email protected]
- added renewal of certificates
* Wed Aug 13 2003 - [email protected]
- rewite, now using perl-Gtk
* Sat Jul 5 2003 - [email protected]
- added german translation
* Tue Jul 1 2003 - [email protected]
- convert index.txt if openssl changed from 0.9.6x to 0.9.7x
* Fri Jun 27 2003 - [email protected]
- added export into zip-file
thanks to [email protected]
* Mon Jun 23 2003 - [email protected]
- some tiny usability improvements
thanks to [email protected] again
* Thu Jun 19 2003 - [email protected]
- some usability improvements
thanks to [email protected]
- some more configuration options
* Fri Oct 4 2002 - [email protected]
- Fixed bug exporting keys in PEM format
- Fixed possible empty lines in cert/key/reqlist
thanks to [email protected]
* Fri Sep 27 2002 - [email protected]
- fixed some minor bugs and typos (e.g. concerning openssl 0.9.7)
thanks to [email protected] and [email protected]
* Wed Aug 21 2002 - [email protected]
- fixed revocation
- added some colors
- thanks to [email protected]
* Sun Aug 18 2002 - [email protected]
- new version 0.4.0
- works independent of OpenCA modules now
- some enhancements to functionality (e.g. export of key without
passwd)
- some smaller bugfixes in usability
- new specfile (thanks to [email protected])
* Thu Jun 6 2002 - Oron Peled <[email protected]>
- Cleaned .spec file
* Mon Jun 3 2002 - [email protected]
- fixed wrong templatedir when creating new CA
* Sun Jun 2 2002 - [email protected]
- fixed some minor bugs and typos
* Sat May 11 2002 - [email protected]
- Added parser for x509 extensions
* Fri May 03 2002 - [email protected]
- added possibility to view requests/certificates
* Thu Apr 18 2002 - [email protected]
- added configuration
* Sun Apr 7 2002 - [email protected]
- improved usability
* Sun Mar 31 2002 - [email protected]
- added function to delete ca
* Sat Mar 30 2002 - [email protected]
- allow import of pkcs#10 requests
* Thu Mar 21 2002 - [email protected]
- use different listboxes
* Mon Mar 18 2002 - [email protected]
- initial package