[lastuser] Initial build (#725139).
kumarpraveen
kumarpraveen at fedoraproject.org
Tue Jul 26 10:25:04 UTC 2011
commit 3912d4e4ee098751e93ce973530bb8aeab38de6b
Author: Praveen <daredevil at localhost.localdomain>
Date: Tue Jul 26 15:54:04 2011 +0530
Initial build (#725139).
.gitignore | 1 +
lastuser.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..04936c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lastuser-0.1.20110724gitf41a49.tar.xz
diff --git a/lastuser.spec b/lastuser.spec
new file mode 100644
index 0000000..98b044f
--- /dev/null
+++ b/lastuser.spec
@@ -0,0 +1,67 @@
+%global git_date 20110724
+%global git_version f41a49
+
+Name: lastuser
+Version: 0.1
+Release: 2.%{git_date}git%{git_version}%{?dist}
+Summary: User management application
+
+Group: Development/Libraries
+License: BSD
+URL: https://github.com/hasgeek/lastuser
+
+# git clone https://github.com/hasgeek/lastuser
+# cd lastuser
+# git archive --format=tar Head | xz > {name}-{version}.{git_date}git{git_version}.tar.xz
+Source0: %{name}-%{version}.%{git_date}git%{git_version}.tar.xz
+
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-flask
+BuildRequires: python-flask-sqlalchemy
+BuildRequires: python-sqlalchemy
+BuildRequires: python-flask-wtf
+BuildRequires: python-flask-openid
+BuildRequires: python-flask-oauth
+BuildRequires: python-markdown
+BuildRequires: python-setuptools
+BuildRequires: python-flask-mail
+BuildRequires: python-flask-assets
+BuildRequires: python-wtforms
+BuildRequires: python-flask-wtf
+BuildRequires: pytz
+
+%description
+User management is a pain. There's no need to write new user management code
+for each new app to do basic things like logging in, managing the profile and
+verifying email addresses. Setup one LastUser instance for all your apps and
+defer all user management to it. Use the API to integrate with your app.
+
+%prep
+%setup -q -cn %{name}-%{version}.%{git_date}git%{git_version}
+cp -p lastuserapp/settings-sample.py lastuserapp/settings.py
+chmod -x lastuserapp/static/js/profiling/yahoo-profiling.css
+chmod -x lastuserapp/static/js/profiling/*.js
+sed -i -e '1d' lastuserapp/website.py
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc README.rst CHANGES.rst LICENSE.txt
+%{python_sitelib}/*.egg-info/
+%{python_sitelib}/lastuserapp/
+
+
+%changelog
+* Mon Jul 25 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.1-2.20110724gitf41a49
+- Add license file and other dependencies
+
+* Fri Jul 22 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.1-1.20110722git584fe0
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..34d2a41 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5cc401d4d6ff042bd5c16d7853bee2c7 lastuser-0.1.20110724gitf41a49.tar.xz
More information about the scm-commits
mailing list