Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:E
libassuan
libassuan.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libassuan.spec of Package libassuan
# # spec file for package libassuan # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libassuan Version: 2.5.1 Release: 0 Summary: IPC library used by GnuPG version 2 License: GPL-3.0+ and LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://www.gnupg.org/related_software/libassuan/index.en.html Source0: ftp://ftp.gnupg.org/gcrypt/libassuan/%{name}-%{version}.tar.bz2 Source1: baselibs.conf Source2: ftp://ftp.gnupg.org/gcrypt/libassuan/%{name}-%{version}.tar.bz2.sig # http://www.gnupg.org/signature_key.en.html Source3: libassuan.keyring Patch0: qemu-disable-fdpassing-test.patch BuildRequires: libgpg-error-devel >= 1.17 Requires: %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libassuan is the IPC library used by gpg2 (GnuPG version 2) %package -n libassuan0 Summary: IPC library used by GnuPG version 2 Group: Development/Libraries/C and C++ %description -n libassuan0 Libassuan is the IPC library used by gpg2 (GnuPG version 2) %package devel Summary: IPC library used by GnuPG version 2 Group: Development/Libraries/C and C++ Requires: libassuan0 = %{version} Requires: libgpg-error-devel %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. %prep %setup -q %if 0%{?qemu_user_space_build} # qemu-linux-user does not yet support descriptor passing over sockets %patch0 -p1 %endif %build # Compile with PIC, library is linked into shared libraries: export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)" export LDFLAGS="-fPIC" %configure make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print %check make check %{?_smp_mflags} %post -n libassuan0 -p /sbin/ldconfig %postun -n libassuan0 -p /sbin/ldconfig %post devel %install_info --info-dir=%{_infodir} %{_infodir}/assuan.info.gz %postun devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/assuan.info.gz %files -n libassuan0 %defattr(-,root,root) %license COPYING %doc AUTHORS ChangeLog NEWS README THANKS %{_libdir}/libassuan.so.* %files devel %defattr(-,root,root) %{_infodir}/assuan* %{_includedir}/*.h %{_bindir}/*-config %dir %{_datadir}/aclocal %{_datadir}/aclocal/*.m4 %{_libdir}/libassuan.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor