From 29bc73eefacbdfafeead42fe369d43c7d5b83d16 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Jun 28 2006 01:20:55 +0000 Subject: auto-import xwrits-2.22-3 on branch devel from xwrits-2.22-3.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..5d9ef89 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xwrits-2.22.tar.gz diff --git a/sources b/sources index e69de29..1625fd9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d49fbcc02dc09d1586281f3b294245da xwrits-2.22.tar.gz diff --git a/xwrits.desktop b/xwrits.desktop new file mode 100644 index 0000000..b0e3475 --- /dev/null +++ b/xwrits.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Xwrits +Comment=Wrist Break Reminder +Exec=xwrits +mouse +breakclock +Icon=xwrits.png +Terminal=false +Type=Application +Categories=Application;Utility; +Version=0.9.4 diff --git a/xwrits.png b/xwrits.png new file mode 100644 index 0000000..424800e Binary files /dev/null and b/xwrits.png differ diff --git a/xwrits.spec b/xwrits.spec new file mode 100644 index 0000000..ff80a36 --- /dev/null +++ b/xwrits.spec @@ -0,0 +1,80 @@ +Summary: Reminds you take wrist breaks + +Name: xwrits +Version: 2.22 +Release: 3%{?dist} +Source: http://www.lcdf.org/xwrits/xwrits-2.22.tar.gz +Source2: xwrits.png +Source3: xwrits.desktop + +URL: http://www.lcdf.org/xwrits/ + +Group: Applications/Productivity +License: GPL +BuildRequires: desktop-file-utils +BuildRequires: libXt-devel +BuildRequires: libXext-devel +BuildRequires: libXinerama-devel + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +Xwrits reminds you to take wrist breaks, which +should help you prevent or manage a repetitive +stress injury. It pops up an X window when you +should rest; you click on that window, then take a +break. + +Xwrits's graphics are brightly colored pictures of +a wrist and the attached hand. The wrist clenches +and stretches ``as if in pain'' when you should +rest, slumps relaxed during the break, and points +forward valiantly when the break is over. It is +trapped behind bars while the keyboard is locked. +Other gestures are included. + +Extensive command line options let you control how +often xwrits appears. It can escalate its behavior +over time -- by putting up more flashing windows +or actually locking you out of the keyboard, for +example -- which makes it harder to cheat. + +%prep +%setup -q + +%build +CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=${RPM_BUILD_ROOT}%{_prefix} --libdir=${RPM_BUILD_ROOT}%{_libdir} --mandir=${RPM_BUILD_ROOT}%{_mandir} +make %{?_smp_mflags} + +%install +rm -rf ${RPM_BUILD_ROOT} +make install +mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps +mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications +cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps +desktop-file-install --vendor fedora \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + --add-category X-Fedora \ + %{SOURCE3} + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root,-) +%doc NEWS README GESTURES TODO +%{_bindir}/xwrits +%{_mandir}/man1/* +%{_datadir}/pixmaps/xwrits.png +%{_datadir}/applications/fedora-xwrits.desktop + +%changelog +* Fri Jun 23 2006 Jeff Layton 2.22-3 +- spec changes per rpmlint and Kevin Fenzi's recommendations + +* Sun Jun 11 2006 Jeff Layton 2.22-2 +- bump release number + +* Sun May 28 2006 Jeff Layton 2.22-1 +- first packaging for Fedora Extras +