|
|
71a3ec0 |
Name: workrave
|
|
|
e5ebd4c |
Version: 1.8.4
|
|
|
120d9f1 |
Release: 2%{?dist}
|
|
|
71a3ec0 |
Summary: Program that assists in the recovery and prevention of RSI
|
|
|
71a3ec0 |
# Based on older packages by Dag Wieers <dag@wieers.com> and Steve Ratcliffe
|
|
|
71a3ec0 |
License: GPL
|
|
|
71a3ec0 |
Group: Applications/Productivity
|
|
|
71a3ec0 |
URL: http://workrave.sourceforge.net/
|
|
|
e5ebd4c |
# For some reason the upstream tarball contains the -2 added to the version.
|
|
|
e5ebd4c |
Source0: http://prdownloads.sourceforge.net/workrave/%{name}-%{version}-2.tar.gz
|
|
|
71a3ec0 |
Source1: workrave.desktop
|
|
|
a4be1b2 |
|
|
|
71a3ec0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
71a3ec0 |
BuildRequires: gettext
|
|
|
71a3ec0 |
BuildRequires: gnet2-devel
|
|
|
71a3ec0 |
BuildRequires: libgnomeuimm26-devel
|
|
|
71a3ec0 |
BuildRequires: gnome-panel-devel
|
|
|
71a3ec0 |
BuildRequires: desktop-file-utils
|
|
|
73e1b08 |
BuildRequires: libXmu-devel
|
|
|
73e1b08 |
BuildRequires: libXt-devel
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%description
|
|
|
71a3ec0 |
Workrave is a program that assists in the recovery and prevention of
|
|
|
71a3ec0 |
Repetitive Strain Injury (RSI). The program frequently alerts you to
|
|
|
71a3ec0 |
take micro-pauses, rest breaks and restricts you to your daily limit.
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%prep
|
|
|
e5ebd4c |
%setup -q -n %{name}-%{version}
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%build
|
|
|
71a3ec0 |
if [ ! -x configure ]; then
|
|
|
71a3ec0 |
### Needed for snapshot releases.
|
|
|
71a3ec0 |
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix} --localstatedir=%{_localstatedir} --sysconfdir=%{_sysconfdir}
|
|
|
71a3ec0 |
else
|
|
|
71a3ec0 |
%configure
|
|
|
71a3ec0 |
fi
|
|
|
71a3ec0 |
%{__make}
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%install
|
|
|
71a3ec0 |
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
71a3ec0 |
%makeinstall
|
|
|
71a3ec0 |
%find_lang %{name}
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
desktop-file-install --vendor fedora \
|
|
|
71a3ec0 |
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
71a3ec0 |
--add-category X-Fedora \
|
|
|
71a3ec0 |
%{SOURCE1}
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%clean
|
|
|
71a3ec0 |
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%files -f %{name}.lang
|
|
|
71a3ec0 |
%defattr(-,root,root)
|
|
|
71a3ec0 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
71a3ec0 |
%{_bindir}/*
|
|
|
71a3ec0 |
%{_datadir}/workrave/
|
|
|
71a3ec0 |
%{_datadir}/sounds/workrave
|
|
|
71a3ec0 |
%{_sysconfdir}/sound/events/workrave.soundlist
|
|
|
71a3ec0 |
%{_libdir}/bonobo/servers/Workrave-Applet.server
|
|
|
71a3ec0 |
%{_libdir}/bonobo/servers/Workrave-Control.server
|
|
|
71a3ec0 |
%{_libexecdir}/workrave-applet
|
|
|
71a3ec0 |
%{_datadir}/gnome-2.0/ui/GNOME_WorkraveApplet.xml
|
|
|
e5ebd4c |
%dir %{_datadir}/pixmaps/workrave
|
|
|
71a3ec0 |
%{_datadir}/pixmaps/workrave/workrave-icon-huge.png
|
|
|
71a3ec0 |
%{_datadir}/applications/fedora-workrave.desktop
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%changelog
|
|
|
e5ebd4c |
* Mon Mar 26 2007 Tomas Mraz <tmraz@redhat.com> - 1.8.4-2
|
|
|
e5ebd4c |
- new upstream version
|
|
|
e5ebd4c |
- add datadir/pixmaps/workrave to files (#233815)
|
|
|
e5ebd4c |
|
|
|
120d9f1 |
* Thu Sep 7 2006 Tomas Mraz <tmraz@redhat.com> - 1.8.3-2
|
|
|
120d9f1 |
- rebuilt for FC6
|
|
|
120d9f1 |
|
|
|
0830cf7 |
* Wed May 31 2006 Tomas Mraz <tmraz@redhat.com> - 1.8.3-1
|
|
|
0830cf7 |
- New upstream version
|
|
|
0830cf7 |
|
|
|
cdf8053 |
* Wed Feb 15 2006 Tomas Mraz <tmraz@redhat.com> - 1.8.2-2
|
|
|
cdf8053 |
- Rebuilt with updated gcc
|
|
|
cdf8053 |
|
|
|
c660b1a |
* Thu Feb 2 2006 Tomas Mraz <tmraz@redhat.com> - 1.8.2-1
|
|
|
c660b1a |
- Updated version, dropped obsolete patch
|
|
|
73e1b08 |
- Added missing buildrequires for modular X
|
|
|
a4be1b2 |
- Fixed compilation on gcc-4.1
|
|
|
c660b1a |
|
|
|
71a3ec0 |
* Sat Oct 22 2005 Tomas Mraz <tmraz@redhat.com> - 1.8.1-4
|
|
|
71a3ec0 |
- Added a desktop file
|
|
|
71a3ec0 |
- Added find_lang
|
|
|
71a3ec0 |
- Fixed wrong install extension for message translations
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
* Thu Oct 20 2005 Tomas Mraz <tmraz@redhat.com> - 1.8.1-3
|
|
|
71a3ec0 |
- Removed Prefix:, added BuildRequires gnome-panel-devel
|
|
|
71a3ec0 |
- Group: Applications/Productivity
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
* Thu Sep 22 2005 Tomas Mraz <tmraz@redhat.com> - 1.8.1-2
|
|
|
71a3ec0 |
- Initial package, reused spec from package by Steve Ratcliffe
|