2007-01-16 00:15:34 +01:00
|
|
|
#
|
2010-04-01 15:29:33 +02:00
|
|
|
# spec file for package gpgme (Version 1.2.0)
|
2007-01-16 00:15:34 +01:00
|
|
|
#
|
2010-02-05 14:16:49 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:15:34 +01:00
|
|
|
#
|
2009-01-13 18:58:06 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:15:34 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:17:43 +02:00
|
|
|
|
2007-01-16 00:15:34 +01:00
|
|
|
Name: gpgme
|
2009-06-29 16:50:45 +02:00
|
|
|
BuildRequires: gpg2 >= 2.0.10
|
|
|
|
BuildRequires: libpth-devel >= 2.0.7
|
|
|
|
BuildRequires: libgpg-error-devel >= 1.4
|
2010-02-05 14:16:49 +01:00
|
|
|
License: GPLv2+
|
2007-01-16 00:15:34 +01:00
|
|
|
Group: Productivity/Security
|
2010-04-01 15:29:33 +02:00
|
|
|
PreReq: %install_info_prereq
|
2007-12-31 22:22:29 +01:00
|
|
|
AutoReqProv: on
|
2010-04-01 15:29:33 +02:00
|
|
|
Version: 1.2.0
|
2010-02-05 14:16:49 +01:00
|
|
|
Release: 2
|
2008-02-08 21:18:15 +01:00
|
|
|
Source: ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2
|
2010-02-05 14:16:49 +01:00
|
|
|
Source2: baselibs.conf
|
2010-04-01 15:29:33 +02:00
|
|
|
Patch1: %{name}-1.1.8-makecheck.patch
|
2007-12-31 22:22:29 +01:00
|
|
|
Url: http://www.gnupg.org/related_software/gpgme/
|
2007-01-16 00:15:34 +01:00
|
|
|
Summary: A Library Designed to Give Applications Easy Access to GnuPG
|
2007-05-16 16:20:36 +02:00
|
|
|
Requires: gpg2
|
2007-01-16 00:15:34 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
|
|
|
easier for applications. It provides a high-level Crypto API for
|
|
|
|
encryption, decryption, signing, signature verification, and key
|
|
|
|
management. Currently it uses GnuPG as its back-end, but the API is not
|
|
|
|
restricted to this engine.
|
|
|
|
|
|
|
|
Because the direct use of GnuPG from an application can be a
|
|
|
|
complicated programming task, it is suggested that all software should
|
|
|
|
try to use GPGME instead. This way bug fixes or improvements can be
|
|
|
|
done at a central place and every application benefits from this.
|
|
|
|
Authors of MUAs should especially consider using GPGME. Creating a set
|
|
|
|
of standard widgets for common key selection tasks is even planned.
|
|
|
|
|
|
|
|
|
2010-04-01 15:29:33 +02:00
|
|
|
|
2007-01-16 00:15:34 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
FSF <gnu@gnu.org>
|
|
|
|
- Code taken from GnuPG 1.0: gpgme/w32-util.c, GnuPG 1.1: jnlib/.
|
|
|
|
|
|
|
|
g10 Code GmbH <code@g10code.com>
|
|
|
|
- All stuff since mid march 2001.
|
|
|
|
|
|
|
|
Werner Koch <wk@gnupg.org>
|
|
|
|
- Design and most stuff.
|
|
|
|
|
2007-08-06 23:39:18 +02:00
|
|
|
%package -n libgpgme11
|
2010-02-05 14:16:49 +01:00
|
|
|
License: GPLv2+
|
2007-01-16 00:15:34 +01:00
|
|
|
Summary: A Library Designed to give Applications easy Access to GnuPG
|
2007-12-31 22:22:29 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-08-08 00:52:13 +02:00
|
|
|
Requires: gpgme = %{version}
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2007-08-06 23:39:18 +02:00
|
|
|
%description -n libgpgme11
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
|
|
|
easier for applications. It provides a high-level Crypto API for
|
|
|
|
encryption, decryption, signing, signature verification, and key
|
|
|
|
management. Currently it uses GnuPG as its back-end, but the API is not
|
|
|
|
restricted to this engine.
|
|
|
|
|
|
|
|
Who Should use GPGME?
|
|
|
|
|
|
|
|
Because the direct use of GnuPG from an application can be a
|
|
|
|
complicated programming task, it is suggested that all software should
|
|
|
|
try to use GPGME instead. This way bug fixes or improvements can be
|
|
|
|
done at a central place and every application benefits from this.
|
|
|
|
Authors of MUAs should especially consider using GPGME. Creating a set
|
|
|
|
of standard widgets for common key selection tasks is even planned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
FSF <gnu@gnu.org>
|
|
|
|
- Code taken from GnuPG 1.0: gpgme/w32-util.c, GnuPG 1.1: jnlib/.
|
|
|
|
|
|
|
|
g10 Code GmbH <code@g10code.com>
|
|
|
|
- All stuff since mid march 2001.
|
|
|
|
|
|
|
|
Werner Koch <wk@gnupg.org>
|
|
|
|
- Design and most stuff.
|
|
|
|
|
|
|
|
%package -n libgpgme-devel
|
2010-02-05 14:16:49 +01:00
|
|
|
License: GPLv2+
|
2007-08-06 23:39:18 +02:00
|
|
|
Summary: A Library Designed to give Applications easy Access to GnuPG
|
2007-12-31 22:22:29 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2009-06-12 17:51:00 +02:00
|
|
|
Requires: libgpgme11 = %{version} libgpg-error-devel glibc-devel libpth-devel
|
2010-04-01 15:29:33 +02:00
|
|
|
Provides: gpgme-devel = %{version}
|
|
|
|
Obsoletes: gpgme-devel <= %{version}
|
2007-08-06 23:39:18 +02:00
|
|
|
|
|
|
|
%description -n libgpgme-devel
|
2007-01-16 00:15:34 +01:00
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
|
|
|
easier for applications. It provides a high-level Crypto API for
|
|
|
|
encryption, decryption, signing, signature verification, and key
|
|
|
|
management. Currently it uses GnuPG as its back-end, but the API is not
|
|
|
|
restricted to this engine.
|
|
|
|
|
|
|
|
Who Should use GPGME?
|
|
|
|
|
|
|
|
Because the direct use of GnuPG from an application can be a
|
|
|
|
complicated programming task, it is suggested that all software should
|
|
|
|
try to use GPGME instead. This way bug fixes or improvements can be
|
|
|
|
done at a central place and every application benefits from this.
|
|
|
|
Authors of MUAs should especially consider using GPGME. Creating a set
|
|
|
|
of standard widgets for common key selection tasks is even planned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
FSF <gnu@gnu.org>
|
|
|
|
- Code taken from GnuPG 1.0: gpgme/w32-util.c, GnuPG 1.1: jnlib/.
|
|
|
|
|
|
|
|
g10 Code GmbH <code@g10code.com>
|
|
|
|
- All stuff since mid march 2001.
|
|
|
|
|
|
|
|
Werner Koch <wk@gnupg.org>
|
|
|
|
- Design and most stuff.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-04-01 15:29:33 +02:00
|
|
|
%patch1
|
2007-01-16 00:15:34 +01:00
|
|
|
|
|
|
|
%build
|
2008-02-08 21:18:15 +01:00
|
|
|
sh autogen.sh
|
|
|
|
# Ensure that a (re)build uses fixed binaries with minimum version because
|
|
|
|
# in case configure picks GnuPG-1.x, e.g. from /usr/local, this would cause
|
|
|
|
# testsuite failures:
|
|
|
|
%configure --disable-static \
|
2009-02-19 22:11:16 +01:00
|
|
|
--with-gpg-version=2.0.10 \
|
|
|
|
--with-gpgsm-version=2.0.10 \
|
|
|
|
--with-gpgconf-version=2.0.10 \
|
2008-02-08 21:18:15 +01:00
|
|
|
--with-gpg=%_bindir/gpg2 \
|
|
|
|
--with-gpgsm=%_bindir/gpgsm \
|
|
|
|
--with-gpgconf=%_bindir/gpgconf
|
2007-01-16 00:15:34 +01:00
|
|
|
|
|
|
|
%install
|
2009-01-13 18:58:06 +01:00
|
|
|
%makeinstall
|
2008-02-08 21:18:15 +01:00
|
|
|
# Do this now to make /usr/lib/rpm/brp-chuck-la happy:
|
|
|
|
rm %buildroot/%_libdir/*.la
|
|
|
|
|
|
|
|
%check
|
2010-04-01 15:29:33 +02:00
|
|
|
# With patch2 and upstream, gpg tests use a dummy pinentry script, so run them:
|
2008-02-08 21:18:15 +01:00
|
|
|
make check
|
2007-01-16 00:15:34 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-02-08 21:18:15 +01:00
|
|
|
%post -n libgpgme11
|
2009-01-13 18:58:06 +01:00
|
|
|
/sbin/ldconfig
|
2007-12-31 22:22:29 +01:00
|
|
|
|
2008-02-08 21:18:15 +01:00
|
|
|
%postun -n libgpgme11
|
2009-01-13 18:58:06 +01:00
|
|
|
/sbin/ldconfig
|
2007-12-31 22:22:29 +01:00
|
|
|
|
2007-01-16 00:15:34 +01:00
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/gpgme.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gpgme.info.gz
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog README NEWS THANKS TODO
|
2007-12-31 22:22:29 +01:00
|
|
|
%{_datadir}/common-lisp
|
|
|
|
%{_datadir}/common-lisp/source
|
2010-04-01 15:29:33 +02:00
|
|
|
#%#{_datadir}/common-lisp/source/gpgme
|
|
|
|
%_infodir/gpgme*
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2007-08-06 23:39:18 +02:00
|
|
|
%files -n libgpgme11
|
2007-08-07 00:32:20 +02:00
|
|
|
%defattr(-,root,root)
|
2010-04-01 15:29:33 +02:00
|
|
|
%_libdir/libgpgme.so.*
|
|
|
|
%_libdir/libgpgme-pthread.so.*
|
|
|
|
%_libdir/libgpgme-pth.so.*
|
2007-08-06 23:39:18 +02:00
|
|
|
|
|
|
|
%files -n libgpgme-devel
|
2007-01-16 00:15:34 +01:00
|
|
|
%defattr(-,root,root)
|
2010-04-01 15:29:33 +02:00
|
|
|
%_libdir/libgpgme.so
|
|
|
|
%_libdir/libgpgme-pthread.so
|
|
|
|
%_libdir/libgpgme-pth.so
|
2007-12-31 22:22:29 +01:00
|
|
|
%{_bindir}/gpgme-config
|
|
|
|
%{_datadir}/aclocal/gpgme.m4
|
|
|
|
%{_includedir}/gpgme.h
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2007-03-12 01:58:50 +01:00
|
|
|
%changelog
|