SPECS: python-PyYAML.spec (NEW) - new

beorn beorn at pld-linux.org
Fri May 4 21:04:25 CEST 2007


Author: beorn                        Date: Fri May  4 19:04:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   python-PyYAML.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-PyYAML.spec
diff -u /dev/null SPECS/python-PyYAML.spec:1.1
--- /dev/null	Fri May  4 21:04:25 2007
+++ SPECS/python-PyYAML.spec	Fri May  4 21:04:18 2007
@@ -0,0 +1,83 @@
+# $Revision$, $Date$
+#
+%define		module		PyYAML
+%define		module_dir	yaml
+#
+Summary:	YAML parser and emitter module for Python
+Summary(pl.UTF8):	Analizator i generator formatu YAML dla języka Python
+Name:		python-%{module}
+Version:	3.04
+Release:	0.1
+License:	MIT
+Group:		Libraries/Python
+Source0:	http://pyyaml.org/download/pyyaml/%{module}-%{version}.tar.gz
+# Source0-md5:	93adc394611672afa44f44f57dff9589
+URL:		http://pyyaml.org/
+%pyrequires_eq	python-modules
+BuildRequires:	python-devel >= 1:2.3
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+YAML is a data serialization format designed for human readability and
+interaction with scripting languages.  PyYAML is a YAML parser and
+emitter for Python.
+
+PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
+support, capable extension API, and sensible error messages.  PyYAML
+supports standard YAML tags and provides Python-specific tags that allow
+to represent an arbitrary Python object.
+
+PyYAML is applicable for a broad range of tasks from complex configuration
+files to object serialization and persistance.
+
+%description -l pl.UTF-8
+YAML jest formatem serializacji danych czytelnym dla człowieka,
+zaprojektowanym do interakcji w językach skryptowych. PyYAML jest analizatorem
+i generatorem tego formatu dla języka Python.
+
+PyYAML posiada obsługę pełnej analizy YAML 1.1, Unicode, serializację poprzez
+piklowanie, rozszerzalne API oraz zrozumiałe komunikaty błędów. Obsługuje
+standardowe znaczniki YAML i dostarcza nowe, specyficzne dla języka Python,
+pozwalające na reprezentację jego obiektów.
+
+PyYAML może być użyty w szerokiej gamie zastosowań, od złożonych plików
+konfiguracyjnych po serializację i przechowywanie obiektów.
+
+%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
+
+%py_postclean
+install examples/yaml-highlight/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%dir %{py_sitescriptdir}/%{module_dir}
+%{py_sitescriptdir}/%{module_dir}/*.py[co]
+%{_examplesdir}/%{name}-%{version}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/05/04 19:04:18  beorn
+- new
+
================================================================


More information about the pld-cvs-commit mailing list