]>
Commit | Line | Data |
---|---|---|
1 | Summary: A program that reminds you to take wrist breaks | |
2 | Summary(pl.UTF-8): Program przypominający, żeby dać odpocząć nadgarstkom | |
3 | Name: drwright | |
4 | Version: 0.18 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/System | |
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/drwright/0.18/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 5056d36520b0a506e5bf3211f08315b8 | |
10 | Patch0: %{name}-locale-names.patch | |
11 | URL: http://www.imendio.com/projects/drwright/ | |
12 | BuildRequires: GConf2-devel >= 1.2.0 | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: dbus-glib-devel >= 0.22 | |
16 | BuildRequires: fontconfig-devel | |
17 | BuildRequires: gtk+2-devel >= 2:2.2.0 | |
18 | BuildRequires: intltool >= 0.29 | |
19 | BuildRequires: libglade2-devel >= 2.0.0 | |
20 | BuildRequires: libgnomeui-devel >= 2.0.0 | |
21 | BuildRequires: pango-devel >= 1:1.2.0 | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: xft-devel | |
24 | Requires(post): GConf2 | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | DrWright is a program that forces you to take wrist breaks to rest | |
29 | your hands. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | DrWright to program zmuszający do rozluźnienia nadgarstków, aby dać | |
33 | odpocząć dłoniom. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | %patch0 -p1 | |
38 | ||
39 | mv po/{no,nb}.po | |
40 | ||
41 | %build | |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__automake} | |
45 | %configure \ | |
46 | --disable-schemas-install | |
47 | ||
48 | %{__make} \ | |
49 | CFLAGS="%{rpmcflags} -fno-strict-aliasing" | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT \ | |
56 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
57 | ||
58 | %find_lang %{name} | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %gconf_schema_install | |
65 | ||
66 | %files -f %{name}.lang | |
67 | %defattr(644,root,root,755) | |
68 | %doc AUTHORS ChangeLog NEWS README | |
69 | %attr(755,root,root) %{_bindir}/* | |
70 | %{_sysconfdir}/gconf/schemas/drwright.schemas | |
71 | %{_desktopdir}/*.desktop | |
72 | %{_datadir}/drwright |