]> git.pld-linux.org Git - packages/drwright.git/blob - drwright.spec
- use _desktopdir macro, other minor changes where needed
[packages/drwright.git] / drwright.spec
1 Summary:        A program that reminds you to take wrist breaks
2 Summary(pl):    Program przypominaj±cy, ¿eby daæ odpocz±æ nadgarstkom
3 Name:           drwright
4 Version:        0.17
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.17/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e23acadea9bfede4b22611b058b80648
10 Patch0:         %{name}-schemas.patch
11 URL:            http://www.imendio.com/projects/drwright/
12 BuildRequires:  GConf2-devel >= 1.2.0
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  fontconfig
16 BuildRequires:  gtk+2-devel >= 2.0.4
17 BuildRequires:  libglade2-devel >= 2.0.0
18 BuildRequires:  pango-devel >= 1.0.99
19 BuildRequires:  xft-devel
20 Requires(post): GConf2
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 DrWright is a program that forces you to take wrist breaks to rest
25 your hands.
26
27 %description -l pl
28 DrWright to program zmuszaj±cy do rozlu¼nienia nadgarstków, aby daæ
29 odpocz±æ d³oniom.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__aclocal}
37 %{__automake}
38 %{__autoconf}
39 %configure \
40         --disable-schemas-install
41
42 %{__make} CFLAGS="%{rpmcflags} -fno-strict-aliasing"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %find_lang %{name}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 %gconf_schema_install
57
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog NEWS README
61 %attr(755,root,root) %{_bindir}/*
62 %{_sysconfdir}/gconf/schemas/drwright.schemas
63 %{_desktopdir}/*.desktop
64 %{_datadir}/drwright
This page took 0.172597 seconds and 3 git commands to generate.