From 797dd4562dd60f01b08472cda925b1ce15aed47c5dfd98198a7753a38d1a26d2 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 1 Apr 2010 13:28:54 +0000 Subject: [PATCH] Accepting request 36535 from Base:System Copy from Base:System/libassuan based on submit request 36535 from user puzel OBS-URL: https://build.opensuse.org/request/show/36535 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libassuan?expand=0&rev=11 --- libassuan-1.0.5.tar.bz2 | 3 - libassuan-2.0.0.tar.bz2 | 3 + libassuan.changes | 10 +++ libassuan.spec | 142 +++++++++++++--------------------------- 4 files changed, 60 insertions(+), 98 deletions(-) delete mode 100644 libassuan-1.0.5.tar.bz2 create mode 100644 libassuan-2.0.0.tar.bz2 diff --git a/libassuan-1.0.5.tar.bz2 b/libassuan-1.0.5.tar.bz2 deleted file mode 100644 index 2c4e212..0000000 --- a/libassuan-1.0.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c58b2408d81aa6d76e9d699a2bdaafd6acc2e63e9df89a142f07aa2a4b4459f5 -size 297786 diff --git a/libassuan-2.0.0.tar.bz2 b/libassuan-2.0.0.tar.bz2 new file mode 100644 index 0000000..6e842c9 --- /dev/null +++ b/libassuan-2.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb67b424fb56a5dfeb0cb80b3a14ed42ec09aa67fb133bf7b388a4d02962b5c5 +size 448870 diff --git a/libassuan.changes b/libassuan.changes index d1b9f5d..a528c2b 100644 --- a/libassuan.changes +++ b/libassuan.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Mar 31 11:25:02 UTC 2010 - puzel@novell.com + +- update to libassuan-2.0.0 + * Now using libtool and builds a DSO. + * Lots of interface cleanups. + * Pth support has changed. This now follows the same style as + libgcrypt by setting system hook callbacks. +- split package to libassuan0 and libassuan-devel + ------------------------------------------------------------------- Thu Jun 11 11:19:59 CEST 2009 - puzel@suse.cz diff --git a/libassuan.spec b/libassuan.spec index e1a72c9..cede2a2 100644 --- a/libassuan.spec +++ b/libassuan.spec @@ -1,7 +1,7 @@ # -# spec file for package libassuan (Version 1.0.5) +# spec file for package libassuan (Version 2.0.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,39 +20,47 @@ Name: libassuan Url: http://www.gnupg.org/aegypten2/index.html -Version: 1.0.5 -Release: 3 -Summary: Libassuan is the IPC library used by GnuPG version 2 -License: GPL v2 or later; LGPL v2.1 or later +Version: 2.0.0 +Release: 1 +Summary: IPC library used by GnuPG version 2 +License: GPLv2+ ; LGPLv2.1+ Group: Development/Libraries/C and C++ -BuildRequires: libpth-devel licenses -Requires: licenses +BuildRequires: libpth-devel +BuildRequires: libgpg-error-devel Source: libassuan-%{version}.tar.bz2 +Requires: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libassuan is the IPC library used by gpg2 (GnuPG version 2) -gpgme also uses libassuan to communicate with a libassuan-enabled GnuPG -v2 server, but it uses it's own copy of libassuan. - -As of libassuan-1.0.1 and libassuan-1.0.2, there only exists static -libassuan, so libassuan-devel is the package with the library. - - - Authors: -------- Werner Koch Neal H. Walfield Marcus Brinkmann -%package devel -License: GPL v2 or later; LGPL v2.1 or later -Summary: Libassuan is the IPC library used by GnuPG version 2 +%package -n libassuan0 +Summary: IPC library used by GnuPG version 2 +License: GPLv2+ ; LGPLv2.1+ Group: Development/Libraries/C and C++ -Requires: pth -PreReq: %install_info_prereq + +%description -n libassuan0 +Libassuan is the IPC library used by gpg2 (GnuPG version 2) + +Authors: +-------- + Werner Koch + Neal H. Walfield + Marcus Brinkmann + + +%package devel +License: GPLv2+ ; LGPLv2.1+ +Summary: IPC library used by GnuPG version 2 +Group: Development/Libraries/C and C++ +Requires: pth-devel +Requires: libassuan0 = %{version} %description devel Libassuan is the IPC library used by gpg2 (GnuPG version 2) @@ -61,7 +69,6 @@ gpgme also uses libassuan to communicate with a libassuan-enabled GnuPG v2 server, but it uses it's own copy of libassuan. - Authors: -------- Werner Koch @@ -80,10 +87,13 @@ make %{?jobs:-j%jobs} %install %makeinstall -#The included GPLv3 has whitespace changes and the files say it's NOT GPL: -#ln -s /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING -#ln -s /usr/share/doc/licenses/md5/$(md5sum COPYING.LIB | sed 's/ .*//') lgpl-3.0.txt -#ln -s ../../licenses/lgpl-3.0.txt . +rm -f %{buildroot}%{_libdir}/*.la + +%post -n libassuan0 +/sbin/ldconfig + +%postun -n libassuan0 +/sbin/ldconfig %post devel %install_info --info-dir=%{_infodir} %{_infodir}/assuan.info.gz @@ -92,77 +102,19 @@ make %{?jobs:-j%jobs} %install_info_delete --info-dir=%{_infodir} %{_infodir}/assuan.info.gz %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} + +%files -n libassuan0 +%defattr(-,root,root) +%doc AUTHORS ChangeLog NEWS README THANKS +%{_libdir}/libassuan.so.* %files devel %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS README THANKS -%doc %_infodir/assuan* -%{_libdir}/*.a -/usr/include/*.h -/usr/bin/*-config -/usr/share/aclocal/*.m4 +%doc %{_infodir}/assuan* +%{_includedir}/*.h +%{_bindir}/*-config +%{_datadir}/aclocal/*.m4 +%{_libdir}/libassuan.so %changelog -* Thu Jun 11 2009 puzel@suse.cz -- change BuildRequires: (pth-devel -> libpth-devel) -* Mon Jun 01 2009 puzel@suse.cz -- BuildRequires: pth-devel -* Wed Jul 16 2008 puzel@suse.cz -- update to 1.0.5 - * minor fixes - * build library as PIC -* Tue Jan 08 2008 sassmann@suse.de -- updated to version 1.0.4, which is required by GnuPG 2.0.8 - * Switched license of the library code back to LGPLv2.1 - * config.sub, config.guess: Update to version 2007-11-19 -* Fri Aug 10 2007 bk@suse.de -- updated to 1.0.2, which is required by GnuPG 2.0.5 (and later) - * Changed license to LGPLv3. - * New flag ASSUAN_CONFIDENTIAL to return the state of confidential logging. - * Assorted bug fixed and code cleanups. -- added Requires: pth (needed because it's built against it) -- dropped Requires: openct-devel pcsc-lite-devel (no relation to them) -* Thu Jul 26 2007 sbrabec@suse.cz -- Build with PIC. -- Renamed binary package to libassuan devel. -* Wed Jan 24 2007 ltinkl@suse.cz -- updated to 1.0.1, added pth to BuildRequires - * New function: assuan_set_io_monitor. - * New function: assuan_register_post_cmd_notify. - * Fixed a memory leak. - * Finished the manual. - * Portability fixes. - * Pth is not anymore linked by means of weak symbol tricks. It is - now required to link to the pth version of libassuan. New autoconf - macros are provided to to check for this. The pth version is only - build if Pth is available. - * configure does now check that descripotor passing is available. A - way to check at runtime for this is also provided - * A fix to make CANCEL work again in Pinentries. - * Internal cleanups to make inclusion of the code into libraries - easier. - * Made clear that the software is under the LGPL. - * New function assuan_set_assuan_err_source. All gpg-error enabled - software should call this right at startup to switch libassuan into - the gpg-error style mode. All error codes are then returned as - gpg-error style codes (GPG_ERR_ASS_* as well as others). - If the new macro _ASSUAN_ONLY_GPG_ERRORS is defned all old - definitions are excluded from assuan.h. - * Logging of hex strings is now limited to 16 bytes. To enable - printing of the full data, a new environment variable - ASSUAN_FULL_LOGGING may be set to any value. - * Removed the assuan_domain_* functions. - * New functions assuan_pipe_connect_ext and assuan_socket_connect_ext - to allow connections on a socketpair and to pass descriptors. - * New function assuan_get_peercred. -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Tue Nov 08 2005 dmueller@suse.de -- don't build as root -* Tue Jul 12 2005 postadal@suse.cz -- updated to version 0.6.10 -* Wed Jan 12 2005 adrian@suse.de -- update to version 0.6.9 -* Mon Jul 12 2004 adrian@suse.de -- initial package of version 0.6.6