libassuan/libassuan.spec

129 lines
3.9 KiB
RPMSpec

#
# spec file for package libassuan (Version 1.0.1)
#
# Copyright (c) 2007 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.1
Release: 28
Summary: IPC Library Used by GnuPG 1.9 and GPGME
License: GPL v2 or later, LGPL v2 or later
Group: Development/Libraries/C and C++
BuildRequires: licenses pth
Requires: licenses
Source: libassuan-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is the IPC library used by GnuPG 1.9 and GPGME.
Authors:
--------
Werner Koch <wk@gnupg.org>
Neal H. Walfield <neal@g10code.de>
Marcus Brinkmann <marcus@g10code.de>
%package devel
Summary: IPC Library Used by GnuPG 1.9 and GPGME
Group: Development/Libraries/C and C++
Requires: openct-devel pcsc-lite-devel
PreReq: %install_info_prereq
%description devel
This is the IPC library used by GnuPG 1.9 and GPGME.
Authors:
--------
Werner Koch <wk@gnupg.org>
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 -fPIC -DPIC"
export LDFLAGS="-fPIC"
%configure
make %{?jobs:-j%jobs}
%install
%makeinstall
ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING
%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 COPYING ChangeLog NEWS README THANKS
%doc %_infodir/assuan*
%{_libdir}/*.a
/usr/include/*.h
/usr/bin/*-config
/usr/share/aclocal/*.m4
%changelog
* 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