Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 36915509
en ru br
Репозитории ALT
S:4.19.0-alt3
5.1: 2.2-alt1
4.1: 1.1-alt1
4.0: 1.1-alt1
3.0: 0.2.13-alt1
www.altlinux.org/Changes

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

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

Name: libtasn1
Version: 4.19.0
Release: alt3

Summary: The ASN.1 library used in GNUTLS
Group: System/Libraries
License: LGPLv2.1+
URL: http://www.gnu.org/software/libtasn1/
Vcs: https://gitlab.com/gnutls/libtasn1
# git://git.altlinux.org/gears/l/libtasn1.git
Source: %name-%version.tar
Patch1: fix-for-werror.patch
Patch2: Enable-LFS-support.patch
Patch3: Fix-build-with-gcc11.patch
Patch4: Fix-build-with-gcc12.patch
Patch5: Fix-build-tests-with-gcc12.patch
Patch6: Fix-build-with-gcc13.patch
Patch7: Fix-tests-build-with-glibc-2.38.patch

BuildRequires: gtk-doc texinfo help2man

%description
This is GNU Libtasn1, a library that provides Abstract Syntax Notation
One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and
structures management, and Distinguished Encoding Rules (DER, as per
X.690) encoding and decoding functions.

This package contains libtasn1 runtime library.

%package devel
Summary: Files for development of applications which will use libtasn1
Group: Development/C
License: LGPLv2.1+
Requires: %name = %version-%release

%description devel
This is GNU Libtasn1, a library that provides Abstract Syntax Notation
One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and
structures management, and Distinguished Encoding Rules (DER, as per
X.690) encoding and decoding functions.

This package contains files for development of applications
which will use libtasn1.

%package utils
Summary: Some ASN.1 tools
Group: Text tools
License: GPLv3+
Requires: %name = %version-%release

%description utils
This is GNU Libtasn1, a library that provides Abstract Syntax Notation
One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and
structures management, and Distinguished Encoding Rules (DER, as per
X.690) encoding and decoding functions.

This package contains simple tools that can decode and encode ASN.1 data.

%package devel-doc
Summary: libtasn1 development documentation
Group: Development/Documentation
License: LGPLv2.1+
Conflicts: %name-devel < %version
BuildArch: noarch

%description devel-doc
This is GNU Libtasn1, a library that provides Abstract Syntax Notation
One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and
structures management, and Distinguished Encoding Rules (DER, as per
X.690) encoding and decoding functions.

This package contains libtasn1 development documentation.

%prep
%setup
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1

%build
%def_enable Werror
%autoreconf
%configure \
--disable-static \
--disable-silent-rules
touch doc/stamp_docs
%make_build

%install
%makeinstall_std

%define docdir %_docdir/%name
mkdir -p %buildroot%docdir
install -pm644 AUTHORS NEWS README.md THANKS %buildroot%docdir/
ln -s %_licensedir/LGPL-2.1 %buildroot%docdir/COPYING.LIB
mkdir -p %buildroot%docdir/reference/html
install -pm644 doc/reference/html/* %buildroot%docdir/reference/html/

%set_verify_elf_method strict
%define _unpackaged_files_terminate_build 1

%check
%make_build -k check

%files
%_libdir/*.so.*
%dir %docdir
%docdir/[ACNRT]*

%files utils
%_bindir/asn1*
%_man1dir/*

%files devel
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/*

%files devel-doc
%_infodir/*
%_man3dir/*
%dir %docdir
%docdir/reference/

%changelog

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

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