1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-08-02 05:12:55 +00:00

[debian] Add python-searpc package.

This commit is contained in:
Jonathan Xu 2017-03-14 14:03:30 +08:00
parent d101d03817
commit 1cd9785093
5 changed files with 19 additions and 4 deletions

17
debian/control vendored
View File

@ -19,7 +19,6 @@ Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends},
${python:Depends}
Conflicts: seafile
Description: SeaRPC library for Seafile client
SeaRPC is a simple C language RPC framework based on GObject system.
@ -33,7 +32,8 @@ Depends:
${misc:Depends},
python2 (>= 2.7) | python (>= 2.7),
python2 (<< 2.8) | python (<< 2.8),
libsearpc1 (= ${binary:Version})
libsearpc1 (= ${binary:Version}),
python-searpc (>= ${source:Version}),
Conflicts: seafile
Description: Development files for the libsearpc1 package.
This package contains the development files for the libsearpc1 package.
@ -46,3 +46,16 @@ Depends:
${misc:Depends},
Description: Debugging symbols for the libsearpc1 package.
This package contains the debugging symbols for the libsearpc1 package.
Package: python-searpc
Section: python
Multi-Arch: foreign
Architecture: all
Depends: ${python:Depends},
${shlibs:Depends},
${misc:Depends}
Description: simple and easy-to-use C language RPC framework
Searpc handles the serialization/deserialization part of RPC, the
transport part is left to users.
.
This package contains Python bindings to Searpc.

View File

@ -3,4 +3,3 @@ usr/lib/pkgconfig
usr/lib/libsearpc.a
usr/lib/libsearpc.la
usr/lib/libsearpc.so
usr/bin/searpc-codegen.py

View File

@ -1,2 +1 @@
usr/lib/*.so.*
usr/lib/python2.7/dist-packages/pysearpc/*.py

2
debian/python-searpc.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin/searpc-codegen.py
usr/lib/python*/dist-packages/pysearpc/*.py

View File

@ -0,0 +1,2 @@
library-package-name-for-application usr/bin/searpc-codegen.py
application-in-library-section python usr/bin/searpc-codegen.py