File tcpscript.spec of Package tcpscript
# norootforbuild
%define _prefix /usr
Name: tcpscript
Version: 0.2
Release: 1.guru.suse%(echo "%{suse_version}" | %__sed -e 's/.$//')
Summary: Tool that easily allows other People to see your Terminal Session Screen
Source: http://vicerveza.homeunix.net/~viric/soft/tcpscript/tcpscript-%{version}.tar.gz
Patch0: fix-gcc-warnings.patch
Group: Productivity/Networking/Other
License: BSD License (revised)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: gcc make glibc-devel
%description
tcpscript is a tool that easily allows other people to see your
terminal session screen in a way similar to the classic Unix command,
"script".
It opens a TCP port that allows anyone to connect to it using telnet and see
in real time what you see on the terminal. For example, you can use "vim" in
it as a blackboard or as a chat system.
%prep
%setup -q
%patch0 -p1
%build
%__make %{?jobs:-j%{jobs}} CC="%__cc" CFLAGS="%{optflags} -g"
%install
%__install -D -m0755 tcpscript "%{buildroot}%{_bindir}/tcpscript"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/tcpscript
%changelog
* Sun Feb 15 2009 Petr Uzel <petr.uzel@suse.cz> 0.2-1
- build with -g
- fix-gcc-warnings.patch (fix build)
* Thu Aug 9 2007 Pascal Bleser <guru@unixtech.be> 0.2-1
- new package
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: