Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37476976
en ru br
Репозитории ALT
S:1.47-alt1
5.1: 1.8-alt0.M51.1
4.1: 1.6-alt0.M41.1
4.0: 1.5-alt1
3.0: 1.1-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libgpg-error

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: libgpg-error
Version: 1.47
Release: alt1

Group: System/Libraries
Summary: Error library for GnuPG and related projects
License: GPL-2.0-or-later AND LGPL-2.1-or-later
URL: https://www.gnupg.org/

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1

%set_verify_elf_method strict

Source: %name-%version.tar

Patch0: libgpg-error-1.29-multilib.patch
Patch1: 0001-Fix-LFS-on-32-bit-systems.patch
Patch2: 0002-ALT-version-is-not-beta.patch

BuildRequires: makeinfo
BuildRequires: gettext-tools

%package devel
Summary: Development files for the %name package
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
Group: Development/C
Requires: %name = %version-%release

%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.

%description devel
This package contains files needed to develop
applications using the GnuPG error library.

%prep
%setup -q
%autopatch -p1

cat > doc/version.texi <<EOF
at set UPDATED $(LANG=C date -u -r doc/gpgrt.texi +'%%d %%B %%Y')
at set UPDATED-MONTH $(LANG=C date -u -r doc/gpgrt.texi +'%%B %%Y')
at set EDITION %version
at set VERSION %version
EOF

# Let the autoreconf sync po.m4 and po/Makefile.in.in .

rm -f -- m4/po.m4 po/Makefile.in.in

%build
%autoreconf
%configure \
--enable-install-gpg-error-config \
--disable-static \
--with-pic
%make_build

%install
%makeinstall_std

# relocate shared libraries from %_libdir/ to /%_lib/.

mkdir -p %buildroot/%_lib
for f in %buildroot%_libdir/libgpg-error.so; do
       t=$(readlink -v "$f")
       ln -rsnf %buildroot/%_lib/"$t" "$f"
done
mv %buildroot%_libdir/*.so.* %buildroot/%_lib/

%find_lang %name

%check
%make check

%files -f %name.lang
/%_lib/lib*.so.*
%_bindir/gpg-error
%_datadir/libgpg-error/
%doc AUTHORS NEWS README

%files devel
%_bindir/*-config
%_bindir/yat2m
%_libdir/*.so
%_includedir/*
%_aclocaldir/*
%_infodir/gpgrt.*
%_pkgconfigdir/*.pc
%_datadir/common-lisp/source/gpg-error
%_man1dir/gpgrt-config.1*
%_man1dir/gpg-error-config.1*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin