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
|
|
|
#
|
2024-02-26 15:57:52 +01:00
|
|
|
# Copyright (c) 2024 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
|
2024-05-02 09:01:24 +02:00
|
|
|
Version: 1.49
|
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++
|
2023-04-12 14:05:32 +02:00
|
|
|
URL: https://www.gnupg.org/software/libgpg-error/
|
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
|
2024-02-26 15:57:52 +01:00
|
|
|
Source2: https://gnupg.org/signature_key.asc#/%{name}.keyring
|
2013-02-26 09:32:40 +01:00
|
|
|
Source3: baselibs.conf
|
2023-10-19 09:34:20 +02:00
|
|
|
#PATCH-FIX-OPENSUSE Do not pull revision info from GIT when autoconf is run
|
|
|
|
Patch0: libgpg-error-nobetasuffix.patch
|
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
|
2024-02-26 15:57:52 +01: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
|
2023-04-12 14:05:32 +02:00
|
|
|
%license COPYING.LIB COPYING
|
|
|
|
%doc README NEWS ChangeLog AUTHORS ABOUT-NLS
|
2012-02-12 23:26:04 +01:00
|
|
|
%{_libdir}/libgpg-error*.so.*
|
2007-01-16 00:22:02 +01:00
|
|
|
|
|
|
|
%files devel
|
2010-12-03 12:58:18 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/libgpg-error*.so
|
2023-04-12 14:05:32 +02:00
|
|
|
%{_libdir}/pkgconfig/gpg-error.pc
|
|
|
|
%{_includedir}/*
|
|
|
|
%dir %{_datadir}/aclocal
|
|
|
|
%{_datadir}/aclocal/gpg-error.m4
|
|
|
|
%{_datadir}/aclocal/gpgrt.m4
|
2016-12-29 10:10:31 +01:00
|
|
|
%dir %{_datadir}/libgpg-error
|
|
|
|
%{_datadir}/libgpg-error/errorref.txt
|
2023-04-12 14:05:32 +02:00
|
|
|
%{_infodir}/gpgrt.info%{?ext_info}
|
|
|
|
%{_mandir}/man1/gpg-error-config.*
|
|
|
|
%{_mandir}/man1/gpgrt-config.*
|
2007-01-16 00:22:02 +01:00
|
|
|
|
2007-11-22 18:06:02 +01:00
|
|
|
%changelog
|