[python-django-profile] Initial import after rename

Bohuslav Kabrda bkabrda at fedoraproject.org
Mon Aug 20 14:20:41 UTC 2012


commit d52ee0331e5a776c3060557b80f629a93dea56e3
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon Aug 20 16:20:14 2012 +0200

    Initial import after rename

 .gitignore                 |    1 +
 python-django-profile.spec |   92 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5bb1fc8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-profile-0.6-r458.tar.gz
diff --git a/python-django-profile.spec b/python-django-profile.spec
new file mode 100644
index 0000000..eedb5f8
--- /dev/null
+++ b/python-django-profile.spec
@@ -0,0 +1,92 @@
+%global upstream_name django-profile
+
+%global vcsdate 20110216
+%global vcstag r458
+%global release 1
+%global obs_ver 0.6-0.6.20090813svnr420
+
+Name:           python-%{upstream_name}
+Version:        0.6
+Release:        0.%{release}.%{vcsdate}svn%{vcstag}%{?dist}
+Summary:        Django pluggable user profile zone
+
+Group:          Development/Languages
+License:        BSD
+URL:            http://code.google.com/p/django-profile/
+# svn export -%%{vcstag} http://django-profile.googlecode.com/svn/trunk/ django-profile-%%{version}-%%{vcstag}
+# tar zcf django-profile-%%{version}-%%{vcstag}.tar.gz django-profile-%%{version}-%%{vcstag}
+Source:         %{upstream_name}-%{version}-%{vcstag}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+Requires:       python-django
+Requires:       python-imaging
+
+Provides:       django-profile = %{version}-%{release}
+Obsoletes:      django-profile <= %{obs_ver}
+
+%description
+This is a user private zone/profile management application, allowing
+the user to take control of his account and insert information about
+him in his profile.
+
+Inside this package you will find a demo application which will show
+you what can be accomplished with the rest of the utilities included
+in the package.
+
+%prep
+%setup -q -n %{upstream_name}-%{version}-%{vcstag}
+# this html file shouldn't be executable
+chmod a-x userprofile/templates/userprofile/base_2col.html
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%find_lang django
+# remove useless django.po files
+find $RPM_BUILD_ROOT -type f -name '*.po' -exec rm {} \;
+
+%files -f django.lang
+%doc INSTALL.txt CHANGELOG.txt LICENSE.txt README.txt TODO.txt demo/
+%{python_sitelib}/userprofile-%{version}-py?.?.egg-info
+%dir %{python_sitelib}/userprofile
+%{python_sitelib}/userprofile/*.py*
+%{python_sitelib}/userprofile/templates
+%{python_sitelib}/userprofile/templatetags
+%{python_sitelib}/userprofile/urls
+# own the whole locale directory hierarchy
+%dir %{python_sitelib}/userprofile/locale/
+%dir %{python_sitelib}/userprofile/locale/*/
+%dir %{python_sitelib}/userprofile/locale/*/*/
+%exclude %{python_sitelib}/demo
+
+%changelog
+* Thu Aug 16 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.6-0.1.20110216svnr458
+- Renamed to python-django-profile.
+- Updated to newest svn revision.
+- Minor specfile cleanup.
+
+* Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6-0.6.20090813svnr420
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6-0.5.20090813svnr420
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6-0.4.20090813svnr420
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.6-0.3.20090813svnr420
+- 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.6-0.2.20090813svnr420
+- Added docs
+- Fixed version in the previous changelog
+- Fixed License to BSD based on the LICENSE.txt file
+- Moved demo app to docs
+- Excluded demo app from python path
+
+* Thu Aug 13 2009 Diego Búrigo Zacarão <diegobz at gmail.com> 0.6-0.1.20090813svnr420
+- Initial RPM
diff --git a/sources b/sources
index e69de29..0e2d18b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+60bd7fa21d17a1f075fdeb7c412fe96b  django-profile-0.6-r458.tar.gz


More information about the scm-commits mailing list