2007-01-16 00:22:02 +01:00
|
|
|
#
|
2011-10-02 20:43:15 +02:00
|
|
|
# spec file for package libgpg-error
|
2007-01-16 00:22:02 +01:00
|
|
|
#
|
2022-02-03 10:26:41 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-16 00:22:02 +01:00
|
|
|
#
|
2008-11-02 15:42:58 +01:00
|
|
|
# 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.
|
|
|
|
|
2018-12-08 19:22:11 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:22:02 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libgpg-error
|
2022-10-17 20:43:30 +02:00
|
|
|
Version: 1.46
|
2012-02-12 23:26:04 +01:00
|
|
|
Release: 0
|
2010-12-03 12:58:18 +01:00
|
|
|
Summary: Library That Defines Common Error Values for All GnuPG Components
|
2018-03-22 12:08:48 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2007-01-16 00:22:02 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-08-16 10:03:14 +02:00
|
|
|
URL: https://www.gnupg.org/
|
2021-11-08 17:58:32 +01:00
|
|
|
Source0: https://gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: https://gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
|
2013-02-26 09:32:40 +01:00
|
|
|
# http://www.gnupg.org/signature_key.en.html
|
2014-04-28 11:26:48 +02:00
|
|
|
Source2: %{name}.keyring
|
2013-02-26 09:32:40 +01:00
|
|
|
Source3: baselibs.conf
|
2022-10-17 20:43:30 +02:00
|
|
|
BuildRequires: libtool
|
2018-12-08 19:22:11 +01:00
|
|
|
BuildRequires: pkgconfig
|
2007-01-16 00:22:02 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is a library that defines common error values for all GnuPG
|
|
|
|
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
|
|
|
|
pinentry, SmartCard Daemon, and possibly more in the future.
|
|
|
|
|
2007-11-22 18:06:02 +01:00
|
|
|
%package -n libgpg-error0
|
2010-12-03 12:58:18 +01:00
|
|
|
Summary: Library That Defines Common Error Values for All GnuPG Components
|
2018-03-22 12:08:48 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2007-11-22 18:06:02 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-04-28 11:26:48 +02:00
|
|
|
Provides: libgpg-error = %{version}
|
|
|
|
Obsoletes: libgpg-error < %{version}
|
2007-11-22 18:06:02 +01:00
|
|
|
|
|
|
|
%description -n libgpg-error0
|
|
|
|
This is a library that defines common error values for all GnuPG
|
|
|
|
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
|
|
|
|
pinentry, SmartCard Daemon, and possibly more in the future.
|
|
|
|
|
2007-01-16 00:22:02 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for libgpg-error
|
2018-03-22 12:08:48 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
|
2007-01-16 00:22:02 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-04-28 11:26:48 +02:00
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libgpg-error0 = %{version}
|
2014-10-16 04:27:57 +02:00
|
|
|
Requires(post): info
|
2021-08-25 12:23:28 +02:00
|
|
|
Requires(preun):info
|
2007-01-16 00:22:02 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Files needed for software development using libgpg-error.
|
|
|
|
|
|
|
|
%prep
|
2021-08-25 12:23:28 +02:00
|
|
|
%autosetup -p1
|
2007-01-16 00:22:02 +01:00
|
|
|
|
2022-10-17 20:43:30 +02:00
|
|
|
autoreconf -fiv
|
|
|
|
|
2007-01-16 00:22:02 +01:00
|
|
|
%build
|
2022-10-17 20:43:30 +02:00
|
|
|
%configure --disable-static \
|
|
|
|
--enable-install-gpg-error-config
|
2020-06-01 10:32:22 +02:00
|
|
|
%make_build
|
2007-01-16 00:22:02 +01:00
|
|
|
|
|
|
|
%install
|
2018-04-11 11:42:08 +02:00
|
|
|
%make_install
|
2012-02-12 23:26:04 +01:00
|
|
|
rm %{buildroot}%{_libdir}/libgpg-error.la
|
2007-01-16 00:22:02 +01:00
|
|
|
# Drop the lisp stuff, it depends on ASDF and CFFI
|
|
|
|
# which needs to be packaged first
|
2010-12-03 12:58:18 +01:00
|
|
|
rm -r %{buildroot}%{_datadir}/common-lisp
|
2007-11-22 18:06:02 +01:00
|
|
|
%find_lang %{name}
|
2007-01-16 00:22:02 +01:00
|
|
|
|
2014-04-28 11:26:48 +02:00
|
|
|
%check
|
2020-06-01 10:32:22 +02:00
|
|
|
%make_build check
|
2007-01-16 00:22:02 +01:00
|
|
|
|
2009-02-23 12:54:33 +01:00
|
|
|
%post -n libgpg-error0 -p /sbin/ldconfig
|
2021-08-25 12:23:28 +02:00
|
|
|
%postun -n libgpg-error0 -p /sbin/ldconfig
|
|
|
|
|
2014-10-16 04:27:57 +02:00
|
|
|
%post devel
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/gpgrt.info.gz
|
|
|
|
|
2018-05-12 13:55:50 +02:00
|
|
|
%preun devel
|
2014-10-16 04:27:57 +02:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gpgrt.info.gz
|
|
|
|
|
2007-11-22 18:06:02 +01:00
|
|
|
%files -n libgpg-error0 -f %{name}.lang
|
2012-02-12 23:26:04 +01:00
|
|
|
%{_libdir}/libgpg-error*.so.*
|
2007-01-16 00:22:02 +01:00
|
|
|
|
|
|
|
%files devel
|
2018-04-30 15:14:52 +02:00
|
|
|
%license COPYING.LIB COPYING
|
|
|
|
%doc README NEWS ChangeLog AUTHORS ABOUT-NLS
|
2010-12-03 12:58:18 +01:00
|
|
|
%{_datadir}/aclocal/gpg-error.m4
|
2018-03-13 16:32:32 +01:00
|
|
|
%{_datadir}/aclocal/gpgrt.m4
|
2010-12-03 12:58:18 +01:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/libgpg-error*.so
|
2018-04-30 15:14:52 +02:00
|
|
|
%{_infodir}/gpgrt.info%{?ext_info}
|
2022-10-17 20:43:30 +02:00
|
|
|
%{_mandir}/man1/gpg-error-config.*
|
2016-12-29 10:10:31 +01:00
|
|
|
%dir %{_datadir}/libgpg-error
|
|
|
|
%{_datadir}/libgpg-error/errorref.txt
|
2015-03-20 16:42:48 +01:00
|
|
|
%dir %{_datadir}/aclocal
|
2018-12-08 19:22:11 +01:00
|
|
|
%{_libdir}/pkgconfig/gpg-error.pc
|
2007-01-16 00:22:02 +01:00
|
|
|
|
2007-11-22 18:06:02 +01:00
|
|
|
%changelog
|