diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c83e5f7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +telegram-cli (0.1-1) unstable; urgency=low + + * Initial release (Closes #737563) + + -- Cleto Martín Mon, 03 Feb 2014 20:00:03 +0000 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..33ceb8f --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +Makefile \ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5e7e1f0 --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: telegram-cli +Section: net +Priority: optional +Maintainer: Cleto Martín +Build-Depends: debhelper (>= 8.0.0), + autotools-dev, + autoconf-archive, + libreadline-dev, + libconfig-dev, + libssl-dev, + lua5.2, + liblua5.2-dev +Standards-Version: 3.9.4 +Homepage: https://github.com/vysheng/tg +Vcs-Git: git://github.com/vysheng/tg.git +Vcs-Browser: https://github.com/vysheng/tg + +Package: telegram-cli +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Command-line interface for Telegram messenger + Telegram messenger is a cloud-based instant messaging designed for + smart phones and similar to Whatsapp but more flexible, and + powerful. You can send messages, photos, videos and documents to + people who are in your phone contacts (and have Telegram). Telegram + also supports secret chats whose provide a private (encrypted) way of + communication. + . + This package contains a command-line based client for Telegram with + the following features: + * Colored terminal messages. + * Message management: history, stats, etc. + * Group chat: create and manage groups. + * Secret chat: secured and encrypted conversations. + * Contact management: add/edit/remove contacts. + * Multimedia support: send/load photos and videos. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2e46990 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: telegram-cli +Source: https://github.com/vysheng/tg + +Files: * +Copyright: 2013 Vitaly Valtman +License: GPL-2.0+ + +Files: debian/* +Copyright: 2014 Cleto Martín +License: GPL-2.0+ + +License: GPL-2.0+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..f0f94de --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +telegram usr/bin diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0f41aca --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +VERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -f1 -d'-') +PACKAGE_NAME=$(shell dpkg-parsechangelog | sed -n 's/^Source: //p') + +%: + dh $@ --with autotools-dev + +build-orig: + mkdir -p $(PACKAGE_NAME)-$(VERSION) + tar --exclude=ax_lua.m4 --exclude=debian --exclude=\.pc \ + --exclude=$(PACKAGE_NAME)-$(VERSION) -cf - . \ + | ( cd $(PACKAGE_NAME)-$(VERSION) && tar xf - ) + tar -cf ../$(PACKAGE_NAME)_$(VERSION).orig.tar $(PACKAGE_NAME)-$(VERSION) + $(RM) -r $(PACKAGE_NAME)-$(VERSION) + xz ../$(PACKAGE_NAME)_$(VERSION).orig.tar diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..2148331 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/tg-$1\.tar\.gz/ \ + https://github.com/vysheng/tg/tags .*/v?(\d\S*)\.tar\.gz