[dmlite/f20] Enabled Python bindings
Alejandro Alvarez
aalvarez at fedoraproject.org
Mon Dec 16 09:46:33 UTC 2013
commit ec1a83ea77e7323771e1474830b4e0cd779fa2b6
Author: aalvarez <alejandro.alvarez.ayllon at cern.ch>
Date: Mon Dec 16 10:12:47 2013 +0100
Enabled Python bindings
dmlite.spec | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/dmlite.spec b/dmlite.spec
index c273d5d..7022462 100644
--- a/dmlite.spec
+++ b/dmlite.spec
@@ -4,7 +4,7 @@
Name: dmlite
Version: 0.6.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Common libraries for grid data management and storage
Group: Applications/Internet
License: ASL 2.0
@@ -32,6 +32,7 @@ BuildRequires: cppunit-devel
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: openssl-devel
+BuildRequires: python-devel
%description
This package provides a set of common libraries and plugins that implement
@@ -64,6 +65,13 @@ Group: Applications/Internet
%description docs
Man pages and HTML documentation for dmlite.
+%package -n python-dmlite
+Summary: Python wrapper for dmlite
+Group: Development/Libraries
+
+%description -n python-dmlite
+This package provides a python wrapper for dmlite.
+
%prep
%setup -q -n %{name}-%{version}
@@ -73,7 +81,7 @@ Man pages and HTML documentation for dmlite.
%endif
%build
-%cmake . -DCMAKE_INSTALL_PREFIX=/ -DBUILD_PYTHON=OFF
+%cmake . -DCMAKE_INSTALL_PREFIX=/ -DBUILD_PYTHON=ON
make %{?_smp_mflags}
@@ -115,7 +123,14 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%{_pkgdocdir}
+%files -n python-dmlite
+%defattr(-,root,root,-)
+%{python_sitearch}/pydmlite.so
+
%changelog
+* Mon Dec 16 2013 Alejandro Alvarez <aalvarez at cern.ch> - 0.6.1-5
+- Enabled Python bindings
+
* Fri Aug 30 2013 Alejandro Alvarez Ayllon <aalvarez at cern.ch> - 0.6.1-4
- Documentation installed in an unversioned doc dir
More information about the scm-commits
mailing list