You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
171 lines
5.0 KiB
171 lines
5.0 KiB
![]()
8 years ago
|
# 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 <sm@sm-zone.net>
|
||
|
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 <sm@sm-zone.net>
|
||
|
|
||
|
%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 - sm@sm-zone.net
|
||
|
- import functioins added
|
||
|
* Fri Aug 13 2004 - sm@sm-zone.net
|
||
|
- czech translation
|
||
|
* Sun Jun 13 2004 - sm@sm-zone.net
|
||
|
- gui polishing
|
||
|
- code cleanup
|
||
|
- some usability improvements
|
||
|
* Wed Jun 2 2004 - sm@sm-zone.net
|
||
|
- gui polishing
|
||
|
- GUI module splitted to several files
|
||
|
* Fri Oct 3 2003 - sm@sm-zone.net
|
||
|
- added a lot of configuration options
|
||
|
- correctly import/show details of requests without extensions
|
||
|
(thanks to James.Leavitt@anywaregroup.com)
|
||
|
* Mon Sep 1 2003 - sm@sm-zone.net
|
||
|
- added renewal of certificates
|
||
|
* Wed Aug 13 2003 - sm@sm-zone.net
|
||
|
- rewite, now using perl-Gtk
|
||
|
* Sat Jul 5 2003 - sm@sm-zone.net
|
||
|
- added german translation
|
||
|
* Tue Jul 1 2003 - sm@sm-zone.net
|
||
|
- convert index.txt if openssl changed from 0.9.6x to 0.9.7x
|
||
|
* Fri Jun 27 2003 - sm@sm-zone.net
|
||
|
- added export into zip-file
|
||
|
thanks to ludwig.nussel@suse.de
|
||
|
* Mon Jun 23 2003 - sm@sm-zone.net
|
||
|
- some tiny usability improvements
|
||
|
thanks to ludwig.nussel@suse.de again
|
||
|
* Thu Jun 19 2003 - sm@sm-zone.net
|
||
|
- some usability improvements
|
||
|
thanks to ludwig.nussel@suse.de
|
||
|
- some more configuration options
|
||
|
* Fri Oct 4 2002 - sm@sm-zone.net
|
||
|
- Fixed bug exporting keys in PEM format
|
||
|
- Fixed possible empty lines in cert/key/reqlist
|
||
|
thanks to waldemar.mertke@gmx.de
|
||
|
* Fri Sep 27 2002 - sm@sm-zone.net
|
||
|
- fixed some minor bugs and typos (e.g. concerning openssl 0.9.7)
|
||
|
thanks to iebgener@yahoo.com and waldemar.mertke@gmx.de
|
||
|
* Wed Aug 21 2002 - sm@sm-zone.net
|
||
|
- fixed revocation
|
||
|
- added some colors
|
||
|
- thanks to curly@e-card.bg
|
||
|
* Sun Aug 18 2002 - sm@sm-zone.net
|
||
|
- 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 oron@actcom.co.il)
|
||
|
* Thu Jun 6 2002 - Oron Peled <oron@actcom.co.il>
|
||
|
- Cleaned .spec file
|
||
|
* Mon Jun 3 2002 - sm@sm-zone.net
|
||
|
- fixed wrong templatedir when creating new CA
|
||
|
* Sun Jun 2 2002 - sm@sm-zone.net
|
||
|
- fixed some minor bugs and typos
|
||
|
* Sat May 11 2002 - sm@sm-zone.net
|
||
|
- Added parser for x509 extensions
|
||
|
* Fri May 03 2002 - sm@sm-zone.net
|
||
|
- added possibility to view requests/certificates
|
||
|
* Thu Apr 18 2002 - sm@sm-zone.net
|
||
|
- added configuration
|
||
|
* Sun Apr 7 2002 - sm@sm-zone.net
|
||
|
- improved usability
|
||
|
* Sun Mar 31 2002 - sm@sm-zone.net
|
||
|
- added function to delete ca
|
||
|
* Sat Mar 30 2002 - sm@sm-zone.net
|
||
|
- allow import of pkcs#10 requests
|
||
|
* Thu Mar 21 2002 - sm@sm-zone.et
|
||
|
- use different listboxes
|
||
|
* Mon Mar 18 2002 - sm@sm-zone.net
|
||
|
- initial package
|
||
|
|