Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.7
obs-signd-gnupg2
obs-signd-gnupg2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-signd-gnupg2.spec of Package obs-signd-gnupg2
Summary: GnuPG 2.0 for compatibility with obs-signd Name: obs-signd-gnupg2 Version: 2.0.29 Release: 1%{?dist} License: GPLv3+ Group: Applications/System Source0: https://www.gnupg.org/ftp/gcrypt/%{?pre:alpha/}gnupg/gnupg-%{version}%{?pre}.tar.bz2 Source1: https://www.gnupg.org/ftp/gcrypt/%{?pre:alpha/}gnupg/gnupg-%{version}%{?pre}.tar.bz2.sig # svn export svn://cvs.gnupg.org/gnupg/trunk gnupg2; tar cjf gnupg-<date>svn.tar.bz2 gnupg2 #Source0: gnupg2-20090809svn.tar.bz2 Patch1: gnupg-2.0.20-insttools.patch Patch3: gnupg-2.0.20-secmem.patch # non-upstreamable patch adding file-is-digest option needed for Copr Patch4: gnupg-2.0.27-file-is-digest.patch Patch5: gnupg-2.0.20-ocsp-keyusage.patch Patch6: gnupg-2.0.19-fips-algo.patch URL: http://www.gnupg.org/ #BuildRequires: automake libtool texinfo transfig BuildRequires: bzip2-devel BuildRequires: curl-devel BuildRequires: docbook-utils BuildRequires: gettext BuildRequires: libassuan-devel >= 2.0.0 BuildRequires: libgcrypt-devel >= 1.4 BuildRequires: libgpg-error-devel => 1.4 BuildRequires: libksba-devel >= 1.0.2 BuildRequires: openldap-devel BuildRequires: libusb-devel BuildRequires: pcsc-lite-libs BuildRequires: pth-devel BuildRequires: readline-devel ncurses-devel BuildRequires: zlib-devel Requires: pinentry %if 0%{?rhel} > 5 # pgp-tools, perl-GnuPG-Interface requires 'gpg' (not sure why) -- Rex Provides: gpg = %{version}-%{release} # Obsolete GnuPG-1 package Provides: gnupg = %{version}-%{release} Obsoletes: gnupg <= 1.4.10 %endif %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} %description GnuPG is GNU's tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility and is compliant with the proposed OpenPGP Internet standard as described in RFC2440 and the S/MIME standard as described by several RFCs. GnuPG 2.0 is a newer version of GnuPG with additional support for S/MIME. It has a different design philosophy that splits functionality up into several modules. The S/MIME and smartcard functionality is provided by the gnupg2-smime package. This package containg version 2.0 for compatibility with obs-signd. %prep %setup -q -n gnupg-%{version} %if 0%{?rhel} > 5 %patch1 -p1 -b .insttools %endif %patch3 -p1 -b .secmem %patch4 -p1 -b .file-is-digest %patch5 -p1 -b .keyusage %patch6 -p1 -b .fips # pcsc-lite library major: 0 in 1.2.0, 1 in 1.2.9+ (dlopen()'d in pcsc-wrapper) # Note: this is just the name of the default shared lib to load in scdaemon, # it can use other implementations too (including non-pcsc ones). %global pcsclib %(basename $(ls -1 %{_libdir}/libpcsclite.so.? 2>/dev/null ) 2>/dev/null ) sed -i -e 's/"libpcsclite\.so"/"%{pcsclib}"/' scd/{scdaemon,pcsc-wrapper}.c %build %configure \ --disable-rpath \ --enable-standard-socket \ --bindir=%{_libexecdir}/obs-signd \ --sbindir=%{_libexecdir}/obs-signd \ --libexecdir=%{_libexecdir}/obs-signd \ --disable-gpgsm \ --disable-scdaemon \ --disable-g13 \ --disable-dirmngr \ --disable-doc \ --disable-gpgtar # need scratch gpg database for tests mkdir -p $HOME/.gnupg make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} \ INSTALL="install -p" \ docdir=%{_pkgdocdir} rm -rf %{buildroot}%{_infodir} rm -rf %{buildroot}%{_mandir} rm -rf %{buildroot}%{_datadir}/gnupg rm -rf %{buildroot}%{_datadir}/locale %check # need scratch gpg database for tests mkdir -p $HOME/.gnupg # some gpg2 tests (still) FAIL on non i386 platforms make -k check %files %defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license COPYING #doc AUTHORS ChangeLog NEWS README THANKS TODO %{_pkgdocdir} ## docs say to install suid root, but fedora/rh security folk say not to #attr(4755,root,root) %{_bindir}/gpg2 %{_libexecdir}/* %exclude %{_datadir}/gnupg/com-certs.pem %exclude %{_libexecdir}/scdaemon
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor