From 45fd9da41b19316c3b0fc70d315bbd6e20fca0d3493a90534722d8a3e597a7bb Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:15:34 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpgme?expand=0&rev=1 --- .gitattributes | 23 ++++ .gitignore | 1 + gpgme-1.1.2-pthread-config.patch | 13 ++ gpgme-1.1.2-warning.patch | 11 ++ gpgme-1.1.2.tar.bz2 | 3 + gpgme.changes | 197 ++++++++++++++++++++++++++ gpgme.spec | 228 +++++++++++++++++++++++++++++++ ready | 0 8 files changed, 476 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gpgme-1.1.2-pthread-config.patch create mode 100644 gpgme-1.1.2-warning.patch create mode 100644 gpgme-1.1.2.tar.bz2 create mode 100644 gpgme.changes create mode 100644 gpgme.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gpgme-1.1.2-pthread-config.patch b/gpgme-1.1.2-pthread-config.patch new file mode 100644 index 0000000..6de661f --- /dev/null +++ b/gpgme-1.1.2-pthread-config.patch @@ -0,0 +1,13 @@ +--- gpgme/gpgme-config.in 2005/11/17 18:45:14 1136 ++++ gpgme/gpgme-config.in 2006/03/06 10:33:57 1170 +@@ -25,6 +25,10 @@ + libs_pth="@PTH_LDFLAGS@ @PTH_LIBS@" + cflags_pth="@PTH_CFLAGS@" + ++@HAVE_PTHREAD_TRUE@thread_modules="$thread_modules pthread" ++libs_pthread="-lpthread" ++cflags_pthread="" ++ + # Configure glib. + libs_glib="@GLIB_LIBS@" + cflags_glib="@GLIB_CFLAGS@" diff --git a/gpgme-1.1.2-warning.patch b/gpgme-1.1.2-warning.patch new file mode 100644 index 0000000..81f2666 --- /dev/null +++ b/gpgme-1.1.2-warning.patch @@ -0,0 +1,11 @@ +--- gpgme/keylist.c ++++ gpgme/keylist.c +@@ -382,7 +382,7 @@ + void *hook; + op_data_t opd; + gpgme_error_t err; +- gpgme_key_t key; ++ gpgme_key_t key = NULL; + gpgme_subkey_t subkey = NULL; + gpgme_key_sig_t keysig = NULL; + diff --git a/gpgme-1.1.2.tar.bz2 b/gpgme-1.1.2.tar.bz2 new file mode 100644 index 0000000..4d345b6 --- /dev/null +++ b/gpgme-1.1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1f3f7cb01238810d4ac52add43eaf14947a9ca41499387f3a7639f1ab8057c3 +size 679263 diff --git a/gpgme.changes b/gpgme.changes new file mode 100644 index 0000000..40cbdaf --- /dev/null +++ b/gpgme.changes @@ -0,0 +1,197 @@ +------------------------------------------------------------------- +Wed Sep 20 17:40:24 CEST 2006 - anosek@suse.cz + +- fixed compiler warning: variable "key" is used before its value + is set [#159104] (warning.patch) + +------------------------------------------------------------------- +Mon Jul 17 11:57:09 CEST 2006 - nadvornik@suse.cz + +- fixed pthread support in gpgme-config + +------------------------------------------------------------------- +Wed Jun 28 14:53:29 CEST 2006 - zpetrova@suse.cz + +- update to version 1.1.2 + +------------------------------------------------------------------- +Thu Jan 26 15:51:26 CET 2006 - sbrabec@suse.cz + +- Added %install_info_prereq. + +------------------------------------------------------------------- +Wed Jan 25 21:36:19 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Sat Jan 14 23:15:34 CET 2006 - kukuk@suse.de + +- Create devel subpackage [#140727] + +------------------------------------------------------------------- +Sat Dec 3 14:31:07 CET 2005 - meissner@suse.de + +- require libgpg-error-devel (since we include headers that + include headers from there). + +------------------------------------------------------------------- +Mon Nov 28 16:56:09 CET 2005 - zpetrova@suse.cz + +- Update to version 1.0.3 (#135395). + +------------------------------------------------------------------- +Thu Feb 17 12:49:56 CET 2005 - didge@suse.de + +- update to stable version 1.0.2 +- update of url + +------------------------------------------------------------------- +Mon Jul 12 21:23:40 CEST 2004 - adrian@suse.de + +- update to version 0.9.0 + * support for gpg2 + +------------------------------------------------------------------- +Thu Mar 18 16:04:58 CET 2004 - didge@suse.de + +- fixed bug #36194 + +------------------------------------------------------------------- +Fri Feb 27 15:42:17 CET 2004 - ro@suse.de + +- added libgpg-error to neededforbuild + +------------------------------------------------------------------- +Mon Feb 9 14:46:02 CET 2004 - didge@suse.de + +- version 0.3.16 + +------------------------------------------------------------------- +Sat Jan 10 21:13:41 CET 2004 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Tue Sep 2 13:09:08 CEST 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 14:48:50 CEST 2003 - adrian@suse.de + +- cleanup #neededforbuild and requires + +------------------------------------------------------------------- +Tue Aug 5 09:28:55 CEST 2003 - adrian@suse.de + +- fix libtool handling to get shared libraries + +------------------------------------------------------------------- +Thu May 22 11:57:18 CEST 2003 - coolo@suse.de + +- fixing info pages + +------------------------------------------------------------------- +Wed Apr 16 17:01:55 CEST 2003 - coolo@suse.de + +- use BuildRoot + +------------------------------------------------------------------- +Fri Feb 21 17:37:55 CET 2003 - mc@suse.de + +- fixed -fPIC and lib64 Problems + +------------------------------------------------------------------- +Thu Feb 20 18:47:34 CET 2003 - mc@suse.de + +- update to version 0.3.15 + +------------------------------------------------------------------- +Thu Jan 30 16:03:29 CET 2003 - didge@suse.de + +- Version 0.3.14 + +------------------------------------------------------------------- +Mon Oct 21 14:14:35 MEST 2002 - didge@suse.de + +- Version 0.3.12 + +------------------------------------------------------------------- +Wed Sep 25 18:34:40 CEST 2002 - ro@suse.de + +- removed bogus self-provides again + +------------------------------------------------------------------- +Wed Sep 25 17:18:02 MEST 2002 - didge@suse.de + +- Version 0.3.11 + +------------------------------------------------------------------- +Tue Sep 10 11:35:16 MEST 2002 - didge@suse.de + +- Version 0.3.10 + +------------------------------------------------------------------- +Wed Jul 31 16:48:44 MEST 2002 - didge@suse.de + +- Version 0.3.8 + +------------------------------------------------------------------- +Fri Jun 21 11:41:56 MEST 2002 - didge@suse.de + +- New Version 0.3.7 + +------------------------------------------------------------------- +Fri May 10 11:29:30 CEST 2002 - didge@suse.de + +- New Version 0.3.6 + +------------------------------------------------------------------- +Tue May 7 12:53:46 CEST 2002 - ro@suse.de + +- fixed specfile: no macro allowed in Version: line + +------------------------------------------------------------------- +Fri Mar 8 15:53:45 CET 2002 - didge@suse.de + +- New Version 0.3.4 + +------------------------------------------------------------------- +Thu Feb 14 13:15:49 CET 2002 - didge@suse.de + +- New Version 0.3.3 + +------------------------------------------------------------------- +Fri Jan 4 12:42:26 CET 2002 - didge@suse.de + +- New Version 0.3.0 + +------------------------------------------------------------------- +Wed Oct 31 14:51:31 CET 2001 - didge@suse.de + +- Fixed patch + +------------------------------------------------------------------- +Mon Oct 29 15:42:49 CET 2001 - didge@suse.de + +- Needs a patch to build on other platforms than i386 + +------------------------------------------------------------------- +Tue Oct 9 14:07:12 CEST 2001 - didge@suse.de + +- Version 0.2.3 +- needs a patch to build because something is broken?! + +------------------------------------------------------------------- +Thu Sep 13 11:34:28 MEST 2001 - didge@suse.de + +- Fix a bug to build under AXP + +------------------------------------------------------------------- +Wed Aug 22 14:10:15 MEST 2001 - didge@suse.de + +- First build, Verison 0.2.2 + diff --git a/gpgme.spec b/gpgme.spec new file mode 100644 index 0000000..41e6e51 --- /dev/null +++ b/gpgme.spec @@ -0,0 +1,228 @@ +# +# spec file for package gpgme (Version 1.1.2) +# +# Copyright (c) 2006 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. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: gpgme +BuildRequires: gpg2 libgcrypt-devel libksba-devel +%define prefix /usr +License: GPL +Group: Productivity/Security +PreReq: %install_info_prereq +Autoreqprov: on +Version: 1.1.2 +Release: 9 +Source: %{name}-%{version}.tar.bz2 +Patch: %{name}-%{version}-pthread-config.patch +Patch1: %{name}-%{version}-warning.patch +URL: http://www.gnupg.org/related_software/gpgme/ +Summary: A Library Designed to Give Applications Easy Access to GnuPG +Requires: gpg gpg2 +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 + - Code taken from GnuPG 1.0: gpgme/w32-util.c, GnuPG 1.1: jnlib/. + + g10 Code GmbH + - All stuff since mid march 2001. + + Werner Koch + - Design and most stuff. + +%package devel +Summary: A Library Designed to give Applications easy Access to GnuPG +Group: Development/Languages/C and C++ +Requires: gpgme = %{version} libgpg-error-devel glibc-devel +Autoreqprov: on + +%description devel +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 + - Code taken from GnuPG 1.0: gpgme/w32-util.c, GnuPG 1.1: jnlib/. + + g10 Code GmbH + - All stuff since mid march 2001. + + Werner Koch + - Design and most stuff. + +%prep +%setup -q +%patch +%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 +%_libdir/libgpgme.so.* +%_libdir/libgpgme-pthread.so.* + +%_infodir/gpgme* + +%files devel +%defattr(-,root,root) +%_libdir/libgpgme.la +%_libdir/libgpgme.so +%_libdir/libgpgme-pthread.la +%_libdir/libgpgme-pthread.so +%prefix/bin/gpgme-config +%prefix/share/aclocal/gpgme.m4 +%prefix/include/gpgme.h + +%changelog -n gpgme +* 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 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4