- Fix multiple menu entry and missing icon (#158975)
- Clean up spec file
This commit is contained in:
parent
6d50e78647
commit
da46a88988
@ -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.old 2003-02-03 11:52:01.000000000 -0500
|
||||||
+++ linphone-1.0.1/share/linphone.desktop 2005-04-08 16:27:07.641592794 -0400
|
+++ linphone-1.0.1/share/linphone.desktop 2005-05-27 12:42:58.000000000 -0400
|
||||||
@@ -6,5 +6,5 @@
|
@@ -5,6 +5,6 @@
|
||||||
|
Comment[de]=Linphone ist ein web-phone.
|
||||||
Type=Application
|
Type=Application
|
||||||
Exec=linphone
|
Exec=linphone
|
||||||
Icon=linphone/linphone2.png
|
-Icon=linphone/linphone2.png
|
||||||
-Terminal=0
|
-Terminal=0
|
||||||
|
+Icon=linphone2.png
|
||||||
+Terminal=false
|
+Terminal=false
|
||||||
Categories=Application;Network;
|
Categories=Application;Network;
|
||||||
|
@ -1,15 +1,13 @@
|
|||||||
%{!?dist: %define dist .fc4 }
|
|
||||||
%{!?fedora: %define fedora 4 }
|
|
||||||
Name: linphone
|
Name: linphone
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Phone anywhere in the whole world by using the Internet
|
Summary: Phone anywhere in the whole world by using the Internet
|
||||||
|
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.linphone.org/?lang=us&rubrique=1
|
URL: http://www.linphone.org/?lang=us&rubrique=1
|
||||||
Source0: http://simon.morlat.free.fr/download/1.0.x/source/linphone-1.0.1.tar.gz
|
Source0: http://simon.morlat.free.fr/download/1.0.x/source/linphone-1.0.1.tar.gz
|
||||||
Patch: linphone-1.0.1-pkgconfig.patch
|
Patch: linphone-1.0.1-pkgconfig.patch
|
||||||
Patch1: linphone-1.0.1-Werror.patch
|
Patch1: linphone-1.0.1-Werror.patch
|
||||||
Patch2: linphone-1.0.1-desktop.patch
|
Patch2: linphone-1.0.1-desktop.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -71,13 +69,13 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
install -p -m 0644 pixmaps/linphone2.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
rm $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Internet/linphone.desktop
|
||||||
desktop-file-install --vendor=fedora \
|
desktop-file-install --vendor=fedora \
|
||||||
--delete-original \
|
--delete-original \
|
||||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
--remove-category Network \
|
|
||||||
--add-category X-Fedora \
|
--add-category X-Fedora \
|
||||||
--add-category Internet \
|
|
||||||
--add-category Telephony \
|
--add-category Telephony \
|
||||||
--add-category GTK \
|
--add-category GTK \
|
||||||
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
||||||
@ -102,11 +100,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libexecdir}/*
|
%{_libexecdir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_datadir}/applications/*%{name}.desktop
|
%{_datadir}/applications/*%{name}.desktop
|
||||||
%{_datadir}/gnome/apps/Internet/*.desktop
|
|
||||||
%{_datadir}/gnome/help/linphone
|
%{_datadir}/gnome/help/linphone
|
||||||
%{_datadir}/gnome-2.0/ui/*.xml
|
%{_datadir}/gnome-2.0/ui/*.xml
|
||||||
%{_datadir}/gtk-doc/html/mediastreamer
|
%{_datadir}/gtk-doc/html/mediastreamer
|
||||||
%{_datadir}/pixmaps/linphone
|
%{_datadir}/pixmaps/linphone
|
||||||
|
%{_datadir}/pixmaps/linphone2.png
|
||||||
%{_datadir}/sounds/linphone
|
%{_datadir}/sounds/linphone
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -131,7 +129,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libortp.so
|
%{_libdir}/libortp.so
|
||||||
|
|
||||||
%changelog
|
%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
|
- Add disttag to Release
|
||||||
|
|
||||||
* Fri Apr 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-2
|
* Fri Apr 8 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.1-2
|
||||||
|
Loading…
Reference in New Issue
Block a user