File: workrave.spec

package info (click to toggle)
workrave 1.8.3-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,092 kB
  • ctags: 4,359
  • sloc: cpp: 28,534; sh: 10,636; ansic: 10,462; makefile: 975; yacc: 316; perl: 104; xml: 2
file content (57 lines) | stat: -rw-r--r-- 1,464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Name: workrave
Version: 1.8.3
Release: 1.dag.8.0
Summary: program that assists in the recovery and prevention of RSI.
Packager: Dag Wieers <dag@wieers.com>
Vendor: %{packager}
Distribution: Red Hat Linux
Copyright: GPL
Group: Applications/Health
URL: http://workrave.sourceforge.net/
Source: http://prdownloads.sourceforge.net/workrave/%{name}-%{version}.tar.gz
Patch0: workrave-gui.patch
Patch1: workrave-cout.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
Buildrequires: libsigc++-devel >= 1.1 gnet >= 1.1.4
Prefix: %{_prefix}

%description
Workrave is a program that assists in the recovery and prevention of
Repetitive Strain Injury (RSI). The program frequently alerts you to
take micro-pauses, rest breaks and restricts you to your daily limit.

%prep
%setup
#%patch0
#%patch1

%build
if [ ! -x configure ]; then
  ### Needed for snapshot releases.
  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix} --localstatedir=%{_localstatedir} --sysconfdir=%{_sysconfdir}
else
  %configure
fi
%{__make}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/*
%{_datadir}/locale/*/LC_MESSAGES/workrave.mo
%{_datadir}/workrave/
%{_datadir}/sounds/workrave
%{_sysconfdir}/sound/events/workrave.soundlist

%changelog
* Wed Oct 30 2002 Dag Wieers <dag@wieers.com>
- Initial package.
* Wed Oct 30 2002 Rob Caelers <robc@krandor.org>
- Added to CVS.