[python-tw2-jqplugins-jqplot] Initial import (#916431)

Ralph Bean ralph at fedoraproject.org
Thu Apr 25 22:38:35 UTC 2013


commit b3ffbf23f21206f0a8d2da1578ffed079cc41380
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Apr 25 18:38:26 2013 -0400

    Initial import (#916431)

 .gitignore                       |    1 +
 python-tw2-jqplugins-jqplot.spec |   65 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6c57e11 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tw2.jqplugins.jqplot-2.0.3.tar.gz
diff --git a/python-tw2-jqplugins-jqplot.spec b/python-tw2-jqplugins-jqplot.spec
new file mode 100644
index 0000000..8fb1816
--- /dev/null
+++ b/python-tw2-jqplugins-jqplot.spec
@@ -0,0 +1,65 @@
+%global modname tw2.jqplugins.jqplot
+
+Name:               python-tw2-jqplugins-jqplot
+Version:            2.0.3
+Release:            1%{?dist}
+Summary:            Toscawidgets2 wrapper for the jqPlot jQuery plugin
+
+Group:              Development/Libraries
+License:            MIT
+URL:                http://pypi.python.org/pypi/tw2.jqplugins.jqplot
+Source0:            http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
+
+BuildArch:          noarch
+
+BuildRequires:      python2-devel
+BuildRequires:      python-setuptools
+
+BuildRequires:      python-tw2-core
+BuildRequires:      python-tw2-jqplugins-ui
+
+Requires:           python-tw2-core
+Requires:           python-tw2-jqplugins-ui
+
+%description
+tw2.jqplugins.jqplot is a toscawidgets2 wrapper for jqPlot.
+
+Toscawidgets2 aims to be a practical and useful widgets framework
+that helps people build interactive websites with compelling features,
+faster and easier. Widgets are re-usable web components that can include a
+template, server-side code and JavaScripts/CSS resources. The library aims
+to be: flexible, reliable, documented, performant, and as simple as
+possible.
+
+jqPlot is a plotting and charting plugin for the jQuery Javascript
+framework. jqPlot produces beautiful line, bar and pie charts.
+
+This module, tw2.jqplugins.jqplot, provides toscawidgets2 (tw2) access
+to jqPlot widgets.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+# Remove bundled egg-info in case it exists
+rm -rf %{modname}.egg-info
+
+%build
+%{__python} setup.py build
+
+# Don't step on other jqplugins
+rm -f build/lib/tw2/jqplugins/__init__.py*
+
+# For rpmlint
+rm -f build/lib/tw2/jqplugins/jqplot/static/jquery/plugins/jqplot/0.9.7r635/examples/.htaccess
+
+%install
+%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%files
+%doc README.rst LICENSE.txt
+%{python_sitelib}/tw2/jqplugins/jqplot/
+%{python_sitelib}/%{modname}-%{version}*
+
+%changelog
+* Wed Feb 27 2013 Ralph Bean <rbean at redhat.com> - 2.0.3-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..545138f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4a07add827a87f1c4e8dbc5b17127dc4  tw2.jqplugins.jqplot-2.0.3.tar.gz


More information about the scm-commits mailing list