2008-01-18 14:09:39 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
%define module pyasn1
|
|
|
|
|
|
|
|
Name: python-pyasn1
|
2009-11-17 15:47:26 +00:00
|
|
|
Version: 0.0.9a
|
2010-07-22 05:08:33 +00:00
|
|
|
Release: 2%{?dist}
|
2008-01-18 14:09:39 +00:00
|
|
|
Summary: ASN.1 tools for Python
|
|
|
|
License: BSD
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source0: http://downloads.sourceforge.net/pyasn1/pyasn1-%{version}.tar.gz
|
|
|
|
URL: http://pyasn1.sourceforge.net/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python-devel python-setuptools
|
2009-11-17 15:47:26 +00:00
|
|
|
Patch1: pyasn1-any.patch
|
2008-01-18 14:09:39 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This project is dedicated to implementation of ASN.1 types (concrete syntax)
|
|
|
|
and codecs (transfer syntaxes) for Python programming environment. ASN.1
|
|
|
|
compiler is planned for implementation in the future.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{module}-%{version} -q
|
2009-11-17 15:47:26 +00:00
|
|
|
%patch1 -p1
|
2008-01-18 14:09:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2009-09-02 19:13:45 +00:00
|
|
|
%doc README LICENSE doc/notes.html examples/*
|
2008-01-18 14:09:39 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2010-07-22 05:08:33 +00:00
|
|
|
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.0.9a-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2009-11-17 15:47:26 +00:00
|
|
|
* Mon Nov 16 2009 Rob Crittenden <rcritten@redhat.com> - 0.0.9a-1
|
|
|
|
- Update to upstream version 0.0.9a
|
|
|
|
- Include patch that adds parsing for the Any type
|
|
|
|
|
2009-09-02 19:13:45 +00:00
|
|
|
* Wed Sep 2 2009 Rob Crittenden <rcritten@redhat.com> - 0.0.8a-5
|
|
|
|
- Include doc/notes.html in the package
|
|
|
|
|
2009-07-26 20:55:08 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8a-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 23:06:10 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8a-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-29 15:52:19 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.0.8a-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-09-09 19:19:00 +00:00
|
|
|
* Tue Sep 9 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.8a-1
|
|
|
|
- Update to upstream version 0.0.8a
|
|
|
|
|
2008-01-18 14:09:39 +00:00
|
|
|
* Wed Jan 16 2008 Rob Crittenden <rcritten@redhat.com> - 0.0.7a-4
|
|
|
|
- Use setuptools to install the package
|
|
|
|
- simplify the files included in the rpm so it includes the .egg-info
|
|
|
|
|
|
|
|
* Mon Jan 14 2008 Rob Crittenden <rcritten@redhat.com> - 0.0.7a-3
|
|
|
|
- Rename to python-pyasn1
|
|
|
|
- Spec file cleanups
|
|
|
|
|
|
|
|
* Mon Nov 19 2007 Karl MacMillan <kmacmill@redhat.com> - 0.0.7a-2
|
|
|
|
- Update rpm to be more fedora friendly
|
|
|
|
|
|
|
|
* Thu Nov 8 2007 Simo Sorce <ssorce@redhat.com> 0.0.7a-1
|
|
|
|
- New release
|
|
|
|
|
|
|
|
* Mon May 28 2007 Andreas Hasenack <andreas@mandriva.com> 0.0.6a-1mdv2008.0
|
|
|
|
+ Revision: 31989
|
|
|
|
- fixed (build)requires
|
|
|
|
- Import pyasn1
|
|
|
|
|