68 lines
2.1 KiB
RPMSpec
68 lines
2.1 KiB
RPMSpec
Name: python-pyasn1
|
|
Version: 0.3.7
|
|
Release: 1mamba
|
|
Summary: ASN.1 types and codecs
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://sourceforge.net/projects/pyasn1/
|
|
Source: https://pypi.debian.net/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
|
|
* Tue Nov 21 2017 Automatic Build System <autodist@mambasoft.it> 0.3.7-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 0.3.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 09 2017 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 30 2017 Automatic Build System <autodist@mambasoft.it> 0.3.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 05 2017 Automatic Build System <autodist@mambasoft.it> 0.2.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Feb 09 2017 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 08 2017 Automatic Build System <autodist@mambasoft.it> 0.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.9-1mamba
|
|
- package created using the webbuild interface
|