From b5af16e869d90dbebee2ab9d67e16ee058a8d760 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:23:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.1.9-1mamba;Sat Dec 05 2015] --- README.md | 2 ++ python-pyasn1.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 python-pyasn1.spec diff --git a/README.md b/README.md index f7fdefe..e36821e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-pyasn1 +ASN.1 types and codecs. + diff --git a/python-pyasn1.spec b/python-pyasn1.spec new file mode 100644 index 0000000..51d8768 --- /dev/null +++ b/python-pyasn1.spec @@ -0,0 +1,43 @@ +Name: python-pyasn1 +Version: 0.1.9 +Release: 1mamba +Summary: ASN.1 types and codecs +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/projects/pyasn1/ +Source: https://pypi.python.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%prep +%setup -q -n pyasn1-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) + +%changelog +* Sat Dec 05 2015 Silvan Calarco 0.1.9-1mamba +- package created using the webbuild interface