[python-mwlib-docbook] Initial import of 0.1.0-2

Ian Weller ianweller at fedoraproject.org
Fri Feb 17 16:58:59 UTC 2012


commit f2eb2bc4be41c599b1462f0a138b23c44829b715
Author: Ian Weller <ian at ianweller.org>
Date:   Fri Feb 17 10:58:46 2012 -0600

    Initial import of 0.1.0-2

 .gitignore                |    1 +
 python-mwlib-docbook.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a0ca681 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mwlib.docbook-0.1.0.zip
diff --git a/python-mwlib-docbook.spec b/python-mwlib-docbook.spec
new file mode 100644
index 0000000..e403391
--- /dev/null
+++ b/python-mwlib-docbook.spec
@@ -0,0 +1,49 @@
+%global module_name mwlib.docbook
+
+Name:           python-mwlib-docbook
+Version:        0.1.0
+Release:        2%{?dist}
+Summary:        DocBook writer for mwlib
+
+License:        BSD
+URL:            https://github.com/pediapress/%{module_name}
+Source0:        http://pypi.python.org/packages/source/m/%{module_name}/%{module_name}-%{version}.zip
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+Requires:       python-mwlib
+Requires:       python-mwlib-xhtml
+
+%description
+mwlib provides a library for parsing MediaWiki articles and converting them to
+different output formats. This package contains the necessary code to output
+articles in DocBook format.
+
+
+%prep
+%setup -qn %{module_name}-%{version}
+
+sed -i '/^#!/d' mwlib/*.py
+chmod a-x mwlib/*.py
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+ 
+%files
+%{python_sitelib}/%{module_name}-*
+%{python_sitelib}/mwlib/*
+
+
+%changelog
+* Wed Feb 15 2012 Ian Weller <iweller at redhat.com> - 0.1.0-2
+- Change BR: python-devel to python2-devel
+- rm rm -rf
+
+* Tue Jan 31 2012 Ian Weller <iweller at redhat.com> - 0.1.0-1
+- Initial package build
diff --git a/sources b/sources
index e69de29..6417e5c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+63b53a1e8fe4a257facd995ef84045ba  mwlib.docbook-0.1.0.zip


More information about the scm-commits mailing list