|
|
29bc73e |
Summary: Reminds you take wrist breaks
|
|
|
29bc73e |
|
|
|
29bc73e |
Name: xwrits
|
|
|
56caab2 |
Version: 2.24
|
|
|
51bf70d |
Release: 5%{?dist}
|
|
|
56caab2 |
Source: http://www.lcdf.org/xwrits/xwrits-%{version}.tar.gz
|
|
|
29bc73e |
Source2: xwrits.png
|
|
|
29bc73e |
Source3: xwrits.desktop
|
|
|
29bc73e |
|
|
|
29bc73e |
URL: http://www.lcdf.org/xwrits/
|
|
|
29bc73e |
|
|
|
29bc73e |
Group: Applications/Productivity
|
|
|
0a1094f |
License: GPLv2
|
|
|
29bc73e |
BuildRequires: desktop-file-utils
|
|
|
29bc73e |
BuildRequires: libXt-devel
|
|
|
29bc73e |
BuildRequires: libXext-devel
|
|
|
29bc73e |
BuildRequires: libXinerama-devel
|
|
|
29bc73e |
|
|
|
29bc73e |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
29bc73e |
|
|
|
29bc73e |
%description
|
|
|
29bc73e |
Xwrits reminds you to take wrist breaks, which
|
|
|
29bc73e |
should help you prevent or manage a repetitive
|
|
|
29bc73e |
stress injury. It pops up an X window when you
|
|
|
29bc73e |
should rest; you click on that window, then take a
|
|
|
29bc73e |
break.
|
|
|
29bc73e |
|
|
|
29bc73e |
Xwrits's graphics are brightly colored pictures of
|
|
|
29bc73e |
a wrist and the attached hand. The wrist clenches
|
|
|
29bc73e |
and stretches ``as if in pain'' when you should
|
|
|
29bc73e |
rest, slumps relaxed during the break, and points
|
|
|
29bc73e |
forward valiantly when the break is over. It is
|
|
|
29bc73e |
trapped behind bars while the keyboard is locked.
|
|
|
29bc73e |
Other gestures are included.
|
|
|
29bc73e |
|
|
|
29bc73e |
Extensive command line options let you control how
|
|
|
29bc73e |
often xwrits appears. It can escalate its behavior
|
|
|
29bc73e |
over time -- by putting up more flashing windows
|
|
|
29bc73e |
or actually locking you out of the keyboard, for
|
|
|
29bc73e |
example -- which makes it harder to cheat.
|
|
|
29bc73e |
|
|
|
29bc73e |
%prep
|
|
|
29bc73e |
%setup -q
|
|
|
29bc73e |
|
|
|
29bc73e |
%build
|
|
|
29bc73e |
CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=${RPM_BUILD_ROOT}%{_prefix} --libdir=${RPM_BUILD_ROOT}%{_libdir} --mandir=${RPM_BUILD_ROOT}%{_mandir}
|
|
|
29bc73e |
make %{?_smp_mflags}
|
|
|
29bc73e |
|
|
|
29bc73e |
%install
|
|
|
29bc73e |
rm -rf ${RPM_BUILD_ROOT}
|
|
|
29bc73e |
make install
|
|
|
29bc73e |
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
|
|
|
29bc73e |
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
|
|
|
29bc73e |
cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
|
|
|
29bc73e |
desktop-file-install --vendor fedora \
|
|
|
29bc73e |
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
29bc73e |
--add-category X-Fedora \
|
|
|
29bc73e |
%{SOURCE3}
|
|
|
29bc73e |
|
|
|
29bc73e |
%clean
|
|
|
29bc73e |
rm -rf ${RPM_BUILD_ROOT}
|
|
|
29bc73e |
|
|
|
29bc73e |
%files
|
|
|
29bc73e |
%defattr(-,root,root,-)
|
|
|
29bc73e |
%doc NEWS README GESTURES TODO
|
|
|
29bc73e |
%{_bindir}/xwrits
|
|
|
29bc73e |
%{_mandir}/man1/*
|
|
|
29bc73e |
%{_datadir}/pixmaps/xwrits.png
|
|
|
29bc73e |
%{_datadir}/applications/fedora-xwrits.desktop
|
|
|
29bc73e |
|
|
|
29bc73e |
%changelog
|
|
|
51bf70d |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24-5
|
|
|
51bf70d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
51bf70d |
|
|
|
0a1094f |
* Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.24-4
|
|
|
0a1094f |
- Fix license tag.
|
|
|
0a1094f |
|
|
|
632d4da |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.24-3
|
|
|
632d4da |
- Autorebuild for GCC 4.3
|
|
|
632d4da |
|
|
|
dd4e0ca |
* Tue Sep 12 2006 Jeff Layton <jlayton@redhat.com> 2.24-2
|
|
|
dd4e0ca |
- rebuild for FC6
|
|
|
dd4e0ca |
|
|
|
56caab2 |
* Sun Jul 16 2006 Jeff Layton <jlayton@redhat.com> 2.24-1
|
|
|
56caab2 |
- new upstream rev
|
|
|
56caab2 |
|
|
|
c27793c |
* Thu Jun 29 2006 Jeff Layton <jlayton@redhat.com> 2.23-1
|
|
|
c27793c |
- new upstream rev
|
|
|
e1c8d8b |
- fix problems with mwm_hints data sizes on x86_64 [BZ 197168]
|
|
|
c27793c |
|
|
|
29bc73e |
* Fri Jun 23 2006 Jeff Layton <jlayton@redhat.com> 2.22-3
|
|
|
29bc73e |
- spec changes per rpmlint and Kevin Fenzi's recommendations
|
|
|
29bc73e |
|
|
|
29bc73e |
* Sun Jun 11 2006 Jeff Layton <jlayton@redhat.com> 2.22-2
|
|
|
29bc73e |
- bump release number
|
|
|
29bc73e |
|
|
|
29bc73e |
* Sun May 28 2006 Jeff Layton <jlayton@redhat.com> 2.22-1
|
|
|
29bc73e |
- first packaging for Fedora Extras
|
|
|
29bc73e |
|