Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
clusterssh
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
clusterssh.spec
@@ -13,6 +13,10 @@ BuildRequires: desktop-file-utils Requires: perl-Tk perl-X11-Protocol +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + %description Control multiple terminals open on different servers to perform administration tasks, for example multiple hosts requiring the same config within a cluster. @@ -27,7 +31,7 @@ %install rm -rf %{buildroot} -make install DESTDIR=%{buildroot} +%__make DESTDIR=%{buildroot} install mkdir -p %{buildroot}/%{_datadir}/applications install -p -m 644 %{name}.desktop \ %{buildroot}/%{_datadir}/applications/%{name}.desktop @@ -41,6 +45,11 @@ install -p -m 644 %{name}-24x24.png \ %{buildroot}/%{_datadir}/icons/hicolor/24x24/apps/%{name}.png +%if 0%{?suse_version} +%suse_update_desktop_file clusterssh Terminals +%endif + + %post touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then