[funnel] Initial build (#727911).
kumarpraveen
kumarpraveen at fedoraproject.org
Fri Aug 5 08:32:38 UTC 2011
commit fcbbdc9f3d75673c1d4ec6932981c265e3490418
Author: Praveen <daredevil at localhost.localdomain>
Date: Fri Aug 5 14:01:45 2011 +0530
Initial build (#727911).
.gitignore | 1 +
funnel.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0b61b7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/funnel-0.0.20110803git66922b.tar.xz
diff --git a/funnel.spec b/funnel.spec
new file mode 100644
index 0000000..fc468a0
--- /dev/null
+++ b/funnel.spec
@@ -0,0 +1,51 @@
+%global git_date 20110803
+%global git_version 66922b
+
+Name: funnel
+Version: 0.0
+Release: 1.%{git_date}git%{git_version}%{?dist}
+Summary: Handling submissions of talks and voting
+
+Group: Development/Libraries
+License: BSD
+URL: https://github.com/hasgeek/%{name}
+
+# git clone https://github.com/hasgeek/funnel
+# cd funnel
+# 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: lastuser
+
+%description
+The funnel is a space for proposals and voting on events.
+
+%prep
+%setup -q -cn %{name}-%{version}.%{git_date}git%{git_version}
+cp -p settings-sample.py settings.py
+chmod -x static/js/libs/jquery.oembed.js
+chmod -x website.wsgi
+sed -i "s|\r||g" static/js/libs/jquery.oembed.js
+sed -i -e '1d' website.py
+
+%build
+
+
+%install
+install -pdm 755 $RPM_BUILD_ROOT%{python_sitelib}/%{name}/
+cp -p *.py $RPM_BUILD_ROOT%{python_sitelib}/%{name}/
+cp -p *.wsgi $RPM_BUILD_ROOT%{python_sitelib}/%{name}/
+cp -rp templates/ $RPM_BUILD_ROOT%{python_sitelib}/%{name}/
+cp -rp static/ $RPM_BUILD_ROOT%{python_sitelib}/%{name}/
+
+
+%files
+%doc LICENSE.txt README.rst
+%{python_sitelib}/%{name}/
+
+
+%changelog
+* Wed Aug 03 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.0-1.20110803git66922b
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..e78cd27 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c3bb280472c99a57bb2a39b1d0a2ec99 funnel-0.0.20110803git66922b.tar.xz
More information about the scm-commits
mailing list