File python-asn1.spec of Package python-asn1

# spec file for package python-asn1 (Version 0.0.11)
# Copyright (c) 2010 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

%define modname pyasn1
%define prever a

Name:           python-asn1
Version:        0.0.11
Release:        1
License:        Other License(s), see package
Summary:        ASN.1 library for Python
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}%{prever}.tar.bz2
BuildRequires:  python-devel python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Provides:       python-pyasn1 = %version
Obsoletes:      python-pyasn1 < 0.0.11

This is an implementation of ASN.1 types and codecs in Python programming
language. It has been first written to support particular protocol (SNMP) but
then generalized to be suitable for a wide range of protocols based on ASN.1

    Ilya Etingof <>

%setup -q -n %{modname}-%{version}%{prever}

export CFLAGS="%{optflags}"
python build

python install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES

rm -rf %{buildroot}


openSUSE Build Service is sponsored by