%define name x2vnc %define version 1.7.2 %define release %mkrel 1 Summary: Allows a mouse and a keyboard to control two displays Name: %{name} Version: %{version} Release: %{release} URL: http://fredrik.hubbe.net/x2vnc.html Source0: http://fredrik.hubbe.net/x2vnc/%{name}-%{version}.tar.bz2 Group: System/X11 License: BSD BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: X11-devel %description x2vnc allows the keyboard and mouse on one ("from") X display to control another ("to") VNC display. %prep %setup -q %build %configure %make %install rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}/%{_mandir} %makeinstall_std #%{__install} -m755 %{name} -D $RPM_BUILD_ROOT%{_bindir}/%{name} #%{__install} -m644 %{name}.man -D $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Wed Sep 06 2006 Buchan Milne <bgmilne@mandriva.org> 1.7.2-1mdv2007.0 - New release 1.7.2 * Tue May 23 2006 Lenny Cartier <lenny@mandriva.com> 1.7.1-1mdk - 1.7.1 * Tue Sep 06 2005 Buchan Milne <bgmilne@linux-mandrake.com> 1.6.1-2mdk - annual rebuild - fix group/buildrequires, url, source url * Wed Sep 02 2004 Buchan Milne <bgmilne@linux-mandrake.com> 1.6.1-1mdk - 1.6.1 * Mon Jun 07 2004 Buchan Milne <bgmilne@linux-mandrake.com> 1.6-1mdk - First Mandrake package