Changes of Revision 4
[-] | Changed | qtmib.spec |
x 1
2 Group: Applications/Network 3 License: GPLv2 4 Source0: %{name}-%{version}.tar.bz2 5 +Source1: %{name}.desktop 6 Patch0: %{name}-destdir.patch 7 + 8 BuildRoot: %{_tmppath}/%{name}-%{version}-root 9 BuildRequires: net-snmp-devel 10 %if 0%{?suse_version} 11 BuildRequires: libqt4-devel >= 4.7 12 +BuildRequires: update-desktop-files 13 %else 14 BuildRequires: qt4-devel >= 4.7 15 %endif 16
17 18 %install 19 %__make DESTDIR=%{buildroot} install 20 +%if 0%{?suse_version} 21 +%suse_update_desktop_file -i -r qtmib Application Network 22 +%endif 23 24 %clean 25 rm -rf %{buildroot} 26 |
||
[+] | Added | qtmib.desktop ^ |
@@ -0,0 +1,11 @@ +[Desktop Entry] +Name=qtmib +GenericName=SNMP MIB Browser +Exec=qtmib +Icon=qtmib +Terminal=false +Type=Application +Terminal=false +Categories=Application;Network; +StartupNotify=false +InitialPreference=3 |