libassuan/libassuan.spec

158 lines
5.2 KiB
RPMSpec

#
# spec file for package libassuan (Version 1.0.5)
#
# Copyright (c) 2008 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: libassuan
Url: http://www.gnupg.org/aegypten2/index.html
Version: 1.0.5
Release: 1
Summary: Libassuan is the IPC library used by GnuPG version 2
License: GPL v2 or later; LGPL v2.1 or later
Group: Development/Libraries/C and C++
BuildRequires: licenses pth
Requires: licenses
Source: libassuan-%{version}.tar.bz2
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 <wk@gnupg.org>
Neal H. Walfield <neal@g10code.de>
Marcus Brinkmann <marcus@g10code.de>
%package devel
License: GPL v2 or later; LGPL v2.1 or later
Summary: Libassuan is the IPC library used by GnuPG version 2
Group: Development/Libraries/C and C++
Requires: pth
PreReq: %install_info_prereq
%description devel
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.
Authors:
--------
Werner Koch <wk@g10code.com>
Neal H. Walfield <neal@g10code.de>
Marcus Brinkmann <marcus@g10code.de>
%prep
%setup -q
%build
# Compile with PIC, library is linked into shared libraries:
export CFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS="-fPIC"
%configure
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 .
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/assuan.info.gz
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/assuan.info.gz
%clean
rm -rf $RPM_BUILD_ROOT
%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
%changelog
* 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