2007-01-16 00:15:34 +01:00
|
|
|
#
|
2007-07-27 15:10:15 +02:00
|
|
|
# spec file for package gpgme (Version 1.1.5)
|
2007-01-16 00:15:34 +01:00
|
|
|
#
|
2007-02-05 00:48:04 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:15:34 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: gpgme
|
|
|
|
BuildRequires: gpg2 libgcrypt-devel libksba-devel
|
|
|
|
%define prefix /usr
|
2007-07-27 15:10:15 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:15:34 +01:00
|
|
|
Group: Productivity/Security
|
|
|
|
PreReq: %install_info_prereq
|
|
|
|
Autoreqprov: on
|
2007-07-27 15:10:15 +02:00
|
|
|
Version: 1.1.5
|
2007-08-07 00:32:20 +02:00
|
|
|
Release: 8
|
2007-01-16 00:15:34 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-07-27 15:10:15 +02:00
|
|
|
Patch1: %{name}-1.1.4-warning.patch
|
2007-01-16 00:15:34 +01:00
|
|
|
URL: http://www.gnupg.org/related_software/gpgme/
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
2007-01-16 00:15:34 +01:00
|
|
|
Summary: A Library Designed to give Applications easy Access to GnuPG
|
2007-08-06 23:39:18 +02:00
|
|
|
Group: Productivity/Security
|
2007-01-16 00:15:34 +01:00
|
|
|
Requires: gpgme = %{version} libgpg-error-devel glibc-devel
|
|
|
|
Autoreqprov: on
|
|
|
|
|
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
|
|
|
|
Summary: A Library Designed to give Applications easy Access to GnuPG
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: libgpgme11 = %{version} libgpg-error-devel glibc-devel
|
|
|
|
Provides: gpgme-devel = %{version}
|
|
|
|
Obsoletes: gpgme-devel <= %{version}
|
|
|
|
Autoreqprov: on
|
|
|
|
|
|
|
|
%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
|
|
|
|
%patch1
|
|
|
|
autoreconf --force --install
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
|
|
|
./configure \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--prefix=%{prefix} \
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--disable-static
|
|
|
|
make
|
|
|
|
if test $ABUILD_RUN_TEST_SUITES = true ; then
|
|
|
|
make test
|
|
|
|
fi
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/gpgme.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gpgme.info.gz
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog README NEWS THANKS TODO
|
2007-03-13 00:53:06 +01:00
|
|
|
/usr/share/common-lisp
|
|
|
|
/usr/share/common-lisp/source
|
2007-03-12 01:58:50 +01:00
|
|
|
%prefix/share/common-lisp/source/gpgme
|
2007-01-16 00:15:34 +01:00
|
|
|
|
|
|
|
%_infodir/gpgme*
|
|
|
|
|
2007-08-06 23:39:18 +02:00
|
|
|
%files -n libgpgme11
|
2007-08-07 00:32:20 +02:00
|
|
|
%defattr(-,root,root)
|
2007-08-06 23:39:18 +02:00
|
|
|
%_libdir/libgpgme.so.*
|
|
|
|
%_libdir/libgpgme-pthread.so.*
|
|
|
|
%_libdir/libgpgme-pth.so.*
|
|
|
|
|
|
|
|
%files -n libgpgme-devel
|
2007-01-16 00:15:34 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libgpgme.la
|
|
|
|
%_libdir/libgpgme.so
|
|
|
|
%_libdir/libgpgme-pthread.la
|
|
|
|
%_libdir/libgpgme-pthread.so
|
2007-02-05 00:48:04 +01:00
|
|
|
%_libdir/libgpgme-pth.la
|
|
|
|
%_libdir/libgpgme-pth.so
|
2007-01-16 00:15:34 +01:00
|
|
|
%prefix/bin/gpgme-config
|
|
|
|
%prefix/share/aclocal/gpgme.m4
|
|
|
|
%prefix/include/gpgme.h
|
|
|
|
|
2007-03-12 01:58:50 +01:00
|
|
|
%changelog
|
2007-08-07 00:32:20 +02:00
|
|
|
* Tue Aug 07 2007 - mrueckert@suse.de
|
|
|
|
- add defattr to the lib package
|
2007-08-06 23:39:18 +02:00
|
|
|
* Mon Aug 06 2007 - zpetrova@suse.cz
|
|
|
|
- split gpgme to libgpgme11 and gpgme.
|
2007-07-27 15:10:15 +02:00
|
|
|
* Fri Jul 27 2007 - zpetrova@suse.cz
|
|
|
|
- update to version 1.1.5
|
|
|
|
- small bug and portability fixes.
|
2007-05-16 16:20:36 +02:00
|
|
|
* Wed May 16 2007 - zpetrova@suse.cz
|
|
|
|
- removed gpg from Requires list. (#273491)
|
2007-03-13 00:53:06 +01:00
|
|
|
* Mon Mar 12 2007 - zpetrova@suse.cz
|
|
|
|
- updated filelist
|
2007-03-12 01:58:50 +01:00
|
|
|
* Fri Mar 09 2007 - ltinkl@suse.cz
|
|
|
|
- update to latest version (1.1.4), needed for gpa
|
|
|
|
* Detect and bail out on double plaintext messages. This is required
|
|
|
|
so that applications can properly detect the signed parts of a
|
|
|
|
message. Actual there is now a double protection as GnuPG 1.4.7
|
|
|
|
will detect this case too.
|
|
|
|
* Fixed a memory leak in gpgme_data_release_and_get_mem.
|
|
|
|
* Fixed a bug in Windows command line quoting.
|
2007-02-05 00:48:04 +01:00
|
|
|
* Mon Feb 05 2007 - ro@suse.de
|
|
|
|
- updated filelist
|
2007-01-16 00:15:34 +01:00
|
|
|
* Wed Sep 20 2006 - anosek@suse.cz
|
|
|
|
- fixed compiler warning: variable "key" is used before its value
|
|
|
|
is set [#159104] (warning.patch)
|
|
|
|
* Mon Jul 17 2006 - nadvornik@suse.cz
|
|
|
|
- fixed pthread support in gpgme-config
|
|
|
|
* Wed Jun 28 2006 - zpetrova@suse.cz
|
|
|
|
- update to version 1.1.2
|
|
|
|
* Thu Jan 26 2006 - sbrabec@suse.cz
|
|
|
|
- Added %%install_info_prereq.
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Sat Jan 14 2006 - kukuk@suse.de
|
|
|
|
- Create devel subpackage [#140727]
|
|
|
|
* Sat Dec 03 2005 - meissner@suse.de
|
|
|
|
- require libgpg-error-devel (since we include headers that
|
|
|
|
include headers from there).
|
|
|
|
* Mon Nov 28 2005 - zpetrova@suse.cz
|
|
|
|
- Update to version 1.0.3 (#135395).
|
|
|
|
* Thu Feb 17 2005 - didge@suse.de
|
|
|
|
- update to stable version 1.0.2
|
|
|
|
- update of url
|
|
|
|
* Mon Jul 12 2004 - adrian@suse.de
|
|
|
|
- update to version 0.9.0
|
|
|
|
* support for gpg2
|
|
|
|
* Thu Mar 18 2004 - didge@suse.de
|
|
|
|
- fixed bug #36194
|
|
|
|
* Fri Feb 27 2004 - ro@suse.de
|
|
|
|
- added libgpg-error to neededforbuild
|
|
|
|
* Mon Feb 09 2004 - didge@suse.de
|
|
|
|
- version 0.3.16
|
|
|
|
* Sat Jan 10 2004 - adrian@suse.de
|
|
|
|
- add %%run_ldconfig
|
|
|
|
* Tue Sep 02 2003 - mc@suse.de
|
|
|
|
- add newpg, libgcrypt and libksba to neededforbuild again
|
|
|
|
it is needed to support kmail with cryptplug
|
|
|
|
fixed #29620, #29641 and #29642
|
|
|
|
* Mon Aug 11 2003 - adrian@suse.de
|
|
|
|
- cleanup #neededforbuild and requires
|
|
|
|
* Tue Aug 05 2003 - adrian@suse.de
|
|
|
|
- fix libtool handling to get shared libraries
|
|
|
|
* Thu May 22 2003 - coolo@suse.de
|
|
|
|
- fixing info pages
|
|
|
|
* Wed Apr 16 2003 - coolo@suse.de
|
|
|
|
- use BuildRoot
|
|
|
|
* Fri Feb 21 2003 - mc@suse.de
|
|
|
|
- fixed -fPIC and lib64 Problems
|
|
|
|
* Thu Feb 20 2003 - mc@suse.de
|
|
|
|
- update to version 0.3.15
|
|
|
|
* Thu Jan 30 2003 - didge@suse.de
|
|
|
|
- Version 0.3.14
|
|
|
|
* Mon Oct 21 2002 - didge@suse.de
|
|
|
|
- Version 0.3.12
|
|
|
|
* Wed Sep 25 2002 - ro@suse.de
|
|
|
|
- removed bogus self-provides again
|
|
|
|
* Wed Sep 25 2002 - didge@suse.de
|
|
|
|
- Version 0.3.11
|
|
|
|
* Tue Sep 10 2002 - didge@suse.de
|
|
|
|
- Version 0.3.10
|
|
|
|
* Wed Jul 31 2002 - didge@suse.de
|
|
|
|
- Version 0.3.8
|
|
|
|
* Fri Jun 21 2002 - didge@suse.de
|
|
|
|
- New Version 0.3.7
|
|
|
|
* Fri May 10 2002 - didge@suse.de
|
|
|
|
- New Version 0.3.6
|
|
|
|
* Tue May 07 2002 - ro@suse.de
|
|
|
|
- fixed specfile: no macro allowed in Version: line
|
|
|
|
* Fri Mar 08 2002 - didge@suse.de
|
|
|
|
- New Version 0.3.4
|
|
|
|
* Thu Feb 14 2002 - didge@suse.de
|
|
|
|
- New Version 0.3.3
|
|
|
|
* Fri Jan 04 2002 - didge@suse.de
|
|
|
|
- New Version 0.3.0
|
|
|
|
* Wed Oct 31 2001 - didge@suse.de
|
|
|
|
- Fixed patch
|
|
|
|
* Mon Oct 29 2001 - didge@suse.de
|
|
|
|
- Needs a patch to build on other platforms than i386
|
|
|
|
* Tue Oct 09 2001 - didge@suse.de
|
|
|
|
- Version 0.2.3
|
|
|
|
- needs a patch to build because something is broken?!
|
|
|
|
* Thu Sep 13 2001 - didge@suse.de
|
|
|
|
- Fix a bug to build under AXP
|
|
|
|
* Wed Aug 22 2001 - didge@suse.de
|
|
|
|
- First build, Verison 0.2.2
|