[python-ladon/el6] initial import el6 branch
Matthias Runge
mrunge at fedoraproject.org
Tue Jan 10 08:18:51 UTC 2012
commit aba2ec044c859f28ec3b8de046f5cff06b0e74e0
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Tue Jan 10 09:18:32 2012 +0100
initial import el6 branch
.gitignore | 1 +
python-ladon.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a8756ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ladon-0.6.5.tar.gz
diff --git a/python-ladon.spec b/python-ladon.spec
new file mode 100644
index 0000000..44c2e4b
--- /dev/null
+++ b/python-ladon.spec
@@ -0,0 +1,51 @@
+Name: python-ladon
+Version: 0.6.5
+Release: 2%{?dist}
+Summary: Multiprotocol approach to creating a webservice
+
+License: LGPLv3+
+URL: http://ladonize.org
+Source0: http://pypi.python.org/packages/source/l/ladon/ladon-%{version}.tar.gz
+# #md5=07dd1d395d0d7123448d7710bb3da32a
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+Requires: python-jinja2
+Requires: python-chardet
+
+%description
+Ladon is a framework for exposing methods to several internet service
+protocols. Once a method is ladonized it is automatically served through
+all the interfaces that your ladon installation contains. Ladon's interface
+implemetations are added in a modular fashion making it very easy extend
+Ladon's protocol support.
+
+%prep
+%setup -q -n ladon-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+chmod 755 %{buildroot}/%{python_sitelib}/ladon/clients/jsonwsp.py
+rm %{buildroot}/%{_bindir}/ladon2.7ctl.py
+
+# remove bundled library
+rm -rf %{buildroot}/%{python_sitelib}/chardet_py2
+
+%files
+%doc PKG-INFO
+%{python_sitelib}/*
+%{_bindir}/ladon2.7ctl
+
+%changelog
+* Fri Jan 06 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.6.5-2
+- remove unecessary definition, buildroot cleaning
+- correct build requirements
+
+* Wed Jan 04 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.6.5-1
+- initial fedora package
diff --git a/sources b/sources
index e69de29..467ac3a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+07dd1d395d0d7123448d7710bb3da32a ladon-0.6.5.tar.gz
More information about the scm-commits
mailing list