From eabb9ba769327703c7cd447f5405ec0dd2b7bcdf Mon Sep 17 00:00:00 2001 From: Pablo Date: Tue, 4 Feb 2014 18:28:11 +0100 Subject: [PATCH] Rename spec and add server key --- telegram.spec => telegram-cli.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) rename telegram.spec => telegram-cli.spec (70%) diff --git a/telegram.spec b/telegram-cli.spec similarity index 70% rename from telegram.spec rename to telegram-cli.spec index afe56bd..241e5b6 100644 --- a/telegram.spec +++ b/telegram-cli.spec @@ -1,20 +1,21 @@ -Name: Telegram +Name: telegram-cli Version: Beta -Release: 1%{?dist} +Release: 2%{?dist} Summary: Private fast and open platform for instant messaging +Packager: Pablo Iranzo Gómez (Pablo.Iranzo@gmail.com) Group: Internet/Messaging License: GPL URL: https://github.com/vysheng/tg Source: master.zip -BuildRequires: lua-devel, openssl-devel, libconfig-devel, readline-devel -Requires: wget +BuildRequires: lua-devel, openssl-devel, libconfig-devel, readline-devel, wget +#Requires: wget %description Telegram is an Open Source messaging platform for mobile, desktop focused on privacy. -Packager: Pablo Iranzo Gómez (Pablo.Iranzo@gmail.com) + %prep @@ -32,12 +33,14 @@ make %{?_smp_mflags} cd %{name} cd tg-master %{__install} -D -m0755 telegram %{buildroot}/usr/bin/telegram +%{__install} -D -m0644 tg.pub %{buildroot}/etc/telegram/server.pub %files /usr/bin/telegram - +/etc/telegram/server.pub %changelog +* Tue Feb 4 2014 Pablo Iranzo Gómez (Pablo.Iranzo@gmail.com) +- Add server key to /etc/telegram/ * Sat Feb 1 2014 Pablo Iranzo Gómez (Pablo.Iranzo@gmail.com) - Initial SPEC file -