]>
Commit | Line | Data |
---|---|---|
a447d78d MWP |
1 | # |
2 | # TODO: R,BR,/etc file | |
3 | # | |
4 | Summary: Cluster SSH - Cluster Admin Via SSH | |
5 | Name: clusterssh | |
b14eb6d3 | 6 | Version: 3.28 |
ce33919f | 7 | Release: 2 |
a447d78d MWP |
8 | License: GPL |
9 | Group: Applications/Networking | |
10 | Source0: http://dl.sourceforge.net/clusterssh/%{name}-%{version}.tar.gz | |
b14eb6d3 | 11 | # Source0-md5: 11e012329d2c62e1f7b17f3ac517769a |
a447d78d MWP |
12 | URL: http://sourceforge.net/projects/clusterssh |
13 | BuildRequires: rpm-perlprov >= 4.1-13 | |
706254a8 | 14 | Requires: perl-Tk |
a447d78d | 15 | Requires: perl-X11-Protocol |
b14eb6d3 | 16 | Requires: xterm |
ce33919f | 17 | Suggests: perl-XML-Simple |
a447d78d MWP |
18 | BuildArch: noarch |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | ClusterSSH controls a number of xterm windows via a single graphical | |
23 | console window to allow commands to be interactively run on multiple | |
24 | servers over an ssh connection. | |
25 | ||
26 | %prep | |
27 | %setup -q | |
28 | ||
29 | %build | |
30 | %configure | |
31 | ||
32 | %{__make} \ | |
33 | CFLAGS="%{rpmcflags}" \ | |
34 | LDFLAGS="%{rpmldflags}" | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | install -d $RPM_BUILD_ROOT{%{_iconsdir}/hicolor/{48x48,32x32,24x24},%{_desktopdir}} | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | install clusterssh-32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32 | |
45 | install clusterssh-48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48 | |
46 | install clusterssh-24x24.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24 | |
47 | install clusterssh.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS ChangeLog NEWS README THANKS | |
a447d78d MWP |
55 | %attr(755,root,root) %{_bindir}/cssh |
56 | %{_mandir}/man1/cssh.* | |
57 | %{_desktopdir}/clusterssh.desktop | |
58 | %{_iconsdir}/hicolor/*/clusterssh-*.png |