From 7d25278f68d56a689f32737ff1f0778785b30112 Mon Sep 17 00:00:00 2001 From: Roland Wolters Date: Jun 20 2006 16:56:16 +0000 Subject: auto-import rsibreak-0.7.1-1 on branch devel from rsibreak-0.7.1-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..c74972e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Rsibreak-0.7.1.tar.bz2 diff --git a/rsibreak.spec b/rsibreak.spec new file mode 100644 index 0000000..105f0ed --- /dev/null +++ b/rsibreak.spec @@ -0,0 +1,86 @@ +%define desktopvendor fedora + +Name: rsibreak +Version: 0.7.1 +Release: 1%{?dist} +Summary: A small utility which bothers you at certain intervals +Group: Amusements/Graphics +License: GPL +URL: http://www.rsibreak.org +Source0: http://www.rsibreak.org/images/e/e2/Rsibreak-0.7.1.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: qt-devel kdelibs-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 +#it does not work with the usual %{?_smp_mflags} on my machine! +make + +%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}/autostart/rsibreak.desktop +%{_datadir}/icons/hicolor/16x16/apps/rsibreak.png +%{_datadir}/icons/hicolor/32x32/apps/rsibreak.png +%{_datadir}/icons/hicolor/128x128/apps/rsibreak.png +%{_datadir}/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak0.png +%{_datadir}/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak1.png +%{_datadir}/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak2.png +%{_datadir}/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak3.png +%{_datadir}/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak4.png +%{_datadir}/apps/rsibreak/icons/hicolor/16x16/actions/rsibreakx.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/dcop.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/duringbreaks.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak0.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak1.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak2.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak3.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak4.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/rsibreakx.png +%{_datadir}/apps/rsibreak/icons/hicolor/32x32/actions/timings.png + +%changelog +* 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 diff --git a/sources b/sources index e69de29..a05d105 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7846a2122805b6da3cc050d4664a52df Rsibreak-0.7.1.tar.bz2