Группа :: Безопасность/Сети
Пакет: tinyca
Главная Изменения Спек Патчи Загрузить Bugs and FR
# spec file for package tinyca
#
# 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.
#
# Adopted for Sisyphus by Nikolay A. Fetisov
Name: tinyca
Version: 0.6.8
Release: alt1.M24.1
Summary: Graphical tool for managing a Certification Authority
Summary(ru_RU.KOI8-R): Графическая утилита для управления Certification Authority
License: GPL
Group: Security/Networking
URL: http://tinyca.sm-zone.net/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
BuildArch: noarch
Source0: %name-%version.tar.bz2
Source1: %name.xpm
Patch0: %name-0.6.8-alt-openssl_crl_fix.patch
Patch1: %name-0.6.8-alt-gui_fonts.patch
AutoReqProv: perl, yes
BuildPreReq: perl-devel, perl-GTK-Gnome, perl-gettext
Requires: openssl
%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 at sm-zone.net>
%description -l ru_RU.KOI8-R
TinyCA - графическая утилита, написанная на Perl/GTK, для управления
Certification Authority (CA) небольших размеров используя openssl.
TinyCA поддерживает:
- создание и отзыв сертификатов x509 и S/MIME
- запросы PKCS#10
- экспорт сертификатов в форматах PEM, DER, TXT и PKCS#12
- управление серверными сертификатами для использования с серверами web, email, с IPsec,
и т.д.
- управление клиентскими сертификатами для использования в браузерах, почтовых
клиентах, для IPsec и пр.
- создание и управление SubCA
Авторы:
--------
Stephan Martin <sm at sm-zone.net>
%define bindir %_bindir
%define libdir %_datadir/TinyCA/lib
%define templatesdir %_datadir/TinyCA/templates
%define localedir %_datadir/TinyCA/locale/
# Defining _perl_lib_path for correct work of AutoReqProv
%define _perl_lib_path %libdir
%prep
%setup
%patch0 -p1
%patch1 -p1
%build
# Configure pristine source
perl -pi -e 's:./lib:%libdir:g' tinyca
perl -pi -e 's:./templates:%templatesdir:g' tinyca
perl -pi -e 's:./locale:%localedir:g' tinyca
make -C po
%install
LANGUAGES="de es cs"
%__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 -m644 lib/*.pm $RPM_BUILD_ROOT%libdir/
%__install -m644 lib/GUI/*.pm $RPM_BUILD_ROOT%libdir/GUI/
%__install -m644 templates/openssl.cnf $RPM_BUILD_ROOT%templatesdir/
%__install -m755 tinyca $RPM_BUILD_ROOT%bindir/
for LANG in $LANGUAGES; do
%__mkdir -p $RPM_BUILD_ROOT%localedir/$LANG/LC_MESSAGES/
%__install -D -m644 locale/$LANG/LC_MESSAGES/tinyca.mo %buildroot%localedir/$LANG/LC_MESSAGES/tinyca.mo
done
%__mkdir -p $RPM_BUILD_ROOT%_iconsdir/
%__install -m644 %SOURCE1 $RPM_BUILD_ROOT%_iconsdir/
%__mkdir -p $RPM_BUILD_ROOT/%_menudir
%__cat << EOF > $RPM_BUILD_ROOT/%_menudir/%name
?package(%name): \
command="%_bindir/%name"\
icon="tinyca.xpm" \
needs="x11" \
section="Networking/Other" \
title="TinyCA" \
longtitle="пёя.п╦п╩п╦я.п╟ п╢п╩я. я.п©я.п╟п╡п╩п╣п╫п╦я. Certification Authority"
EOF
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc CHANGES INSTALL
%_datadir/TinyCA*
%_menudir/%name
%_iconsdir/%name.xpm
%bindir/tinyca
%changelog
…
Полный changelog можно просмотреть здесь
#
# 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.
#
# Adopted for Sisyphus by Nikolay A. Fetisov
Name: tinyca
Version: 0.6.8
Release: alt1.M24.1
Summary: Graphical tool for managing a Certification Authority
Summary(ru_RU.KOI8-R): Графическая утилита для управления Certification Authority
License: GPL
Group: Security/Networking
URL: http://tinyca.sm-zone.net/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
BuildArch: noarch
Source0: %name-%version.tar.bz2
Source1: %name.xpm
Patch0: %name-0.6.8-alt-openssl_crl_fix.patch
Patch1: %name-0.6.8-alt-gui_fonts.patch
AutoReqProv: perl, yes
BuildPreReq: perl-devel, perl-GTK-Gnome, perl-gettext
Requires: openssl
%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 at sm-zone.net>
%description -l ru_RU.KOI8-R
TinyCA - графическая утилита, написанная на Perl/GTK, для управления
Certification Authority (CA) небольших размеров используя openssl.
TinyCA поддерживает:
- создание и отзыв сертификатов x509 и S/MIME
- запросы PKCS#10
- экспорт сертификатов в форматах PEM, DER, TXT и PKCS#12
- управление серверными сертификатами для использования с серверами web, email, с IPsec,
и т.д.
- управление клиентскими сертификатами для использования в браузерах, почтовых
клиентах, для IPsec и пр.
- создание и управление SubCA
Авторы:
--------
Stephan Martin <sm at sm-zone.net>
%define bindir %_bindir
%define libdir %_datadir/TinyCA/lib
%define templatesdir %_datadir/TinyCA/templates
%define localedir %_datadir/TinyCA/locale/
# Defining _perl_lib_path for correct work of AutoReqProv
%define _perl_lib_path %libdir
%prep
%setup
%patch0 -p1
%patch1 -p1
%build
# Configure pristine source
perl -pi -e 's:./lib:%libdir:g' tinyca
perl -pi -e 's:./templates:%templatesdir:g' tinyca
perl -pi -e 's:./locale:%localedir:g' tinyca
make -C po
%install
LANGUAGES="de es cs"
%__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 -m644 lib/*.pm $RPM_BUILD_ROOT%libdir/
%__install -m644 lib/GUI/*.pm $RPM_BUILD_ROOT%libdir/GUI/
%__install -m644 templates/openssl.cnf $RPM_BUILD_ROOT%templatesdir/
%__install -m755 tinyca $RPM_BUILD_ROOT%bindir/
for LANG in $LANGUAGES; do
%__mkdir -p $RPM_BUILD_ROOT%localedir/$LANG/LC_MESSAGES/
%__install -D -m644 locale/$LANG/LC_MESSAGES/tinyca.mo %buildroot%localedir/$LANG/LC_MESSAGES/tinyca.mo
done
%__mkdir -p $RPM_BUILD_ROOT%_iconsdir/
%__install -m644 %SOURCE1 $RPM_BUILD_ROOT%_iconsdir/
%__mkdir -p $RPM_BUILD_ROOT/%_menudir
%__cat << EOF > $RPM_BUILD_ROOT/%_menudir/%name
?package(%name): \
command="%_bindir/%name"\
icon="tinyca.xpm" \
needs="x11" \
section="Networking/Other" \
title="TinyCA" \
longtitle="пёя.п╦п╩п╦я.п╟ п╢п╩я. я.п©я.п╟п╡п╩п╣п╫п╦я. Certification Authority"
EOF
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc CHANGES INSTALL
%_datadir/TinyCA*
%_menudir/%name
%_iconsdir/%name.xpm
%bindir/tinyca
%changelog
…
Полный changelog можно просмотреть здесь