Kirill Simonov  committed 34d51cc Draft

Add a spec file for rpm (thanks, Jeff Johnson).

  • Participants
  • Parent commits b2c7a06
  • Branches default

Comments (0)

Files changed (2)

-include README.txt README.html
+include README.txt README.html PySyck.spec
 recursive-include tests *.py
+Summary: Python bindings for the Syck YAML parser and emitter
+Name: PySyck
+Version: 0.61.2
+Release: 1
+License: BSD
+Group: Development/Libraries
+BuildRequires: byacc, flex, bison
+BuildRoot: %{_tmppath}/%{name}-root
+Syck is an extension for reading and writing YAML swiftly in popular
+scripting languages. As Syck loads the YAML, it stores the data directly in
+your language's symbol table.
+PySyck is aimed to update the current Python bindings for Syck. The new bindings provide a wrapper for the Syck emitter and give access to YAML representation graphs. Hopefully it will not leak memory as well.
+PySyck may be used for various tasks, in particular, as a replacement of the module pickle.
+%setup -q
+%{__python} build
+rm -rf ${RPM_BUILD_ROOT}
+%{__python} install --skip-build --root $RPM_BUILD_ROOT
+chmod +x $RPM_BUILD_ROOT%{python_sitelib}/syck/*.py
+rm -rf ${RPM_BUILD_ROOT}
+%defattr(-, root, root)
+%doc PKG-INFO  README.html  README.txt
+* Sat Mar 25 2006 Jeff Johnson <> 0.61.1-2
+- upgrade to 0.61.2.
+* Sat Mar 18 2006 Jeff Johnson <> 0.61.1-1
+- create.