[django-tracking/f14/master] initial import
Dave Riches
dcr226 at fedoraproject.org
Tue Oct 26 07:47:21 UTC 2010
commit 6fd6a988d19f0cab0dc433d8e55d48c3ce06c214
Author: Dave Riches <dcr226 at fedorapeople.org>
Date: Tue Oct 26 08:47:17 2010 +0100
initial import
.gitignore | 1 +
django-tracking.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b09e037 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-tracking-0.2.7.zip
diff --git a/django-tracking.spec b/django-tracking.spec
new file mode 100644
index 0000000..c962e02
--- /dev/null
+++ b/django-tracking.spec
@@ -0,0 +1,51 @@
+#$Id$
+
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+
+Summary: Django site visitor tracking, including basic blacklisting
+Name: django-tracking
+Version: 0.2.7
+Release: 1%{?dist}
+License: MIT
+Group: Development/Libraries
+URL: http://code.google.com/p/django-tracking/
+Source: http://django-tracking.googlecode.com/files/django-tracking-0.2.7.zip
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildArch: noarch
+
+BuildRequires: python2-devel python-setuptools
+
+%description
+django-tracking is a simple attempt at keeping track of visitors to
+Django-powered Web sites. It also offers basic blacklisting capabilities
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS CHANGES LICENSE PKG-INFO README
+%{_usr}/tracking
+%{python_sitelib}/tracking
+%{python_sitelib}/tracking/*
+%{python_sitelib}/django_tracking-%{version}-py2.*.egg-info
+%{_usr}/tracking/*
+
+%changelog
+* Wed Oct 20 2010 Dave Riches <david.r at ultracar.co.uk> - 0.2.7-1
+- Packaged for Fedora
+
diff --git a/sources b/sources
index e69de29..1c1bac1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+255409fa0063631c1b5c944ef3417156 django-tracking-0.2.7.zip
More information about the scm-commits
mailing list