[xml2dict] Initial import (#728837).

Yuguang Wang yuwang at fedoraproject.org
Tue Mar 20 02:28:19 UTC 2012


commit 9733331bef0258cb9809d3be03a8ba5e3f0137b1
Author: Yuguang Wang <yuwang at redhat.com>
Date:   Tue Mar 20 10:24:00 2012 +0800

    Initial import (#728837).

 .gitignore    |    1 +
 sources       |    1 +
 xml2dict.spec |   44 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1162152 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xml2dict-2008.6.1-tar.gz
diff --git a/sources b/sources
index e69de29..124cfb2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+010820a172ddcf9faa399286fcdb1f41  xml2dict-2008.6.1-tar.gz
diff --git a/xml2dict.spec b/xml2dict.spec
new file mode 100644
index 0000000..cfc08a2
--- /dev/null
+++ b/xml2dict.spec
@@ -0,0 +1,44 @@
+%global alphatag 2008.6.1
+Name:           xml2dict
+Version:        0
+Release:        0.3.%{alphatag}
+Summary:        Use attributes of dictionary to access XML elements
+
+Group:          Development/Libraries
+License:        GPLv2+
+URL:            http://code.google.com/p/xml2dict/
+Source0:        http://xml2dict.googlecode.com/files/xml2dict-%{alphatag}-tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+
+%description
+Use attributes of dictionary to access XML elements.
+
+%prep
+%setup -q -n %{name}-read-only
+
+%build
+
+%install
+install -d $RPM_BUILD_ROOT%{python_sitelib}/
+install -pm 0644 xml2dict.py $RPM_BUILD_ROOT%{python_sitelib}/
+install -pm 0644 object_dict.py $RPM_BUILD_ROOT%{python_sitelib}/
+
+
+%files
+%doc README LICENSE
+%{python_sitelib}/xml2dict.py*
+%{python_sitelib}/object_dict.py*
+
+
+%changelog
+* Mon Mar 19 2012 Yuguang Wang <yuwang at redhat.com> - 0-0.3
+- Update license files and fix install issues.
+
+* Sun Jan 29 2012 Yuguang Wang <yuwang at redhat.com> - 0-0.2
+- Fix koji build issues in spec.
+
+* Thu Dec 22 2011 Yuguang Wang <yuwang at redhat.com> - 0-0.1
+- Initial RPM release


More information about the scm-commits mailing list