Package init
This commit is contained in:
commit
5998836e06
BIN
gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
Normal file
BIN
gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
Normal file
Binary file not shown.
12
libtasn1-3.4-rpath.patch
Normal file
12
libtasn1-3.4-rpath.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ur libtasn1-3.4.orig/configure libtasn1-3.4/configure
|
||||
--- libtasn1-3.4.orig/configure 2013-11-25 20:24:23.000000000 +0100
|
||||
+++ libtasn1-3.4/configure 2013-11-27 14:08:42.872612379 +0100
|
||||
@@ -12376,7 +12376,7 @@
|
||||
shlibpath_overrides_runpath=unknown
|
||||
version_type=none
|
||||
dynamic_linker="$host_os ld.so"
|
||||
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||
+sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64"
|
||||
need_lib_prefix=unknown
|
||||
hardcode_into_libs=no
|
||||
|
||||
BIN
libtasn1-4.13.tar.gz
Normal file
BIN
libtasn1-4.13.tar.gz
Normal file
Binary file not shown.
11
libtasn1-4.13.tar.gz.sig
Normal file
11
libtasn1-4.13.tar.gz.sig
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEqBLL/fzcTQvnoJMSnV6q9pATuEIFAlpeOtEACgkQnV6q9pAT
|
||||
uEIWNAf/YnmT4u3ShAfhUKE4sIap+8ivG5AxCPw1Rwgwc8qcS2VKOVeiwYTWmt9t
|
||||
g5CDrVu27DTPbCkdS7sTKrHQT3Pjc2DRJWHJbaHr5J717sNp50XWWXjNyZGrmyN4
|
||||
ais1d7no0GMXRsR6SUOFi+M52Q/vWhhYz4gaDAV9XSOqbJ6MPiw4BhjqyVSQ4lwD
|
||||
Lfn4upk+1JFjzCpVft7iXrx1P4RXvFJC1sBYpUJAbdm9y0rO5jGiY7EHokDNq1rT
|
||||
71hBWUclo37GsJnF65CRD1Mb5/wdZxm2wvEL/SFlHKqnY/uB3y4u7il91fi9zrwY
|
||||
mDmVimu7E563pqum16000pybZIEmFw==
|
||||
=LTAv
|
||||
-----END PGP SIGNATURE-----
|
||||
85
libtasn1.spec
Normal file
85
libtasn1.spec
Normal file
@ -0,0 +1,85 @@
|
||||
Summary: Libtasn1 is a ASN.1 parsing library
|
||||
Name: libtasn1
|
||||
Version: 4.13
|
||||
Release: 5
|
||||
|
||||
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
|
||||
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
|
||||
Patch1: libtasn1-3.4-rpath.patch
|
||||
|
||||
BuildRequires: gcc, autoconf, automake, libtool, gnupg2, bison, pkgconfig, help2man, valgrind-devel
|
||||
Provides: bundled(gnulib) = 20130324
|
||||
Provides: %{name}-tools = %{version}-%{release}
|
||||
Obsoletes: %{name}-tools < %{version}-%{release}
|
||||
|
||||
%description
|
||||
Libtasn1 is the ASN.1 library used by GnuTLS, p11-kit and some other packages.
|
||||
The goal of this implementation is to be highly portable, and only require an
|
||||
ANSI C99 platform.This library 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.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: info
|
||||
|
||||
%description devel
|
||||
This package contains header files and so files for development.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
autoreconf -vfi
|
||||
%configure --disable-static --disable-silent-rules
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post help
|
||||
test -f %_infodir/%name.info.gz && \
|
||||
/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
|
||||
|
||||
%preun help
|
||||
test "$1" = 0 -a -f %_infodir/%name.info.gz && \
|
||||
/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
|
||||
|
||||
%files
|
||||
%license COPYING*
|
||||
%doc AUTHORS NEWS README THANKS
|
||||
%{_bindir}/asn1*
|
||||
%{_libdir}/*.so.6*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/*
|
||||
|
||||
%files help
|
||||
%doc doc/TODO doc/*.pdf
|
||||
%{_mandir}/man1/asn1*
|
||||
%{_mandir}/man3/*asn1*
|
||||
%{_infodir}/*.info.*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.13-5
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user