diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-04-30 16:51:00 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-04-30 16:51:00 (GMT) |
commit | 1bbf5a4f431ce3aab4c851c71438f3d2e468a866 (patch) | |
tree | 0c3c1b3a7357add1d0ba965e9be981258390290f /Swift/Packaging/Debian/debian | |
parent | d0c3cf701102d08afd253f515df74f33ffeed3cc (diff) | |
parent | 0fe3d2b3f37bcd2fa2cf66979e236e993823390f (diff) | |
download | swift-contrib-1bbf5a4f431ce3aab4c851c71438f3d2e468a866.zip swift-contrib-1bbf5a4f431ce3aab4c851c71438f3d2e468a866.tar.bz2 |
Merge branch 'swift-1.x'
* swift-1.x:
Filter out some extra headers in install dir.
Split off libswiften package.
Only install the necessary files in the Debian package.
Diffstat (limited to 'Swift/Packaging/Debian/debian')
-rw-r--r-- | Swift/Packaging/Debian/debian/control.in (renamed from Swift/Packaging/Debian/debian/control) | 18 | ||||
-rw-r--r-- | Swift/Packaging/Debian/debian/libswiften-dev.install | 4 | ||||
-rw-r--r-- | Swift/Packaging/Debian/debian/libswiften.install | 1 | ||||
-rwxr-xr-x | Swift/Packaging/Debian/debian/rules | 7 | ||||
-rw-r--r-- | Swift/Packaging/Debian/debian/shlibs.in | 1 | ||||
-rw-r--r-- | Swift/Packaging/Debian/debian/swift-im.install | 2 |
6 files changed, 27 insertions, 6 deletions
diff --git a/Swift/Packaging/Debian/debian/control b/Swift/Packaging/Debian/debian/control.in index ec4bb29..56428d4 100644 --- a/Swift/Packaging/Debian/debian/control +++ b/Swift/Packaging/Debian/debian/control.in @@ -6,11 +6,27 @@ Build-Depends: debhelper (>= 7), scons (>= 1.2.0), libssl-dev (>= 0.9.8g), libqt Standards-Version: 3.8.4 Homepage: http://swift.im -Package: swift-im +Package: libswiften%SWIFTEN_SOVERSION% Architecture: any Section: net Priority: optional Depends: ${shlibs:Depends}, ${misc:Depends} +Description: XMPP Library. + The Swiften XMPP library. + +Package: libswiften%SWIFTEN_SOVERSION%-dev +Architecture: any +Section: libdevel +Priority: optional +Depends: libswiften%SWIFTEN_SOVERSION% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: XMPP Library. + The Swiften XMPP library. + +Package: swift-im +Architecture: any +Section: net +Priority: optional +Depends: libswiften%SWIFTEN_SOVERSION% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: XMPP Client. The Swift IM client. diff --git a/Swift/Packaging/Debian/debian/libswiften-dev.install b/Swift/Packaging/Debian/debian/libswiften-dev.install new file mode 100644 index 0000000..84e0d21 --- /dev/null +++ b/Swift/Packaging/Debian/debian/libswiften-dev.install @@ -0,0 +1,4 @@ +usr/lib/libSwiften.so +usr/lib/libSwiften.so.?.* +usr/include +usr/bin/swiften-config diff --git a/Swift/Packaging/Debian/debian/libswiften.install b/Swift/Packaging/Debian/debian/libswiften.install new file mode 100644 index 0000000..04f6608 --- /dev/null +++ b/Swift/Packaging/Debian/debian/libswiften.install @@ -0,0 +1 @@ +usr/lib/libSwiften.so.? diff --git a/Swift/Packaging/Debian/debian/rules b/Swift/Packaging/Debian/debian/rules index 0c84852..d237c86 100755 --- a/Swift/Packaging/Debian/debian/rules +++ b/Swift/Packaging/Debian/debian/rules @@ -13,17 +13,14 @@ install: build dh_testroot dh_prep dh_installdirs - scons $(SCONS_FLAGS) optimize=1 debug=1 allow_warnings=1 swiften_dll=1 qt=/usr/share/qt4 docbook_xsl=/usr/share/xml/docbook/stylesheet/docbook-xsl docbook_xml=/usr/share/xml/docbook/schema/dtd/4.5 SWIFT_INSTALLDIR=$(CURDIR)/debian/swift-im/usr SWIFTEN_INSTALLDIR=$(CURDIR)/debian/swift-im/usr $(CURDIR)/debian/swift-im - #mv $(CURDIR)/debian/swift-im/usr/bin/swift $(CURDIR)/debian/swift-im/usr/bin/swift-im - #mv $(CURDIR)/debian/swift-im/usr/share/pixmaps/swift.xpm $(CURDIR)/debian/swift-im/usr/share/pixmaps/swift-im.xpm - #mv $(CURDIR)/debian/swift-im/usr/share/swift $(CURDIR)/debian/swift-im/usr/share/swift-im - #mv $(CURDIR)/debian/swift-im/usr/share/applications/swift.desktop $(CURDIR)/debian/swift-im/usr/share/applications/swift-im.desktop + scons $(SCONS_FLAGS) optimize=1 debug=1 allow_warnings=1 swiften_dll=1 qt=/usr/share/qt4 docbook_xsl=/usr/share/xml/docbook/stylesheet/docbook-xsl docbook_xml=/usr/share/xml/docbook/schema/dtd/4.5 SWIFT_INSTALLDIR=$(CURDIR)/debian/tmp/usr SWIFTEN_INSTALLDIR=$(CURDIR)/debian/tmp/usr $(CURDIR)/debian/tmp binary-indep: install binary-arch: install dh_testdir dh_testroot + dh_install --sourcedir=debian/tmp dh_installchangelogs dh_installdocs dh_installmenu diff --git a/Swift/Packaging/Debian/debian/shlibs.in b/Swift/Packaging/Debian/debian/shlibs.in new file mode 100644 index 0000000..9e80b9b --- /dev/null +++ b/Swift/Packaging/Debian/debian/shlibs.in @@ -0,0 +1 @@ +libSwiften %SWIFTEN_SOVERSION% libswiften%SWIFTEN_SOVERSION% diff --git a/Swift/Packaging/Debian/debian/swift-im.install b/Swift/Packaging/Debian/debian/swift-im.install new file mode 100644 index 0000000..3144192 --- /dev/null +++ b/Swift/Packaging/Debian/debian/swift-im.install @@ -0,0 +1,2 @@ +usr/bin/swift +usr/share |