%define desktopvendor fedora Name: rsibreak Version: 0.8.0 Release: 4%{?dist} Summary: A small utility which bothers you at certain intervals Group: Amusements/Graphics License: GPLv2+ URL: http://www.rsibreak.org Source0: http://www.rsibreak.org/images/e/e0/Rsibreak-0.8.0.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kdelibs3-devel libXScrnSaver-devel desktop-file-utils gettext %description RSIBreak is a small utility which bothers you at certain intervals. The interval and duration of two different timers can be configured. You can use the breaks to stretch out or do the dishes. The aim of this utility is to let you know when it is time to have a break from your computer. This can help people to prevent Repetive Strain Injury. %prep %setup -q %build %configure --disable-rpath make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} /usr/bin/desktop-file-install --vendor="" \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications/kde \ --add-category=X-Fedora \ %{buildroot}%{_datadir}/applications/kde/rsibreak.desktop %post touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %postun touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS TODO %{_bindir}/rsibreak %{_datadir}/applications/kde/rsibreak.desktop %{_datadir}/apps/rsibreak %{_datadir}/autostart/rsibreak.desktop %{_datadir}/icons/hicolor/128x128/apps/rsibreak.png %{_datadir}/icons/hicolor/16x16/apps/rsibreak.png %{_datadir}/icons/hicolor/22x22/apps/rsibreak.png %{_datadir}/icons/hicolor/32x32/apps/rsibreak.png %{_docdir}/HTML/*/rsibreak %changelog * Tue Feb 19 2008 Fedora Release Engineering - 0.8.0-4 - Autorebuild for GCC 4.3 * Sat Dec 01 2007 Roland Wolters - 0.8.0-3 - changed build require from kdelibs-devel to kdelibs3-devel - removed qt-devel dependency, kdelibs3-devel dep should be enough * Thu Aug 16 2007 Roland Wolters - 0.8.0-2 - licence tag corrected * Fri Oct 13 2006 Roland Wolters 0.8.0-1 - update to version 0.8 * Tue Jun 20 2006 Roland Wolters 0.7.1-3 - mass rebuild of devel branch * Tue Jun 20 2006 Roland Wolters 0.7.1-1 - update to version 0.7.1 - e-mail-address of packager corrected * Tue Apr 10 2006 Roland Wolters 0.6.0-1 - initial build