[python-django-authority] initial import in devel branch
Matthias Runge
mrunge at fedoraproject.org
Tue Jun 5 14:30:19 UTC 2012
commit 78fa8a7a174f3063efbea559aa8b887ebb27ab1c
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Tue Jun 5 16:29:54 2012 +0200
initial import in devel branch
.gitignore | 1 +
python-django-authority.spec | 81 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..309e9d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-authority-0.4.tar.gz
diff --git a/python-django-authority.spec b/python-django-authority.spec
new file mode 100644
index 0000000..0aadd54
--- /dev/null
+++ b/python-django-authority.spec
@@ -0,0 +1,81 @@
+%global pkgname django-authority
+%global obs_ver 0.3-6
+
+Name: python-django-authority
+Version: 0.4
+Release: 2%{?dist}
+Summary: A Django app for generic per-object permissions and custom permission checks
+
+Group: Development/Languages
+License: BSD
+URL: http://bitbucket.org/jezdez/django-authority/
+Source: http://bitbucket.org/jezdez/django-authority/downloads/%{pkgname}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+Requires: python-django
+
+Provides: %{pkgname} = %{version}-%{release}
+Obsoletes: %{pkgname} < %{obs_ver}
+
+
+%description
+This is a Django app for generic per-object permissions, custom permission
+checks and permission requests. It also includes view decorators and template
+tags for ease of use.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+# remove bundled egg-info
+rm -rf django_authority.egg-info
+
+# remove executable-flag from manage.py in example
+chmod ugo-x example/manage.py
+
+# remove hidden files in example
+find example -name '._*.py' -exec rm '{}' \;
+
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+# example gets accidently installed to python_sitelib, too
+rm -rf %{buildroot}/%{python_sitelib}/example
+
+
+%files
+%doc AUTHORS LICENSE README docs/build/html/ example
+%{python_sitelib}/authority
+%{python_sitelib}/django_authority-%{version}-py?.?.egg-info
+
+%changelog
+* Mon Jun 04 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.4-2
+- really obsolete version 0.3-5
+
+* Fri Jun 01 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.4-1
+- renamed to python-django-authority
+- spec cleanup
+- update to version 0.4
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Fri Aug 14 2009 Diego Búrigo Zacarão <diegobz at gmail.com> 0.3-2
+- Clean up MAC OS hidden files
+- Added only HTML built doc files from docs dir
+- Added some missed doc files like AUTHORS
+- Clean up .builinfo files
+
+* Thu Aug 13 2009 Diego Búrigo Zacarão <diegobz at gmail.com> 0.3-1
+- Initial RPM
diff --git a/sources b/sources
index e69de29..0003ac7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9539865bb869ea4538d042b4a75c771b django-authority-0.4.tar.gz
More information about the scm-commits
mailing list