Ralph Bean avatar Ralph Bean committed 016d375

Added spec file.

Comments (0)

Files changed (1)

python-tw2-jqplugins-gritter.spec

+%{!?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.0
+Release:        1%{?dist}
+Summary:        jQuery gritter (growl-like popups) for ToscaWidgets2
+
+Group:          Development/Languages
+License:        MIT
+URL:            http://toscawidgets.org
+Source0:        http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+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 popups with the gritter plugin for
+python-tw2-jqplugins-ui.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build \
+    --install-data=%{_datadir} --root %{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README.rst
+%{python_sitelib}/*
+
+%changelog
+* Wed Apr 11 2012 Ralph Bean <rbean@redhat.com> - 2.0.0-1
+- Initial packaging for Fedora
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.