libtasn1/libtasn1.spec

99 lines
2.3 KiB
RPMSpec
Raw Normal View History

Summary: The ASN.1 library used in GNUTLS
Name: libtasn1
Version: 4.19.0
Release: %autorelease
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
2010-01-03 11:59:56 +00:00
License: GPLv3+ and LGPLv2+
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
#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
BuildRequires: gnupg2
BuildRequires: gcc
2016-08-26 15:13:09 +00:00
BuildRequires: bison, pkgconfig, help2man
BuildRequires: autoconf, automake, libtool
BuildRequires: valgrind-devel
BuildRequires: make
BuildRequires: gtk-doc
2012-11-09 18:57:12 +00:00
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
Provides: bundled(gnulib) = 20130324
%package devel
Summary: Files for development of applications which will use libtasn1
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %name = %version-%release
Requires: %{name}-tools = %{version}-%{release}
Requires: pkgconfig
2006-03-06 11:29:12 +00:00
%package tools
Summary: Some ASN.1 tools
2008-08-07 15:53:31 +00:00
License: GPLv3+
Requires: %{name}%{?_isa} = %{version}-%{release}
%description
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.
%description devel
This package contains files for development of applications which will
use libtasn1.
%description tools
This package contains simple tools that can decode and encode ASN.1
data.
%prep
2016-04-11 08:50:07 +00:00
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%setup -q
2010-01-28 12:58:40 +00:00
%patch1 -p1 -b .rpath
%build
autoreconf -v -f --install
%configure --disable-static --disable-silent-rules
2013-11-27 13:26:56 +00:00
# libtasn1 likes to regenerate docs
touch doc/stamp_docs
%make_build
%install
%make_install
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
%check
make check
%files
%license COPYING doc/COPYING*
2019-07-22 20:41:37 +00:00
%doc AUTHORS NEWS README.md
%{_libdir}/*.so.6*
%files tools
%{_bindir}/asn1*
%{_mandir}/man1/asn1*
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%{_infodir}/*.info.*
%{_mandir}/man3/*asn1*
%changelog
%autochangelog