rpms/xwrits/devel xwrits.desktop, NONE, 1.1 xwrits.png, NONE, 1.1 xwrits.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jeff Layton (jlayton) fedora-extras-commits at redhat.com
Wed Jun 28 01:20:55 UTC 2006


Author: jlayton

Update of /cvs/extras/rpms/xwrits/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20035/devel

Modified Files:
	.cvsignore sources 
Added Files:
	xwrits.desktop xwrits.png xwrits.spec 
Log Message:
auto-import xwrits-2.22-3 on branch devel from xwrits-2.22-3.src.rpm


--- NEW FILE xwrits.desktop ---
[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


--- NEW FILE xwrits.spec ---
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 <jlayton at redhat.com> 2.22-3
- spec changes per rpmlint and Kevin Fenzi's recommendations

* Sun Jun 11 2006 Jeff Layton <jlayton at redhat.com> 2.22-2
- bump release number

* Sun May 28 2006 Jeff Layton <jlayton at redhat.com> 2.22-1
- first packaging for Fedora Extras



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xwrits/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Jun 2006 01:20:39 -0000	1.1
+++ .cvsignore	28 Jun 2006 01:20:55 -0000	1.2
@@ -0,0 +1 @@
+xwrits-2.22.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xwrits/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Jun 2006 01:20:39 -0000	1.1
+++ sources	28 Jun 2006 01:20:55 -0000	1.2
@@ -0,0 +1 @@
+d49fbcc02dc09d1586281f3b294245da  xwrits-2.22.tar.gz




More information about the fedora-extras-commits mailing list