- Fix multiple menu entry and missing icon (#158975)

- Clean up spec file
This commit is contained in:
Ignacio Vazquez-Abrams 2005-05-27 20:26:30 +00:00
parent 6d50e78647
commit da46a88988
2 changed files with 16 additions and 12 deletions

View File

@ -1,9 +1,11 @@
--- linphone-1.0.1/share/linphone.desktop.term 2005-04-08 16:26:59.110190675 -0400
+++ linphone-1.0.1/share/linphone.desktop 2005-04-08 16:27:07.641592794 -0400
@@ -6,5 +6,5 @@
--- linphone-1.0.1/share/linphone.desktop.old 2003-02-03 11:52:01.000000000 -0500
+++ linphone-1.0.1/share/linphone.desktop 2005-05-27 12:42:58.000000000 -0400
@@ -5,6 +5,6 @@
Comment[de]=Linphone ist ein web-phone.
Type=Application
Exec=linphone
Icon=linphone/linphone2.png
-Icon=linphone/linphone2.png
-Terminal=0
+Icon=linphone2.png
+Terminal=false
Categories=Application;Network;

View File

@ -1,8 +1,6 @@
%{!?dist: %define dist .fc4 }
%{!?fedora: %define fedora 4 }
Name: linphone
Version: 1.0.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Phone anywhere in the whole world by using the Internet
Group: Applications/Communications
@ -71,13 +69,13 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -p -m 0644 pixmaps/linphone2.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
%find_lang %{name}
rm $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Internet/linphone.desktop
desktop-file-install --vendor=fedora \
--delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Network \
--add-category X-Fedora \
--add-category Internet \
--add-category Telephony \
--add-category GTK \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
@ -102,11 +100,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libexecdir}/*
%{_mandir}/man1/*
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/gnome/apps/Internet/*.desktop
%{_datadir}/gnome/help/linphone
%{_datadir}/gnome-2.0/ui/*.xml
%{_datadir}/gtk-doc/html/mediastreamer
%{_datadir}/pixmaps/linphone
%{_datadir}/pixmaps/linphone2.png
%{_datadir}/sounds/linphone
%files devel
@ -131,7 +129,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libortp.so
%changelog
* Fri May 6 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-2.fc4
* Fri May 27 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-3
- Fix multiple menu entry and missing icon (#158975)
- Clean up spec file
* Fri May 6 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-2
- Add disttag to Release
* Fri Apr 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-2