Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37516543
en ru br
Репозитории ALT
S:1.4.23-alt4
5.1: 1.4.10-alt4
4.1: 1.4.9-alt1
4.0: 1.4.9-alt1.M40.1
3.0: 1.4.1-alt1
+updates:1.4.5-alt0.M30.0
www.altlinux.org/Changes

Группа :: Работа с файлами
Пакет: gnupg

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: gnupg
Version: 1.4.5
Release: alt0.M30.0

Summary: The GNU Privacy Guard
License: GPL
Group: File tools
Url: http://www.gnupg.org/
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source: ftp://ftp.gnupg.org/GnuPG/gnupg/gnupg-%version.tar
Source1: pgp2gnupg.html
Source2: gpg-convert-from-106.1
Source3: gpgsplit.1
Source4: lspgpot.1

Patch1: gnupg-1.4.3-alt-ru.po.patch
Patch2: gnupg-1.4.3-alt-always-trust.patch
Patch3: gnupg-1.4.2-alt-cp1251.patch
Patch4: gnupg-1.4.2-fw-secret-key-checks.patch
Patch5: gnupg-1.4.3-deb-man.patch

Patch11: gnupg-1.4.2-alt-texinfo.patch
Patch12: gnupg-1.4.4-alt-skel.patch
Patch13: gnupg-1.4.2-alt-GNUPG_DATADIR.patch
Patch14: gnupg-1.4.3-alt-autotools.patch
Patch15: gnupg-1.4.5-fix-ask_outfile_name.patch

Provides: gpg, openpgp
Requires(post): %install_info
Requires(preun): %uninstall_info

%define _libexecdir %_prefix/libexec
%def_enable ldap

BuildPreReq: bzlib-devel cvs docbook-utils libreadline-devel zlib-devel
%if_enabled ldap
BuildPreReq: libldap-devel
%endif #enabled ldap

%package ldap
Group: File tools
Summary: The LDAP keyserver interface for the GNU Privacy Guard
Requires: %name = %version-%release

%description
GnuPG (GNU Privacy Guard) is a GNU utility for encrypting data
and creating digital signatures.  GnuPG has advanced key management
capabilities and is compliant with the proposed OpenPGP Internet standard
described in RFC2440.  Because GnuPG doesn't use any patented algorithms,
it is not compatible with some versions of PGP 2 which use only the
patented IDEA algorithm.  See http://www.gnupg.org/why-not-idea.html
for information on using IDEA if the patent does not apply to you and
you need to be compatible with these versions of PGP 2.

%description ldap
This package contains the LDAP keyserver interface
for the GNU Privacy Guard.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
find -type f -name \*.orig -delete -print

install -p -m644 %_sourcedir/pgp2gnupg.html doc/
%__subst -p 's,/usr\[/local\]/share/gnupg,/etc/gnupg,g' doc/gpg.*
find -type f -print0 |
xargs -r0 grep -FlZ xloadimage -- |
xargs -r0 %__subst -p s/xloadimage/xli/g --
find -type f -print0 |
xargs -r0 grep -FlZ docbook-to-man -- |
xargs -r0 %__subst -p s/docbook-to-man/docbook2man/g --
bzip2 -9k NEWS doc/{DETAILS,FAQ,samplekeys.asc}

%build
rm aclocal.m4
autoreconf -fisv
rm -r zlib
%__subst -p 's/^mkinstalldirs = .*/mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS)/' po/Makefile.in.in
%configure \
--with-static-rnd=linux \
--with-mailprog=%_sbindir/sendmail \
--program-prefix= \
--enable-noexecstack \
%{subst_enable ldap} \
#
%make_build
%{!?__buildreqs:%{!?_without_check:%{!?_disable_check:%make_build check}}}

%install
%make_install install DESTDIR=%buildroot
install -pm755 tools/lspgpot %buildroot%_bindir/lspgpot
install -pm755 tools/convert-from-106 %buildroot%_bindir/gpg-convert-from-106
install -pm644 %_sourcedir/{gpg-convert-from-106,gpgsplit,lspgpot}.1 \
%buildroot%_man1dir/

# Move localized manpages to FHS compliant locations

mkdir -p %buildroot%_mandir/ru/man1
mv %buildroot%_man1dir/gpg.ru.1 %buildroot%_mandir/ru/man1/gpg.1

# Remove from %_datadir/%name what we install into %_docdir/%name-%version

rm -rv %buildroot%_datadir/%name

%find_lang %name

%post
%install_info {gpg,gpgv}.info

%preun
%uninstall_info {gpg,gpgv}.info

%files -f %name.lang
%_bindir/*
%_libexecdir/%name
%if_enabled ldap
%exclude %_libexecdir/%name/*ldap*
%endif #enabled ldap
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/options.skel
%_mandir/man?/*
%lang(ru) %_mandir/ru/man?/*
%_infodir/*.info*
%doc AUTHORS BUGS NEWS.bz2 PROJECTS README THANKS TODO
%doc doc/{HACKING,OpenPGP,highlights-1.4.txt,*.bz2,*.html}
%doc tools/ring-a-party

%if_enabled ldap
%files ldap
%dir %_libexecdir/%name
%_libexecdir/%name/*ldap*
%endif #enabled ldap

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin