Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570244
en ru br
Репозитории ALT
S:2.4.3-alt1
5.1: 2.0.14-alt1.M51.1
4.1: 2.0.14-alt1.M41.1
4.0: 2.0.9-alt2.M40.1
3.0: 1.9.17-alt2
www.altlinux.org/Changes

Другие репозитории
Upstream:2.0.8

Группа :: Система/Библиотеки
Пакет: gnupg2

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

%add_findreq_skiplist %_sysconfdir/X11/xinit.d/*


Name: gnupg2
Version: 1.9.17
Release: alt2

Group: System/Libraries
Summary: The GNU Privacy Guard 2
License: GPL
Url: http://www.gnupg.org/

PreReq(post,preun): info-install

Provides: newpg = %version-%release
Obsoletes: newpg
Provides: gnupg-agent = %version-%release

Requires: alternatives >= 0.2.0

Source0: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%version.tar.bz2
Source1: gnupg-agent.sh
Patch1: gnupg-1.6.9-xloadimage.patch
Patch2: gnupg-1.9.15-gnupg2-info.patch
Patch3: gnupg-1.9.7-alt-TMPDIR.patch
Patch4: gnupg-1.9.17-fix-compile.patch

# Automatically added by buildreq on Tue Apr 06 2004 (-bi)

#BuildRequires: OpenSP alternatives docbook-dtds docbook-style-dsssl docbook-utils libassuan-devel libcap-devel libgcrypt-devel libgpg-error-devel libksba-devel libopensc-devel libpcsclite-devel libpth-devel libusb-devel sgml-common zlib-devel
BuildRequires: OpenSP alternatives docbook-dtds docbook-style-dsssl
BuildRequires: docbook-utils libcap-devel libgcrypt-devel
BuildRequires: libassuan-devel >= 0.6.9
BuildRequires: libgpg-error-devel libksba-devel
#BuildRequires: libopensc-devel libpcsclite-devel
BuildRequires: libpth-devel libusb-devel
BuildRequires: sgml-common zlib-devel

%description
GnuPG 1.9 is the future version of GnuPG; it is based on the gnupg-1.3
code and the previous newpg package.  It will eventually lead to a
GnuPG 2.0 release.

NOTE: this is a development version!

%prep
%setup -q -n gnupg-%version
%patch1 -p1
%patch2 -p1
#%patch3 -p1
%patch4 -p1
mv -f doc/gnupg.texi doc/gnupg2.texi
#%__aclocal
#%__autoconf
#%__automake
./autogen.sh

%build
%configure \
--disable-rpath \
--with-capabilities \
--enable-gpg \
--with-capabilities \
--enable-m-guard \
--disable-m-debug \
--enable-symcryptrun \
--without-included-gettext \
--with-mailprog=%_sbindir/sendmail \
--with-pinentry-pgm=%_bindir/pinentry \
--libexecdir=%_libdir/gnupg \
--with-pkits-tests
%make

%install
%make install DESTDIR=%buildroot

mkdir -p %buildroot/%_sysconfdir/profile.d/ %buildroot/%_sysconfdir/X11/xinit.d/
install -m 0755 %SOURCE1 %buildroot/%_sysconfdir/profile.d/gnupg-agent.sh
ln -s ../../profile.d/gnupg-agent.sh %buildroot/%_sysconfdir/X11/xinit.d/gnupg-agent.sh

%find_lang %name

#%post -p %post_ldconfig

#%postun -p %postun_ldconfig
%post
%install_info gnupg2.info
%postun
%uninstall_info gnupg2.info

%files -f %name.lang
%doc README TODO ChangeLog NEWS AUTHORS THANKS
%_sysconfdir/X11/xinit.d/gnupg-agent.sh
%config(noreplace) %_sysconfdir/profile.d/gnupg-agent.sh
%_bindir/*
%_sbindir/*
%_libdir/gnupg
%_datadir/gnupg
%_infodir/*.info*

%changelog

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

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