diff --git a/README.md b/README.md index f95d06d..ff4ec8f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # xrefresh +Xrefresh is a simple X program that causes all or part of your screen to be repainted. +This is useful when system messages have messed up your screen. + +Xrefresh maps a window on top of the desired area of the screen and then immediately unmaps it, causing refresh events to be sent to all applications. +By default, a window with no background is used, causing all applications to repaint ``smoothly.'' +However, the various options can be used to indicate that a solid background (of any color) or the root window background should be used instead. + diff --git a/xrefresh.spec b/xrefresh.spec new file mode 100644 index 0000000..323f05c --- /dev/null +++ b/xrefresh.spec @@ -0,0 +1,51 @@ +Name: xrefresh +Version: 1.0.5 +Release: 1mamba +Summary: xrefresh - refresh all or part of an X screen +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://xorg.freedesktop.org/ +Source: http://xorg.freedesktop.org/releases/individual/app/xrefresh-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Xrefresh is a simple X program that causes all or part of your screen to be repainted. +This is useful when system messages have messed up your screen. + +Xrefresh maps a window on top of the desired area of the screen and then immediately unmaps it, causing refresh events to be sent to all applications. +By default, a window with no background is used, causing all applications to repaint ``smoothly.'' +However, the various options can be used to indicate that a solid background (of any color) or the root window background should be used instead. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Tue May 21 2013 Automatic Build System 1.0.5-1mamba +- automatic version update by autodist + +* Tue Mar 01 2011 Tiziana Ferro 1.0.4-1mamba +- package created by autospec