Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit 19ddd7c8c5cdd67fccdd44e49f1c1afff0a4d0bf
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Fri Feb 15 14:01:50 2013 +0100
Add a fedocal.spec and include it in the sources when packaged
---------------------------------------------------------------
MANIFEST.in | 1 +
fedocal.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/MANIFEST.in b/MANIFEST.in
index c16cce6..3b31e81 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,5 @@
include LICENSE README.rst *.sample fedocal.wsgi requirements.txt
+include fedocal.spec
include run_tests.sh createdb createdb.py
recursive-include alembic *
include doc/*
diff --git a/fedocal.spec b/fedocal.spec
new file mode 100644
index 0000000..a3b8827
--- /dev/null
+++ b/fedocal.spec
@@ -0,0 +1,65 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
+%distutils.sysconfig import get_python_lib; print (get_python_lib())")}
+
+Name: fedocal
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: A web based calendar application
+
+License: GPLv3+
+URL:
http://fedorahosted.org/fedocal/
+Source0: fedocal-0.1.0.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python-flask
+BuildRequires: python-sqlalchemy
+BuildRequires: pytz
+BuildRequires: python-wtforms
+BuildRequires: python-flask-wtf
+BuildRequires: python-vobject
+BuildRequires: python-kitchen
+BuildRequires: python-fedora
+BuildRequires: python-alembic
+BuildRequires: python-dateutil <= 1.5
+BuildRequires: python-setuptools
+Requires: python-flask
+Requires: python-sqlalchemy
+Requires: pytz
+Requires: python-wtforms
+Requires: python-flask-wtf
+Requires: python-vobject
+Requires: python-kitchen
+Requires: python-fedora
+Requires: python-alembic
+Requires: python-dateutil <= 1.5
+Requires: python-setuptools
+
+%description
+fedocal is a web- based calendar application for Fedora. It aims at replacing
+the tables in the wiki which are hard to edit and maintain.
+Calendar can be exported to an iCal format allowing read-only integration with
+most calendar application.
+
+%prep
+%setup -q
+
+
+%build
+%{__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 LICENSE doc/
+%{python_sitelib}/*
+
+
+%changelog
+* Fri Feb 15 2013 Pierre-Yves Chibon <pingou(a)pingoured.fr> -0.1.0-1
+- Initial packaging work for Fedora
+