[python-django-robots] initial import for renamed django-robots
Matthias Runge
mrunge at fedoraproject.org
Fri Mar 23 18:58:52 UTC 2012
commit 6e7110d7c43e905818bd6788ff44d98ec20ee60f
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Fri Mar 23 19:57:58 2012 +0100
initial import for renamed django-robots
.gitignore | 1 +
python-django-robots.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f282ddd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-robots-0.8.1.tar.gz
diff --git a/python-django-robots.spec b/python-django-robots.spec
new file mode 100644
index 0000000..e57395b
--- /dev/null
+++ b/python-django-robots.spec
@@ -0,0 +1,58 @@
+%global pkgname django-robots
+%global obs_ver 0.8.0-3
+Name: python-django-robots
+Version: 0.8.1
+Release: 2%{?dist}
+Summary: Robots exclusion application for Django, complementing Sitemaps
+
+Group: Development/Languages
+License: BSD
+URL: http://pypi.python.org/pypi/%{pkgname}
+Source0: http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: gettext
+Requires: python-django
+
+Provides: %{pkgname} = %{version}-%{release}
+Obsoletes: %{pkgname} < %{obs_ver}
+
+%description
+Django application to manage robots.txt files following the robots exclusion
+protocol, complementing the Django Sitemap contrib app.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+# remove bundled egg-info
+rm -rf django_robots.egg-info
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+# Language files; not under /usr/share, need to be handled manually
+(cd $RPM_BUILD_ROOT && find . -name 'django.?o') | sed -e 's|^.||' | sed -e \
+ 's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
+ >> %{name}.lang
+
+%files -f %{name}.lang
+%doc LICENSE.txt README.rst docs/
+# list some files explicitly to avoid listing locale files twice
+%{python_sitelib}/robots
+%{python_sitelib}/robots/templates/robots/rule_list.html
+%{python_sitelib}/django_robots*.egg-info
+
+%changelog
+* Fri Mar 23 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.8.1-2
+- renamed to python-django-robots
+- SPEC cleanup
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Thu Apr 14 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 0.8.0-1
+- initial spec
diff --git a/sources b/sources
index e69de29..7bec668 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fce5ea55c3803a0648b21080ab432e32 django-robots-0.8.1.tar.gz
More information about the scm-commits
mailing list