add debian for python-M2Crypto accepted/tools_devbase_tools devel master sandbox/wangbiao/py3_version accepted/tools/devbase/tools/20250527.103818 accepted/tools/devbase/tools/20250528.062255 accepted/tools/devbase/tools/legacy/20240422.110834 accepted/tools/devbase/tools/legacy/20240423.040715 accepted/tools/devbase/tools/legacy/20240424.050656
authorbiao716.wang <biao716.wang@samsung.com>
Mon, 25 May 2020 09:45:33 +0000 (18:45 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Tue, 26 May 2020 05:32:08 +0000 (14:32 +0900)
Change-Id: Ib75b84fe9e28825869773df6e7f09dd15698a245
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
debian/changelog [new file with mode: 0755]
debian/compat [new file with mode: 0755]
debian/control [new file with mode: 0755]
debian/python-m2crypto.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100755 (executable)
index 0000000..706b0a9
--- /dev/null
@@ -0,0 +1,5 @@
+python-m2crypto (0.35.1.1) unstable; urgency=medium
+
+  * Add Debian
+
+ -- Biao Wang <biao716.wang@samsung.com>  Tue, 26 May 2020 09:42:32 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100755 (executable)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100755 (executable)
index 0000000..ae6f694
--- /dev/null
@@ -0,0 +1,38 @@
+Source: python-m2crypto
+Section: python
+Priority: optional
+Maintainer: Daniel Stender <stender@debian.org>
+Build-Depends:
+ debhelper (>= 11),
+ python-dev,
+ dh-python,
+ libssl-dev,
+ python-all-dev,
+ python-setuptools,
+ swig (>= 1.3.40),
+ openssl
+Standards-Version: 4.2.1
+Homepage: http://www.tizen.org
+
+Package: python-m2crypto
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Provides:
+ m2crypto,
+ ${python:Provides}
+Description: Python wrapper for the OpenSSL library (Python 2 modules)
+ m2crypto features the following:
+   * RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including AES).
+   * SSL functionality to implement clients and servers.
+   * HTTPS extensions to Python's httplib, urllib, and xmlrpclib.
+   * Unforgeable HMAC'ing AuthCookies for web session management.
+   * FTP/TLS client and server.
+   * S/MIME.
+   * ZServerSSL: A HTTPS server for Zope.
+   * ZSmime: An S/MIME messenger for Zope.
+ .
+ This package contains the modules for the Python 2 interpreter.
+
diff --git a/debian/python-m2crypto.install b/debian/python-m2crypto.install
new file mode 100644 (file)
index 0000000..41589af
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/* /usr/lib
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..0fa0995
--- /dev/null
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+       python setup.py build
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Installing package
+       mkdir -p $(CURDIR)/debian/tmp
+       python setup.py install --prefix=/usr --root=$(CURDIR)/debian/tmp
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_install
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_python2
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install