Updated jitsi.spec

This commit is contained in:
Zhemoitel Sergey 2012-10-31 16:40:30 +00:00
parent 9032ee82ba
commit 09f27559e1

View file

@ -58,6 +58,21 @@ rm -rf $RPM_BUILD_ROOT
%endif
# menu-entry
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF
[Desktop Entry]
Name=Jitsi
GenericName=Video Call and Instant Messaging client
GenericName[de]=Videokonferenz und Instant Messaging
Comment=Support for SIP, Jabber, AIM/ICQ, MSN, Yahoo!, Bonjour, IRC, RSS and other
Exec=%{name}
Icon=%{name}
Terminal=false
Type=Application
Categories=Network;Telephony;
EOF
# startscript
cat > %{name} << EOF
#!/bin/sh
@ -80,7 +95,6 @@ EOF
# Desktop menu entry
%__install -d -m 755 %{buildroot}%{_datadir}/applications
#%__install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
#%__install -m 644 resources/install/debian/sip-communicator.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
#suse_update_desktop_file %{name}