Registration is now invite-only. Any user can make an invite, you need to create it here and give resulting link to someone to register.
avatar
mikhailnov has added 0c6f78dcc6
partially deal with renamed desktop file
view file @ 0c6f78dcc6
... ... --- a/telegram-desktop.spec
... ... +++ b/telegram-desktop.spec
... ... @@ -51,7 +51,7 @@
51 51
52 52
Name:		telegram-desktop
53 53
Version:	4.8.4
54
Release:	4
54
Release:	5
55 55
Group:	Networking/Instant messaging
56 56
57 57
# Application and 3rd-party modules licensing:
... ... @@ -284,6 +284,15 @@ sed -i'' -e '/include(cmake\/libvpx.cmake)/d' -e '/include(cmake\/libopenh264.cm
284 284
%install
285 285
%ninja_install -C build
286 286
287
# Compatibility with symlinks and configs before the desktop file was renamed
288
# https://bugzilla.rosalinux.ru/show_bug.cgi?id=13419#c2
289
# This will keep valid "Favourites" entries in KDE Kickoff and XFCE Whisker menus,
290
# but will not help on GNOME with default configuration on ROSA.
291
# Based on discussion with mymedia@ and Ilya Fedin.
292
! test -f %{buildroot}%{_datadir}/applications/telegramdesktop.desktop
293
sed -E -e 's,^MimeType=.+,OnlyShowIn=NotExistingDE,' %{buildroot}%{_datadir}/applications/org.telegram.desktop.desktop > %{buildroot}%{_datadir}/applications/telegramdesktop.desktop
294
grep -q '^OnlyShowIn=NotExistingDE$' %{buildroot}%{_datadir}/applications/telegramdesktop.desktop
295
287 296
%check
288 297
# seems to contain <url> with newer type attribute than supported
289 298
#appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.telegram.desktop.metainfo.xml
... ... @@ -295,5 +304,6 @@ sed -i'' -e '/include(cmake\/libvpx.cmake)/d' -e '/include(cmake\/libopenh264.cm
304 304
%license LICENSE LEGAL
305 305
%{_bindir}/%{name}
306 306
%{_datadir}/applications/org.telegram.desktop.desktop
307
%{_datadir}/applications/telegramdesktop.desktop
307 308
%{_datadir}/icons/hicolor/*/apps/*.png
308 309
%{_metainfodir}/org.telegram.desktop.metainfo.xml

Comments