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 -