9b19a0285a
- updated to libtasn1 3.3 * Noteworthy changes in release 3.3 (released 2013-03-23) [stable] - More precise overflow checks using gnulib's intprops module. - Updates to compile in Android systems. * Noteworthy changes in release 3.2 (released 2012-11-30) [stable] - Corrected buffer overflow in the error reporting of the parser (reported by Andreas Metzler). * Noteworthy changes in release 3.1 (released 2012-11-24) [stable] - Completed rename of types: ASN1_ARRAY_TYPE -> asn1_static_node (was asn1_static_node_t) - Added new types: VisibleString, NumericString, IA5String, TeletexString, PrintableString, UniversalString, BMPString, UTF8String. When re-defined a warning is being print instead of failing. - Parser outputs more detailed syntax error messages. - Added asn1_decode_simple_der() and asn1_encode_simple_der(). - Added asn1_read_value_type() to return value and type. - Introduced ASN1_ETYPE_UTC_TIME and ASN1_ETYPE_GENERALIZED_TIME - added gpg source checking (forwarded request 180213 from msmeissn) OBS-URL: https://build.opensuse.org/request/show/180214 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtasn1?expand=0&rev=26
112 lines
3.0 KiB
RPMSpec
112 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package libtasn1
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define somajor 6
|
|
|
|
Name: libtasn1
|
|
BuildRequires: info
|
|
BuildRequires: pkg-config
|
|
Version: 3.3
|
|
Release: 0
|
|
Url: http://ftp.gnu.org/gnu/libtasn1/
|
|
Summary: ASN.1 parsing library
|
|
License: LGPL-2.1+ and GPL-3.0
|
|
Group: Productivity/Networking/Security
|
|
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
|
Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
|
|
# http://josefsson.org/key.txt
|
|
Source2: %name.keyring
|
|
Source99: baselibs.conf
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%if 0%{?suse_version} > 1220
|
|
BuildRequires: gpg-offline
|
|
%endif
|
|
PreReq: %install_info_prereq
|
|
|
|
%description
|
|
This is the ASN.1 library used in GNUTLS. More up to date information
|
|
can be found at http://www.gnu.org/software/gnutls and
|
|
http://www.gnutls.org
|
|
|
|
%package -n libtasn1-%{somajor}
|
|
Summary: ASN.1 parsing library
|
|
Group: Productivity/Networking/Security
|
|
Requires: %{name} >= %{version}
|
|
|
|
%description -n libtasn1-%{somajor}
|
|
This is the ASN.1 library used in GNUTLS. More up to date information
|
|
can be found at http://www.gnu.org/software/gnutls and
|
|
http://www.gnutls.org
|
|
|
|
%package devel
|
|
Requires: libtasn1-%{somajor} = %{version}
|
|
Summary: ASN.1 parsing library
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description devel
|
|
This is the ASN.1 library used in GNUTLS. More up to date information
|
|
can be found at http://www.gnu.org/software/gnutls and
|
|
http://www.gnutls.org
|
|
|
|
%prep
|
|
%if 0%{?suse_version} > 1220
|
|
%gpg_verify %{S:1}
|
|
%endif
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static
|
|
%__make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%makeinstall
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
%check
|
|
make check
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%post -n libtasn1-%{somajor} -p /sbin/ldconfig
|
|
|
|
%postun -n libtasn1-%{somajor} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc ChangeLog NEWS README THANKS
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*.1.gz
|
|
%{_mandir}/man3/*.3.gz
|
|
%{_infodir}/*.info.gz
|
|
|
|
%files -n libtasn1-%{somajor}
|
|
%defattr(-, root, root)
|
|
%{_libdir}/*.so.%{somajor}*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/*.h
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/libtasn1.pc
|
|
|
|
%changelog
|