[python-tw2-jqplugins-gritter] Initial import (#811750)
Ralph Bean
ralph at fedoraproject.org
Wed May 9 17:43:00 UTC 2012
commit 55868490b92ab191728b9e34cc14228a1a2545a8
Author: Ralph Bean <rbean at redhat.com>
Date: Wed May 9 13:42:47 2012 -0400
Initial import (#811750)
.gitignore | 1 +
python-tw2-jqplugins-gritter.spec | 72 +++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..25b2a91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tw2.jqplugins.gritter-2.0.1.tar.gz
diff --git a/python-tw2-jqplugins-gritter.spec b/python-tw2-jqplugins-gritter.spec
new file mode 100644
index 0000000..3d4322b
--- /dev/null
+++ b/python-tw2-jqplugins-gritter.spec
@@ -0,0 +1,72 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%global modname tw2.jqplugins.gritter
+
+Name: python-tw2-jqplugins-gritter
+Version: 2.0.1
+Release: 2%{?dist}
+Summary: jQuery gritter (growl-like pop-ups) for ToscaWidgets2
+
+Group: Development/Languages
+License: MIT
+URL: http://toscawidgets.org
+Source0: http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
+BuildArch: noarch
+
+# For building
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-simplejson
+BuildRequires: python-tw2-core
+BuildRequires: python-tw2-jquery
+BuildRequires: python-tw2-jqplugins-ui
+
+# Runtime requirements
+Requires: python-tw2-core
+Requires: python-tw2-jquery
+Requires: python-tw2-jqplugins-ui
+
+%description
+This module provides growl like pop-ups with the gritter plugin for
+python-tw2-jqplugins-ui.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%if %{?rhel}%{!?rhel:0} >= 6
+
+# Make sure that epel/rhel picks up the correct version of webob
+awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.0\"]; import pkg_resources"}1' setup.py > setup.py.tmp
+mv setup.py.tmp setup.py
+
+# Remove all the fancy nosetests configuration for older python
+rm setup.cfg
+
+%endif
+
+
+%build
+%{__python} setup.py build
+# This is a hack to get the jqplugins to not stomp all over each others
+# namespace declarations.
+rm -f build/lib/tw2/jqplugins/__init__.py*
+
+%install
+%{__python} setup.py install -O1 --skip-build \
+ --install-data=%{_datadir} --root %{buildroot}
+
+%files
+%doc README.rst LICENSE
+
+%{python_sitelib}/tw2/jqplugins/gritter
+%{python_sitelib}/%{modname}-%{version}-*
+
+%changelog
+* Mon May 07 2012 Ralph Bean <rbean at redhat.com> - 2.0.1-2
+- Updated directory ownership to avoid conflict with other tw2 packages.
+
+* Wed May 02 2012 Ralph Bean <rbean at redhat.com> - 2.0.1-1
+- Upstream release, includes the LICENSE
+
+* Wed Apr 11 2012 Ralph Bean <rbean at redhat.com> - 2.0.0-1
+- Initial packaging for Fedora
diff --git a/sources b/sources
index e69de29..c587f18 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3d4e11b4de32a714d977cc0c4adbb91a tw2.jqplugins.gritter-2.0.1.tar.gz
More information about the scm-commits
mailing list