2009-05-29 12:05:28 +00:00
|
|
|
Summary: The ASN.1 library used in GNUTLS
|
2004-11-08 04:49:22 +00:00
|
|
|
Name: libtasn1
|
2022-11-30 18:45:32 +00:00
|
|
|
Version: 4.19.0
|
|
|
|
Release: %autorelease
|
2005-04-06 22:12:23 +00:00
|
|
|
|
2008-09-30 19:52:56 +00:00
|
|
|
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
|
2010-01-03 11:59:56 +00:00
|
|
|
License: GPLv3+ and LGPLv2+
|
2009-08-11 14:38:08 +00:00
|
|
|
URL: http://www.gnu.org/software/libtasn1/
|
|
|
|
Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
|
|
|
|
Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
|
2021-11-03 21:59:05 +00:00
|
|
|
#Source2: gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
|
2021-11-09 19:09:30 +00:00
|
|
|
#Source2: gpgkey-99415CE1905D0E55A9F88026860B7FBB32F8119D.gpg
|
|
|
|
Source2: gpgkey-B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE.gpg
|
2013-11-27 13:16:02 +00:00
|
|
|
Patch1: libtasn1-3.4-rpath.patch
|
2016-11-07 01:36:05 +00:00
|
|
|
|
2018-07-22 09:43:03 +00:00
|
|
|
BuildRequires: gnupg2
|
|
|
|
BuildRequires: gcc
|
2016-08-26 15:13:09 +00:00
|
|
|
BuildRequires: bison, pkgconfig, help2man
|
2016-07-08 08:19:22 +00:00
|
|
|
BuildRequires: autoconf, automake, libtool
|
2016-11-07 01:36:05 +00:00
|
|
|
BuildRequires: valgrind-devel
|
2021-04-06 20:29:26 +00:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: gtk-doc
|
2012-11-09 18:57:12 +00:00
|
|
|
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
|
2013-08-26 09:48:45 +00:00
|
|
|
Provides: bundled(gnulib) = 20130324
|
2004-11-08 04:49:22 +00:00
|
|
|
|
2006-03-06 11:22:49 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Files for development of applications which will use libtasn1
|
2018-07-22 09:43:03 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
2006-03-06 11:22:49 +00:00
|
|
|
Requires: %name = %version-%release
|
2018-10-22 09:48:44 +00:00
|
|
|
Requires: %{name}-tools = %{version}-%{release}
|
2008-02-13 12:56:03 +00:00
|
|
|
Requires: pkgconfig
|
2006-03-06 11:22:49 +00:00
|
|
|
|
2006-03-06 11:29:12 +00:00
|
|
|
|
2006-03-26 16:38:34 +00:00
|
|
|
%package tools
|
|
|
|
Summary: Some ASN.1 tools
|
2008-08-07 15:53:31 +00:00
|
|
|
License: GPLv3+
|
2018-07-22 09:43:03 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2006-03-26 16:38:34 +00:00
|
|
|
|
|
|
|
|
2004-11-08 04:49:22 +00:00
|
|
|
%description
|
2013-03-25 10:56:37 +00:00
|
|
|
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.
|
2004-11-08 04:49:22 +00:00
|
|
|
|
2006-03-06 11:22:49 +00:00
|
|
|
%description devel
|
2006-03-26 16:38:34 +00:00
|
|
|
This package contains files for development of applications which will
|
|
|
|
use libtasn1.
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
2013-03-25 10:56:37 +00:00
|
|
|
This package contains simple tools that can decode and encode ASN.1
|
|
|
|
data.
|
2006-03-06 11:22:49 +00:00
|
|
|
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
%prep
|
2016-04-11 08:50:07 +00:00
|
|
|
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
2004-11-08 04:49:22 +00:00
|
|
|
%setup -q
|
|
|
|
|
2010-01-28 12:58:40 +00:00
|
|
|
%patch1 -p1 -b .rpath
|
|
|
|
|
2004-11-08 04:49:22 +00:00
|
|
|
%build
|
2016-07-08 08:19:22 +00:00
|
|
|
autoreconf -v -f --install
|
2016-11-07 01:36:05 +00:00
|
|
|
%configure --disable-static --disable-silent-rules
|
2013-11-27 13:26:56 +00:00
|
|
|
# libtasn1 likes to regenerate docs
|
|
|
|
touch doc/stamp_docs
|
2008-09-30 19:52:56 +00:00
|
|
|
|
2020-07-13 22:36:46 +00:00
|
|
|
%make_build
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2020-07-13 22:36:46 +00:00
|
|
|
%make_install
|
2006-03-06 11:22:49 +00:00
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
2010-01-11 16:42:17 +00:00
|
|
|
make check
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
%files
|
2021-11-03 21:59:05 +00:00
|
|
|
%license COPYING doc/COPYING*
|
2019-07-22 20:41:37 +00:00
|
|
|
%doc AUTHORS NEWS README.md
|
2016-11-07 01:36:05 +00:00
|
|
|
%{_libdir}/*.so.6*
|
2006-03-06 11:22:49 +00:00
|
|
|
|
2006-03-26 16:38:34 +00:00
|
|
|
%files tools
|
2016-11-07 01:36:05 +00:00
|
|
|
%{_bindir}/asn1*
|
|
|
|
%{_mandir}/man1/asn1*
|
2006-03-06 11:22:49 +00:00
|
|
|
|
|
|
|
%files devel
|
2016-11-07 01:36:05 +00:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_infodir}/*.info.*
|
|
|
|
%{_mandir}/man3/*asn1*
|
2004-11-08 04:49:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-11-30 18:45:32 +00:00
|
|
|
%autochangelog
|