[python-django-appconf] initial packaging
Matthias Runge
mrunge at fedoraproject.org
Wed Sep 12 12:19:54 UTC 2012
commit 92e12246511ec2bab44d3dc72b99239047e27118
Author: Matthias Runge <mrunge at redhat.com>
Date: Wed Sep 12 14:19:41 2012 +0200
initial packaging
.gitignore | 1 +
python-django-appconf.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..61aacd3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-appconf-0.5.tar.gz
diff --git a/python-django-appconf.spec b/python-django-appconf.spec
new file mode 100644
index 0000000..d92cd95
--- /dev/null
+++ b/python-django-appconf.spec
@@ -0,0 +1,49 @@
+%global pypi_name django-appconf
+
+Name: python-%{pypi_name}
+Version: 0.5
+Release: 1%{?dist}
+Summary: A helper class for handling configuration defaults of packaged apps gracefully
+
+License: BSD
+URL: http://pypi.python.org/pypi/django-appconf/0.5
+Source0: http://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: python2-devel
+BuildRequires: python-sphinx
+
+
+%description
+A helper class for handling configuration
+defaults of packaged Django
+apps gracefully.
+
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+# generate html docs
+sphinx-build docs html
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%files
+%doc html README.rst LICENSE
+%{python_sitelib}/appconf
+%{python_sitelib}/django_appconf-%{version}-py?.?.egg-info
+
+%changelog
+* Tue Sep 11 2012 Matthias Runge <mrunge at redhat.com> - 0.5-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..abf858b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+36a5bfdac4d07195deb25b765d3a4d09 django-appconf-0.5.tar.gz
More information about the scm-commits
mailing list