summaryrefslogtreecommitdiff
path: root/drwright.spec
blob: 3ffb9d9dc3b123fec6849410d0ac6108b98b2967 (plain)
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
58
59
60
61
62
63
Summary:	A program that reminds you to take wrist breaks
Summary(pl):	Program przypominający, żeby dać odpocząć nadgarstkom
Name:		drwright
Version:	0.14.91
Release:	1
License:	GPL
Group:		Applications/System
Source0:	http://drwright.codefactory.se/download/%{name}-%{version}.tar.gz
Patch0:		%{name}-schemas.patch
URL:		http://drwright.codefactory.se/
BuildRequires:	GConf2-devel >= 1.2.0
BuildRequires:	Xft-devel
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	fontconfig
BuildRequires:	gtk+2-devel >= 2.0.4
BuildRequires:	libglade2-devel >= 2.0.0
BuildRequires:	pango-devel >= 1.0.99
Requires(post):	GConf2
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
DrWright is a program that forces you to take wrist breaks to rest
your hands.

%description -l pl
DrWright to program zmuszający do rozluźnienia nadgarstków, aby dać
odpocząć dłoniom.

%prep
%setup -q
%patch0 -p1

%build
%{__aclocal}
%{__automake}
%{__autoconf}
%configure \
	--disable-schemas-install

%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
%gconf_schema_install

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
%{_sysconfdir}/gconf/schemas/drwright.schemas
%{_datadir}/applications/*.desktop
%{_datadir}/drwright