]>
Commit | Line | Data |
---|---|---|
8d289648 ER |
1 | Summary: Console Fucker |
2 | Name: cf | |
3 | Version: 0.7.2 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Applications/System | |
7 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
8 | Source0: http://glen.alkohol.ee/cf/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 503093d7c2b31c8b70aede7bdf1e8afd | |
10 | URL: http://glen.alkohol.ee/cf/ | |
8d289648 ER |
11 | BuildRequires: ncurses-devel |
12 | ||
13 | %description | |
14 | Console Fucker program allows you 'attach' linux console remotely. | |
15 | ||
16 | %clean | |
17 | rm -rf $RPM_BUILD_ROOT | |
18 | ||
19 | %prep | |
20 | %setup -q | |
21 | ||
22 | %build | |
23 | %{__make} | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | install -d $RPM_BUILD_ROOT/%{_bindir} $RPM_BUILD_ROOT/%{_sbindir} | |
28 | ||
29 | install cf $RPM_BUILD_ROOT/%{_sbindir} | |
30 | ln -s ../sbin/cf $RPM_BUILD_ROOT/%{_bindir}/cdump | |
31 | ||
32 | %files | |
33 | %defattr(644,root,root,755) | |
34 | %attr(755,root,root) %{_sbindir}/cf | |
35 | %attr(755,root,root) %{_bindir}/cdump |