summaryrefslogtreecommitdiffstats
path: root/gluster
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-04-15 21:42:33 +0530
committerhchiramm <hchiramm@redhat.com>2015-05-29 16:31:33 +0530
commit385dd1635dc243feafb6b234a4feb80417ee9f4f (patch)
tree7ee81d2f5110950017e701c500a937d407bc9cf4 /gluster
parent29795c7ec3186e525e90198ec0bd7989ff627afc (diff)
Package libgfapi-python project for its consumers
This project has to be shipped as rpm for various distributions like Fedora,Centos,RHEL.etc, so that the clients like vdsm, openstack..etc can make use of python bindings of libgfapi library of GlusterFS. This patch introduce first version of the spec file for this project. Change-Id: Icb5d83fc8b278a3cd7b89d55b5fda15a84c2fa82 Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com>
Diffstat (limited to 'gluster')
-rwxr-xr-xgluster/api.py22
-rwxr-xr-xgluster/gfapi.py22
2 files changed, 17 insertions, 27 deletions
diff --git a/gluster/api.py b/gluster/api.py
index 803a778..3309471 100755
--- a/gluster/api.py
+++ b/gluster/api.py
@@ -1,18 +1,12 @@
-
-# Copyright (c) 2012-2014 Red Hat, Inc.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
+# Copyright (c) 2012-2015 Red Hat, Inc.
+# This file is part of libgfapi-python project
+# (http://review.gluster.org/#/q/project:libgfapi-python)
+# which is a subproject of GlusterFS ( www.gluster.org)
#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# This file is licensed to you under your choice of the GNU Lesser
+# General Public License, version 3 or any later version (LGPLv3 or
+# later), or the GNU General Public License, version 2 (GPLv2), in all
+# cases as published by the Free Software Foundation.
import ctypes
diff --git a/gluster/gfapi.py b/gluster/gfapi.py
index 3f7a068..4aaca38 100755
--- a/gluster/gfapi.py
+++ b/gluster/gfapi.py
@@ -1,17 +1,13 @@
-# Copyright (c) 2012-2014 Red Hat, Inc.
+# Copyright (c) 2012-2015 Red Hat, Inc.
+# This file is part of libgfapi-python project
+# (http://review.gluster.org/#/q/project:libgfapi-python)
+# which is a subproject of GlusterFS ( www.gluster.org)
#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# This file is licensed to you under your choice of the GNU Lesser
+# General Public License, version 3 or any later version (LGPLv3 or
+# later), or the GNU General Public License, version 2 (GPLv2), in all
+# cases as published by the Free Software Foundation.
+
import ctypes
import os