Logoj0ke.net Open Build Service > Projects > home:netmax > clusterssh > Changes
Sign Up | Log In

Changes of Revision 4

[-] Changed clusterssh.spec
x
 
1
@@ -13,6 +13,10 @@
2
 BuildRequires: desktop-file-utils
3
 Requires:      perl-Tk perl-X11-Protocol
4
 
5
+%if 0%{?suse_version}
6
+BuildRequires:  update-desktop-files
7
+%endif
8
+
9
 %description
10
 Control multiple terminals open on different servers to perform administration
11
 tasks, for example multiple hosts requiring the same config within a cluster.
12
@@ -27,7 +31,7 @@
13
 
14
 %install
15
 rm -rf %{buildroot}
16
-make install DESTDIR=%{buildroot}
17
+%__make DESTDIR=%{buildroot} install
18
 mkdir -p %{buildroot}/%{_datadir}/applications
19
 install -p -m 644 %{name}.desktop \
20
         %{buildroot}/%{_datadir}/applications/%{name}.desktop
21
@@ -41,6 +45,11 @@
22
 install -p -m 644 %{name}-24x24.png \
23
         %{buildroot}/%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
24
 
25
+%if 0%{?suse_version}
26
+%suse_update_desktop_file clusterssh Terminals
27
+%endif
28
+
29
+
30
 %post
31
 touch --no-create %{_datadir}/icons/hicolor || :
32
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
33