forked from rcaelers/workrave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkrave.spec.in
57 lines (50 loc) · 1.43 KB
/
workrave.spec.in
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: @VERSION@
Release: 1.dag.8.0
Summary: program that assists in the recovery and prevention of RSI.
Packager: Dag Wieers <[email protected]>
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 <[email protected]>
- Initial package.
* Wed Oct 30 2002 Rob Caelers <[email protected]>
- Added to CVS.