Author: jajcus Date: Thu Jul 21 16:40:58 2011 GMT Module: packages Tag: HEAD ---- Log message: - new package
---- Files affected: packages/python-pyasn1_modules: python-pyasn1_modules.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/python-pyasn1_modules/python-pyasn1_modules.spec diff -u /dev/null packages/python-pyasn1_modules/python-pyasn1_modules.spec:1.1 --- /dev/null Thu Jul 21 18:40:58 2011 +++ packages/python-pyasn1_modules/python-pyasn1_modules.spec Thu Jul 21 18:40:52 2011 @@ -0,0 +1,63 @@ +# $Revision$, $Date$ + +%define module pyasn1-modules + +Summary: ASN.1 tools for Python +Summary(pl.UTF-8): Narzędzia ASN.1 dla Pythona +Name: python-pyasn1_modules +Version: 0.0.1a +Release: 1 +License: BSD-like +Group: Libraries/Python +Source0: http://downloads.sourceforge.net/pyasn1/%{module}-%{version}.tar.gz +# Source0-md5: b09a7d11deadb5191af725eaedf50ddd +URL: http://pyasn1.sourceforge.net/ +BuildRequires: python >= 1:2.5 +BuildRequires: rpm-pythonprov +%pyrequires_eq python-modules +Requires: python-pyasn1 >= 0.0.13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is a small but growing collection of ASN.1 data structures +expressed in Python terms using pyasn1 data model. + +It's thought to be useful to protocol developers and testers. + +%prep +%setup -q -n %{module}-%{version} + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%{__python} setup.py install \ + --optimize=2 \ + --root=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm +cp tools/*.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README CHANGES +%{py_sitescriptdir}/pyasn1_modules +%{py_sitescriptdir}/*.egg-info +%{_examplesdir}/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/07/21 16:40:52 jajcus +- new package + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
