[python-XStatic-jQuery] initial commit
Matthias Runge
mrunge at fedoraproject.org
Fri Jul 11 07:10:48 UTC 2014
commit 49ba1524bbf7ce1e165c3089b700ab02130372d7
Author: Matthias Runge <mrunge at redhat.com>
Date: Fri Jul 11 09:10:59 2014 +0200
initial commit
.gitignore | 1 +
python-XStatic-jQuery.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a566629 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/XStatic-jQuery-1.10.2.1.tar.gz
diff --git a/python-XStatic-jQuery.spec b/python-XStatic-jQuery.spec
new file mode 100644
index 0000000..6c24adf
--- /dev/null
+++ b/python-XStatic-jQuery.spec
@@ -0,0 +1,64 @@
+%if 0%{?fedora} > 12 || 0%{?rhel} >= 8
+%global with_python3 1
+%endif
+
+%{!?__python2:%global __python2 %{__python}}
+%{!?python2_sitelib: %global python2_sitelib %{python_sitelib}}
+%{!?python2_sitearch: %global python2_sitearch %{python_sitearch}}
+%{!?python2_version: %global python2_version %{python_version}}
+
+
+%global pypi_name XStatic-jQuery
+
+Name: python-%{pypi_name}
+Version: 1.10.2.1
+Release: 1%{?dist}
+Summary: jQuery 1.10.2 (XStatic packaging standard)
+
+License: MIT
+URL: http://jquery.com/
+Source0: https://pypi.python.org/packages/source/X/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+Requires: python-XStatic
+
+
+%description
+jQuery javascript library packaged for
+setuptools (easy_install) / pip.
+
+This package is intended to be used by
+**any** project that needs these files.
+
+It intentionally does **not** provide
+any extra code except some metadata
+**nor** has any extra requirements. You MAY
+use some minimal support code from
+the XStatic base package, if you like.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%files
+%doc README.txt
+%{python_sitelib}/XStatic_jQuery-%{version}-py?.?.egg-info
+%{python_sitelib}/XStatic_jQuery-%{version}-py?.?-nspkg.pth
+%{python_sitelib}/xstatic/pkg/jquery
+
+%changelog
+* Wed Mar 12 2014 Matthias Runge <mrunge at redhat.com> - 1.10.2.1-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..05f14c8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7a29efeab6961ef00ea2272c923f4503 XStatic-jQuery-1.10.2.1.tar.gz
More information about the scm-commits
mailing list