|
|
71a3ec0 |
Name: workrave
|
|
|
c70222b |
Version: 1.10
|
|
|
ef5767f |
Release: 4%{?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
|
|
|
c70222b |
License: GPLv3+
|
|
|
71a3ec0 |
Group: Applications/Productivity
|
|
|
618d20d |
URL: http://www.workrave.org/
|
|
|
bc85e93 |
# Using github checkout:
|
|
|
bc85e93 |
# https://github.com/rcaelers/workrave
|
|
|
bc85e93 |
# Source0: http://downloads.sourceforge.net/workrave/%{name}-%{version}.tar.gz
|
|
|
c70222b |
Source0: https://github.com/rcaelers/workrave/archive/%{commit}/%{name}-%{version}.tar.gz
|
|
|
bc85e93 |
Patch1: workrave-6f9bc5d-fix-desktop-translation.patch
|
|
|
bc85e93 |
|
|
|
c70222b |
BuildRequires: glib2-devel >= 2.28.0
|
|
|
c70222b |
BuildRequires: gtk3-devel >= 3.0.0
|
|
|
c70222b |
BuildRequires: libsigc++20-devel >= 2.2.4.2
|
|
|
c70222b |
BuildRequires: glibmm24-devel >= 2.28.0
|
|
|
c70222b |
BuildRequires: gtkmm30-devel >= 3.0.0
|
|
|
c70222b |
BuildRequires: gobject-introspection-devel
|
|
|
c70222b |
BuildRequires: gettext
|
|
|
c70222b |
BuildRequires: desktop-file-utils
|
|
|
c70222b |
BuildRequires: libXmu-devel
|
|
|
c70222b |
BuildRequires: libXt-devel
|
|
|
c70222b |
BuildRequires: libXtst-devel
|
|
|
c70222b |
BuildRequires: libXScrnSaver-devel
|
|
|
2ac60ea |
# Temporarily disabled because not usable without panel
|
|
|
2ac60ea |
#BuildRequires: dbus-devel
|
|
|
c70222b |
BuildRequires: gstreamer-devel
|
|
|
c70222b |
BuildRequires: intltool
|
|
|
c70222b |
BuildRequires: python-cheetah
|
|
|
c70222b |
BuildRequires: pulseaudio-libs-devel
|
|
|
c70222b |
BuildRequires: autoconf, automake, libtool
|
|
|
55c4741 |
|
|
|
55c4741 |
Requires: dbus
|
|
|
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 |
|
|
|
bc85e93 |
%package devel
|
|
|
c70222b |
Requires: %{name} = %{version}-%{release}
|
|
|
c70222b |
Summary: Development files for workrave
|
|
|
bc85e93 |
|
|
|
bc85e93 |
%description devel
|
|
|
bc85e93 |
Development files for workrave.
|
|
|
bc85e93 |
|
|
|
71a3ec0 |
%prep
|
|
|
c70222b |
%setup -q
|
|
|
bc85e93 |
%patch1 -p1 -b .fixpl
|
|
|
bc85e93 |
touch ChangeLog
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%build
|
|
|
71a3ec0 |
if [ ! -x configure ]; then
|
|
|
71a3ec0 |
### Needed for snapshot releases.
|
|
|
ff7a4a3 |
NOCONFIGURE=1 ./autogen.sh
|
|
|
71a3ec0 |
fi
|
|
|
ff7a4a3 |
|
|
|
2ac60ea |
%configure --disable-dbus --disable-xml --enable-gnome3 --disable-static
|
|
|
ff7a4a3 |
|
|
|
829b6d0 |
make V=1
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%install
|
|
|
bc85e93 |
make install DESTDIR=%{buildroot}
|
|
|
55c4741 |
|
|
|
bc85e93 |
rm -rf %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/*.a
|
|
|
55c4741 |
|
|
|
71a3ec0 |
%find_lang %{name}
|
|
|
71a3ec0 |
|
|
|
f7adac2 |
desktop-file-install \
|
|
|
f7adac2 |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
f7adac2 |
--delete-original \
|
|
|
bc85e93 |
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%files -f %{name}.lang
|
|
|
4be1345 |
%doc AUTHORS COPYING NEWS README
|
|
|
71a3ec0 |
%{_bindir}/*
|
|
|
71a3ec0 |
%{_datadir}/workrave/
|
|
|
13b53c1 |
%{_datadir}/sounds/workrave/
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/16x16/apps/workrave.png
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/24x24/apps/workrave.png
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/32x32/apps/workrave.png
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/48x48/apps/workrave.png
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/64x64/apps/workrave.png
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/96x96/apps/workrave.png
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/128x128/apps/workrave.png
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/scalable/workrave-sheep.svg
|
|
|
bc85e93 |
%{_datadir}/icons/hicolor/scalable/apps/workrave.svg
|
|
|
66f62dd |
%{_datadir}/applications/workrave.desktop
|
|
|
2ac60ea |
#%{_datadir}/dbus-1/services/org.workrave.Workrave.service
|
|
|
2ac60ea |
#%{_datadir}/dbus-1/services/org.gnome.panel.applet.WorkraveAppletFactory.service
|
|
|
2ac60ea |
#%{_datadir}/glib-2.0/schemas/org.workrave.*.xml
|
|
|
2ac60ea |
#%{_datadir}/gnome-panel/4.0/applets/org.workrave.WorkraveApplet.panel-applet
|
|
|
2ac60ea |
#%{_datadir}/gnome-panel/ui/workrave-gnome-applet-menu.xml
|
|
|
bc85e93 |
%{_datadir}/gnome-shell/extensions/workrave@workrave.org/
|
|
|
bc85e93 |
%{_libdir}/girepository-1.0/Workrave-1.0.typelib
|
|
|
2ac60ea |
#%{_libexecdir}/workrave-applet
|
|
|
bc85e93 |
%{_libdir}/libworkrave-private-1.0.so.*
|
|
|
bc85e93 |
|
|
|
bc85e93 |
%files devel
|
|
|
bc85e93 |
%{_datadir}/gir-1.0/Workrave-1.0.gir
|
|
|
bc85e93 |
%{_libdir}/libworkrave-private-1.0.so
|
|
|
71a3ec0 |
|
|
|
71a3ec0 |
%changelog
|
|
|
ef5767f |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4
|
|
|
ef5767f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
ef5767f |
|
|
|
2ac60ea |
* Fri May 3 2013 Tomáš Mráz <tmraz@redhat.com> - 1.10-3
|
|
|
2ac60ea |
- do not build the panel applet
|
|
|
2ac60ea |
|
|
|
829b6d0 |
* Mon Mar 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.10-2
|
|
|
829b6d0 |
- Add missing distag
|
|
|
829b6d0 |
|
|
|
c70222b |
* Tue Feb 19 2013 Tomáš Mráz <tmraz@redhat.com> - 1.10-1
|
|
|
c70222b |
- new upstream release
|
|
|
c70222b |
|
|
|
f7adac2 |
* Fri Feb 8 2013 Tomáš Mráz <tmraz@redhat.com> - 1.9.911-0.2.20130107git6f9bc5d
|
|
|
f7adac2 |
- drop --vendor from desktop-file-install call
|
|
|
f7adac2 |
|
|
|
bc85e93 |
* Tue Jan 8 2013 Tom Callaway <spot@fedoraproject.org> - 1.9.911-0.1.20130107git6f9bc5d
|
|
|
bc85e93 |
- update to 1.9.911 checkout from github
|
|
|
bc85e93 |
- build for gnome3
|
|
|
bc85e93 |
|
|
|
c7da395 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.4-6
|
|
|
c7da395 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c7da395 |
|
|
|
c3c0163 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.4-5
|
|
|
c3c0163 |
- Rebuilt for c++ ABI breakage
|
|
|
c3c0163 |
|
|
|
d116790 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.4-4
|
|
|
d116790 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d116790 |
|
|
|
072eced |
* Mon Nov 7 2011 Tomas Mraz <tmraz@redhat.com> - 1.9.4-3
|
|
|
072eced |
- rebuilt with new libpng
|
|
|
072eced |
|
|
|
79c4c88 |
* Tue Jun 28 2011 Tomas Mraz <tmraz@redhat.com> - 1.9.4-2
|
|
|
79c4c88 |
- no longer needs gnet2
|
|
|
79c4c88 |
|
|
|
13b53c1 |
* Wed Apr 06 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.9.4-1
|
|
|
13b53c1 |
- New upstream bug fix release. Closes rhbz#693958
|
|
|
13b53c1 |
- https://github.com/rcaelers/workrave/blob/b491d9b5054b5571d5b4ff0f6c9137133735129d/NEWS
|
|
|
13b53c1 |
- Drop buildroot definition and clean section
|
|
|
13b53c1 |
|
|
|
725caeb |
* Thu Feb 10 2011 Tomas Mraz <tmraz@redhat.com> - 1.9.3-4
|
|
|
725caeb |
- due to changes in gnome applet API we have to build without
|
|
|
725caeb |
gnome support
|
|
|
725caeb |
|
|
|
3e1bc26 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.3-3
|
|
|
3e1bc26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
3e1bc26 |
|
|
|
cd59fa8 |
* Thu Feb 3 2011 Tomas Mraz <tmraz@redhat.com> - 1.9.3-2
|
|
|
cd59fa8 |
- rebuilt with new gnome-panel
|
|
|
cd59fa8 |
|
|
|
441d93d |
* Fri Dec 17 2010 Tomas Mraz <tmraz@redhat.com> - 1.9.3-1
|
|
|
441d93d |
- new upstream release with bug fixes and usability improvements
|
|
|
441d93d |
|
|
|
618d20d |
* Wed Nov 3 2010 Tomas Mraz <tmraz@redhat.com> - 1.9.2-1
|
|
|
618d20d |
- new upstream release hopefully fixing at least some of the aborts
|
|
|
618d20d |
|
|
|
288e55b |
* Mon Apr 26 2010 Tomas Mraz <tmraz@redhat.com> - 1.9.1-4
|
|
|
288e55b |
- better guard for BadWindow errors in input monitor (#566156)
|
|
|
288e55b |
|
|
|
cb29b6a |
* Wed Mar 17 2010 Tomas Mraz <tmraz@redhat.com> - 1.9.1-3
|
|
|
cb29b6a |
- fix FTBFS (#564917)
|
|
|
cb29b6a |
|
|
|
ff7a4a3 |
* Thu Jan 28 2010 Tomas Mraz <tmraz@redhat.com> - 1.9.1-2
|
|
|
ff7a4a3 |
- do not build against gdome2 - not too useful optional feature
|
|
|
ff7a4a3 |
|
|
|
aa6f9ff |
* Tue Dec 8 2009 Tomas Mraz <tmraz@redhat.com> - 1.9.1-1
|
|
|
059365e |
- new upstream version
|
|
|
059365e |
|
|
|
4170cb1 |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-4
|
|
|
4170cb1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4170cb1 |
|
|
|
668577b |
* Fri Feb 27 2009 Tomas Mraz <tmraz@redhat.com> - 1.9.0-3
|
|
|
668577b |
- fix build with new gcc 4.4 and glibc
|
|
|
10937f3 |
|
|
|
55c4741 |
* Fri Sep 26 2008 Tomas Mraz <tmraz@redhat.com> - 1.9.0-1
|
|
|
55c4741 |
- new upstream version
|
|
|
55c4741 |
|
|
|
50497dc |
* Fri Apr 4 2008 Tomas Mraz <tmraz@redhat.com> - 1.8.5-4
|
|
|
50497dc |
- fix locking/unlocking with gnome-screensaver (#207058)
|
|
|
9f65a04 |
- make it build with current libsigc++
|
|
|
50497dc |
|
|
|
81b5080 |
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.8.5-3
|
|
|
81b5080 |
- Autorebuild for GCC 4.3
|
|
|
81b5080 |
|
|
|
c4444a9 |
* Tue Feb 19 2008 Tomas Mraz <tmraz@redhat.com> - 1.8.5-2
|
|
|
c4444a9 |
- make it build on gcc-4.3
|
|
|
c4444a9 |
|
|
|
4be1345 |
* Mon Jan 7 2008 Tomas Mraz <tmraz@redhat.com> - 1.8.5-1
|
|
|
4be1345 |
- upgrade to latest upstream version
|
|
|
4be1345 |
|
|
|
61f442c |
* Wed Aug 22 2007 Tomas Mraz <tmraz@redhat.com> - 1.8.4-4
|
|
|
61f442c |
- applet counters don't start properly
|
|
|
61f442c |
- license tag fix
|
|
|
61f442c |
|
|
|
9e3bf6a |
* Wed Apr 18 2007 Tomas Mraz <tmraz@redhat.com> - 1.8.4-3
|
|
|
9e3bf6a |
- fixed applet crash (#236543)
|
|
|
9e3bf6a |
|
|
|
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
|