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
|
|
|
#
|
2014-06-06 14:36:15 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2008-01-08 04:40:39 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-09-13 05:13:33 +02:00
|
|
|
|
2012-11-20 10:39:49 +01:00
|
|
|
%define somajor 6
|
2012-10-03 08:03:45 +02:00
|
|
|
|
2008-01-08 04:40:39 +01:00
|
|
|
Name: libtasn1
|
2012-04-17 21:59:23 +02:00
|
|
|
BuildRequires: info
|
|
|
|
BuildRequires: pkg-config
|
2013-06-25 17:14:37 +02:00
|
|
|
#BuildRequires: gpg-offline
|
2014-10-18 09:08:06 +02:00
|
|
|
Version: 4.2
|
2012-04-17 21:59:23 +02:00
|
|
|
Release: 0
|
2012-01-11 15:37:22 +01:00
|
|
|
Url: http://ftp.gnu.org/gnu/libtasn1/
|
2008-01-08 04:40:39 +01:00
|
|
|
Summary: ASN.1 parsing library
|
2012-07-02 11:01:52 +02:00
|
|
|
License: LGPL-2.1+ and GPL-3.0
|
2012-04-17 21:59:23 +02:00
|
|
|
Group: Productivity/Networking/Security
|
2013-06-25 09:44:04 +02:00
|
|
|
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
|
2009-12-30 00:27:20 +01:00
|
|
|
Source99: baselibs.conf
|
2008-01-08 04:40:39 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
Group: Productivity/Networking/Security
|
2012-04-17 21:59:23 +02:00
|
|
|
Requires: %{name} >= %{version}
|
2008-01-08 04:40:39 +01:00
|
|
|
|
2012-10-03 08:03:45 +02:00
|
|
|
%description -n libtasn1-%{somajor}
|
2008-01-08 04:40:39 +01:00
|
|
|
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
|
2012-10-03 08:03:45 +02:00
|
|
|
Requires: libtasn1-%{somajor} = %{version}
|
2008-01-08 04:40:39 +01:00
|
|
|
Summary: ASN.1 parsing library
|
2012-11-20 10:39:49 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%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
|
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
|
2013-06-25 09:44:04 +02:00
|
|
|
%__make %{?_smp_mflags} V=1
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
|
2012-10-03 08:03:45 +02:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2008-01-08 04:40:39 +01:00
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
2012-10-03 08:03:45 +02:00
|
|
|
%post -n libtasn1-%{somajor} -p /sbin/ldconfig
|
2008-01-08 04:40:39 +01:00
|
|
|
|
2012-10-03 08:03:45 +02:00
|
|
|
%postun -n libtasn1-%{somajor} -p /sbin/ldconfig
|
2008-01-17 23:42:34 +01:00
|
|
|
|
2008-01-08 04:40:39 +01:00
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc ChangeLog NEWS README THANKS
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
%{_mandir}/man3/*.3.gz
|
|
|
|
%{_infodir}/*.info.gz
|
|
|
|
|
2012-10-03 08:03:45 +02:00
|
|
|
%files -n libtasn1-%{somajor}
|
2008-01-08 04:40:39 +01:00
|
|
|
%defattr(-, root, root)
|
2012-10-03 08:03:45 +02:00
|
|
|
%{_libdir}/*.so.%{somajor}*
|
2008-01-08 04:40:39 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/libtasn1.pc
|
|
|
|
|
|
|
|
%changelog
|