[python-wordpress-xmlrpc/el6] initial import and new package

Matthias Runge mrunge at fedoraproject.org
Wed Sep 21 18:59:59 UTC 2011


commit 511ec29932b93c2b956f311161065cbb017453fb
Author: Matthias Runge <mrunge at matthias-runge.de>
Date:   Wed Sep 21 20:59:35 2011 +0200

    initial import and new package

 .gitignore                   |    1 +
 python-wordpress-xmlrpc.spec |   51 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ce16e1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-wordpress-xmlrpc-1.5.tar.gz
diff --git a/python-wordpress-xmlrpc.spec b/python-wordpress-xmlrpc.spec
new file mode 100644
index 0000000..b5eaa57
--- /dev/null
+++ b/python-wordpress-xmlrpc.spec
@@ -0,0 +1,51 @@
+Name:           python-wordpress-xmlrpc
+Version:        1.5
+Release:        1%{?dist}
+Summary:        WordPress XML-RPC API Integration Library
+
+License:        BSD
+URL:            https://github.com/maxcutler/python-wordpress-xmlrpc/
+Source0:        http://pypi.python.org/packages/source/p/python-wordpress-xmlrpc/python-wordpress-xmlrpc-1.5.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+
+%description
+Python library to interface with a WordPress blog's XML-RPC API.
+
+An implementation of the standard WordPress API methods is provided, but the 
+library is designed for easy integration with custom XML-RPC API methods 
+provided by plugins.
+
+A set of classes are provided that wrap the standard WordPress data types 
+(e.g., Blog, Post, User). The provided method implementations return these 
+objects when possible.
+
+
+
+%prep
+%setup -q
+
+# fix wrong-file-end-of-line-encoding issues in license readme.rst wp-config..
+for i in LICENSE README.rst wp-config-sample.cfg ; do
+     sed -i 's/\r//' $i ;
+done
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+ 
+%files
+%doc LICENSE README.rst wp-config-sample.cfg
+%{python_sitelib}/*
+
+
+%changelog
+* Tue Sep 20 2011 Matthias Runge <mrunge at matthias-runge.de> 1.5-1
+- initital version for fedora
diff --git a/sources b/sources
index e69de29..2aa24e7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3bc507c9836e0629abf86444da5a2428  python-wordpress-xmlrpc-1.5.tar.gz


More information about the scm-commits mailing list