2008-01-08 04:40:39 +01:00
|
|
|
#
|
2012-01-11 15:37:22 +01:00
|
|
|
# spec file for package libtasn1
|
2008-01-08 04:40:39 +01:00
|
|
|
#
|
2021-05-17 21:35:51 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2008-01-08 04:40:39 +01:00
|
|
|
#
|
2008-09-13 05:13:33 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-05-03 22:21:48 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-01-08 04:40:39 +01:00
|
|
|
#
|
|
|
|
|
2008-09-13 05:13:33 +02:00
|
|
|
|
2012-11-20 10:39:49 +01:00
|
|
|
%define somajor 6
|
2008-01-08 04:40:39 +01:00
|
|
|
Name: libtasn1
|
2021-11-11 19:54:17 +01:00
|
|
|
Version: 4.18.0
|
2012-04-17 21:59:23 +02:00
|
|
|
Release: 0
|
2008-01-08 04:40:39 +01:00
|
|
|
Summary: ASN.1 parsing library
|
2021-05-17 21:35:51 +02:00
|
|
|
License: GFDL-1.3-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later
|
2012-04-17 21:59:23 +02:00
|
|
|
Group: Productivity/Networking/Security
|
2019-08-01 07:59:22 +02:00
|
|
|
URL: https://www.gnu.org/software/libtasn1/
|
2015-09-24 07:15:51 +02:00
|
|
|
Source0: http://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz
|
2019-08-01 09:50:32 +02:00
|
|
|
Source1: http://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz.sig
|
2021-05-17 21:35:51 +02:00
|
|
|
Source2: https://josefsson.org/54265e8c.txt#/%{name}.keyring
|
2009-12-30 00:27:20 +01:00
|
|
|
Source99: baselibs.conf
|
2016-08-25 09:51:41 +02:00
|
|
|
BuildRequires: pkgconfig
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%description
|
2021-05-17 21:35:51 +02:00
|
|
|
This is the ASN.1 library used by GNUTLS. Abstract Syntax Notation One (ASN.1)
|
|
|
|
is a standardized data description and serialization language.
|
2008-01-08 04:40:39 +01:00
|
|
|
|
2012-10-03 08:03:45 +02:00
|
|
|
%package -n libtasn1-%{somajor}
|
2008-01-08 04:40:39 +01:00
|
|
|
Summary: ASN.1 parsing library
|
2021-05-17 21:35:51 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2015-02-20 13:50:37 +01:00
|
|
|
Group: System/Libraries
|
2008-01-08 04:40:39 +01:00
|
|
|
|
2012-10-03 08:03:45 +02:00
|
|
|
%description -n libtasn1-%{somajor}
|
2021-05-17 21:35:51 +02:00
|
|
|
This is the ASN.1 library used by GNUTLS. Abstract Syntax Notation One (ASN.1)
|
|
|
|
is a standardized data description and serialization language.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: ASN.1 parsing tools
|
|
|
|
License: GFDL-1.3-or-later AND GPL-3.0-or-later
|
|
|
|
Group: Productivity/Networking/Diagnostic
|
|
|
|
Obsoletes: libtasn1 <= 4.16.0
|
|
|
|
Provides: libtasn1 = %{version}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains various utilities for parting ASN.1 data.
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%package devel
|
2015-02-20 13:50:37 +01:00
|
|
|
Summary: Development files for the ASN.1 parsing library
|
2021-05-17 21:35:51 +02:00
|
|
|
License: GFDL-1.3-or-later AND LGPL-2.1-or-later
|
2012-11-20 10:39:49 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-02-20 13:50:37 +01:00
|
|
|
Requires: libtasn1-%{somajor} = %{version}
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%description devel
|
2021-05-17 21:35:51 +02:00
|
|
|
This is the ASN.1 library used by GNUTLS. Abstract Syntax Notation One (ASN.1)
|
|
|
|
is a standardized data description and serialization language.
|
|
|
|
|
|
|
|
This package contains files required to build against libtasn1.
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%prep
|
2012-10-03 08:03:45 +02:00
|
|
|
%setup -q
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%build
|
2009-05-28 01:16:16 +02:00
|
|
|
%configure --disable-static
|
2020-02-02 23:17:08 +01:00
|
|
|
%make_build
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-20 13:50:37 +01:00
|
|
|
%make_install
|
2015-09-24 07:15:51 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2008-01-08 04:40:39 +01:00
|
|
|
|
2012-10-03 08:03:45 +02:00
|
|
|
%check
|
2020-02-02 23:17:08 +01:00
|
|
|
%make_build check
|
2012-10-03 08:03:45 +02:00
|
|
|
|
|
|
|
%post -n libtasn1-%{somajor} -p /sbin/ldconfig
|
|
|
|
%postun -n libtasn1-%{somajor} -p /sbin/ldconfig
|
2008-01-17 23:42:34 +01:00
|
|
|
|
2021-05-17 21:35:51 +02:00
|
|
|
%files -n libtasn1-%{somajor}
|
|
|
|
%license doc/COPYING.LESSER
|
|
|
|
%{_libdir}/*.so.%{somajor}*
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%license doc/COPYING
|
2008-01-08 04:40:39 +01:00
|
|
|
%{_bindir}/*
|
2019-08-01 07:59:22 +02:00
|
|
|
%{_mandir}/man1/*.1%{?ext_man}
|
|
|
|
%{_infodir}/*.info%{?ext_info}
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%files devel
|
2021-05-17 21:35:51 +02:00
|
|
|
%license doc/COPYING.LESSER
|
|
|
|
%doc NEWS README THANKS
|
2008-01-08 04:40:39 +01:00
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/libtasn1.pc
|
2019-08-01 07:59:22 +02:00
|
|
|
%{_mandir}/man3/*.3%{?ext_man}
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%changelog
|