[python-ladon] initial import into fedora

Matthias Runge mrunge at fedoraproject.org
Tue Jan 10 07:43:35 UTC 2012


commit f3e53c16bdf9e9780cd052e642b7c99fc5647d27
Author: Matthias Runge <mrunge at matthias-runge.de>
Date:   Tue Jan 10 08:43:20 2012 +0100

    initial import into fedora

 .gitignore        |    1 +
 python-ladon.spec |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 52 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..5735a04
--- /dev/null
+++ b/python-ladon.spec
@@ -0,0 +1,50 @@
+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
+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