Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 73 lines (53 sloc) 2.138 kb
110d2da5 »
2012-04-11 Added spec file.
1 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3 %global modname tw2.jqplugins.gritter
4
5 Name: python-tw2-jqplugins-gritter
d58d02ea »
2012-05-02 Specfile cleanup and including license file.
6 Version: 2.0.1
1eea0ac7 »
2012-05-07 Specfile update.
7 Release: 2%{?dist}
d58d02ea »
2012-05-02 Specfile cleanup and including license file.
8 Summary: jQuery gritter (growl-like pop-ups) for ToscaWidgets2
110d2da5 »
2012-04-11 Added spec file.
9
10 Group: Development/Languages
11 License: MIT
12 URL: http://toscawidgets.org
13 Source0: http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
14 BuildArch: noarch
15
16 # For building
17 BuildRequires: python2-devel
18 BuildRequires: python-setuptools
19 BuildRequires: python-simplejson
20 BuildRequires: python-tw2-core
21 BuildRequires: python-tw2-jquery
22 BuildRequires: python-tw2-jqplugins-ui
23
24 # Runtime requirements
25 Requires: python-tw2-core
26 Requires: python-tw2-jquery
27 Requires: python-tw2-jqplugins-ui
28
29 %description
d58d02ea »
2012-05-02 Specfile cleanup and including license file.
30 This module provides growl like pop-ups with the gritter plugin for
110d2da5 »
2012-04-11 Added spec file.
31 python-tw2-jqplugins-ui.
32
33 %prep
34 %setup -q -n %{modname}-%{version}
35
33968eb5 »
2012-04-17 Sneaking in an epel fix in the spec file.
36 %if %{?rhel}%{!?rhel:0} >= 6
37
38 # Make sure that epel/rhel picks up the correct version of webob
39 awk 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"WebOb>=1.0\"]; import pkg_resources"}1' setup.py > setup.py.tmp
40 mv setup.py.tmp setup.py
41
42 # Remove all the fancy nosetests configuration for older python
43 rm setup.cfg
44
45 %endif
46
47
110d2da5 »
2012-04-11 Added spec file.
48 %build
49 %{__python} setup.py build
ef96e1e7 »
2012-04-12 Hack for jqplugins RPM stuff to work.
50 # This is a hack to get the jqplugins to not stomp all over each others
51 # namespace declarations.
52 rm -f build/lib/tw2/jqplugins/__init__.py*
110d2da5 »
2012-04-11 Added spec file.
53
54 %install
55 %{__python} setup.py install -O1 --skip-build \
56 --install-data=%{_datadir} --root %{buildroot}
57
58 %files
d58d02ea »
2012-05-02 Specfile cleanup and including license file.
59 %doc README.rst LICENSE
1eea0ac7 »
2012-05-07 Specfile update.
60
61 %{python_sitelib}/tw2/jqplugins/gritter
62 %{python_sitelib}/%{modname}-%{version}-*
110d2da5 »
2012-04-11 Added spec file.
63
64 %changelog
1eea0ac7 »
2012-05-07 Specfile update.
65 * Mon May 07 2012 Ralph Bean <rbean@redhat.com> - 2.0.1-2
66 - Updated directory ownership to avoid conflict with other tw2 packages.
67
d58d02ea »
2012-05-02 Specfile cleanup and including license file.
68 * Wed May 02 2012 Ralph Bean <rbean@redhat.com> - 2.0.1-1
69 - Upstream release, includes the LICENSE
70
110d2da5 »
2012-04-11 Added spec file.
71 * Wed Apr 11 2012 Ralph Bean <rbean@redhat.com> - 2.0.0-1
72 - Initial packaging for Fedora
Something went wrong with that request. Please try again.