This commit is contained in:
committed by
Git OBS Bridge
parent
0e9a3fd3dd
commit
5d7e27a325
36
gpg2.spec
36
gpg2.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gpg2 (Version 1.9.22)
|
||||
# spec file for package gpg2 (Version 2.0.1rc1)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@@ -11,7 +11,7 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: gpg2
|
||||
BuildRequires: expect krb5 libassuan libgcrypt-devel libksba-devel pcsc-lite
|
||||
BuildRequires: expect krb5 libassuan libgcrypt-devel libksba-devel pcsc-lite pth readline-devel
|
||||
URL: http://www.gnupg.org/aegypten2/
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Productivity/Networking/Security
|
||||
@@ -21,17 +21,15 @@ Requires: pinentry, dirmngr, gpg
|
||||
Provides: newpg
|
||||
Obsoletes: newpg
|
||||
Summary: GnuPG 2
|
||||
Version: 1.9.22
|
||||
Release: 20
|
||||
%define pthversion 2.0.7
|
||||
Version: 2.0.1rc1
|
||||
Release: 1
|
||||
Source: gnupg-%{version}.tar.bz2
|
||||
Source1: pth-%{pthversion}.tar.bz2
|
||||
%define nld_build 0
|
||||
Patch2: nld-build.diff
|
||||
Patch4: gnupg-1.9.22-warnings-fix.diff
|
||||
Patch4: gnupg-vasprintf.diff
|
||||
Patch5: gnupg-1.9.22-ccid-driver-fix.diff
|
||||
Patch6: gnupg-1.9.18-tmpdir.diff
|
||||
Patch7: %{name}-%{version}-CVE-2006-6169.diff
|
||||
Patch7: %{name}-1.9.22-CVE-2006-6169.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -46,7 +44,7 @@ Authors:
|
||||
Neal H. Walfield <neal@g10code.de>
|
||||
|
||||
%prep
|
||||
%setup -q -n gnupg-%{version} -b 1
|
||||
%setup -q -n gnupg-%{version}
|
||||
%if %nld_build
|
||||
%patch2
|
||||
%endif
|
||||
@@ -57,16 +55,8 @@ Authors:
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
cd ../pth-%pthversion
|
||||
./configure --disable-shared
|
||||
make
|
||||
make test
|
||||
cd -
|
||||
# opensc should be added to neededforbuild, but the support
|
||||
# in gpg2 is broken atm.
|
||||
export CFLAGS="$RPM_OPT_FLAGS -I$PWD/../pth-%pthversion"
|
||||
export LDFLAGS="-L$PWD/../pth-%pthversion/.libs"
|
||||
export PATH="$PWD/../pth-%pthversion/:$PATH"
|
||||
autoreconf -fi
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
@@ -104,15 +94,17 @@ rm $RPM_BUILD_ROOT/usr/share/info/dir
|
||||
%defattr(-,root,root)
|
||||
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO VERSION
|
||||
%doc %_infodir/gnupg*
|
||||
%doc %{_mandir}/*/*.gz
|
||||
/usr/bin/*
|
||||
%{_libdir}/gnupg
|
||||
%{_libdir}/gpg-protect-tool
|
||||
%{_libdir}/gpg-preset-passphrase
|
||||
%{_libdir}/*
|
||||
/usr/sbin/addgnupghome
|
||||
/usr/share/locale/de/LC_MESSAGES/gnupg2.mo
|
||||
/usr/share/locale/*/LC_MESSAGES/gnupg2.mo
|
||||
/usr/share/gnupg
|
||||
|
||||
%changelog -n gpg2
|
||||
* Mon Jan 29 2007 - ltinkl@suse.cz
|
||||
- fix #221212 - gpg2 is not updated and do not contain documentation
|
||||
- fix #233525 - gpg1/2: bug in vasprintf() implementation
|
||||
* Thu Nov 30 2006 - anicka@suse.cz
|
||||
- fix overflow in openfile.c (CVE-2006-6169, #224108)
|
||||
* Mon Sep 11 2006 - pnemec@suse.cz
|
||||
|
Reference in New Issue
Block a user