]>
Commit | Line | Data |
---|---|---|
0a4dc633 | 1 | Summary: A program that reminds you to take wrist breaks |
0c40d8f6 | 2 | Summary(pl.UTF-8): Program przypominający, żeby dać odpocząć nadgarstkom |
0a4dc633 | 3 | Name: drwright |
c63c379f | 4 | Version: 0.18 |
5 | Release: 1 | |
0a4dc633 | 6 | License: GPL |
7 | Group: Applications/System | |
bec94b68 | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/drwright/0.18/%{name}-%{version}.tar.bz2 |
c63c379f | 9 | # Source0-md5: 5056d36520b0a506e5bf3211f08315b8 |
10 | Patch0: %{name}-locale-names.patch | |
31622633 | 11 | URL: http://www.imendio.com/projects/drwright/ |
0a4dc633 | 12 | BuildRequires: GConf2-devel >= 1.2.0 |
9e25ae0a JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
c63c379f | 15 | BuildRequires: dbus-glib-devel >= 0.22 |
bec94b68 | 16 | BuildRequires: fontconfig-devel |
60977835 | 17 | BuildRequires: gtk+2-devel >= 2:2.2.0 |
953bb094 | 18 | BuildRequires: intltool >= 0.29 |
d6fa54c2 | 19 | BuildRequires: libglade2-devel >= 2.0.0 |
c63c379f | 20 | BuildRequires: libgnomeui-devel >= 2.0.0 |
21 | BuildRequires: pango-devel >= 1:1.2.0 | |
22 | BuildRequires: pkgconfig | |
f0dbb2bc | 23 | BuildRequires: xft-devel |
d6fa54c2 | 24 | Requires(post): GConf2 |
0a4dc633 | 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 | ||
125f5056 JR |
31 | %description -l pl.UTF-8 |
32 | DrWright to program zmuszający do rozluźnienia nadgarstków, aby dać | |
33 | odpocząć dłoniom. | |
d6fa54c2 | 34 | |
0a4dc633 | 35 | %prep |
36 | %setup -q | |
cadc81d5 | 37 | %patch0 -p1 |
c63c379f | 38 | |
39 | mv po/{no,nb}.po | |
0a4dc633 | 40 | |
41 | %build | |
cadc81d5 | 42 | %{__aclocal} |
cadc81d5 | 43 | %{__autoconf} |
2c2f58e8 | 44 | %{__automake} |
0a4dc633 | 45 | %configure \ |
9e25ae0a | 46 | --disable-schemas-install |
0a4dc633 | 47 | |
dc04bcfa | 48 | %{__make} \ |
49 | CFLAGS="%{rpmcflags} -fno-strict-aliasing" | |
0a4dc633 | 50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
c63c379f | 55 | DESTDIR=$RPM_BUILD_ROOT \ |
56 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
0a4dc633 | 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) | |
fd8cd533 | 68 | %doc AUTHORS ChangeLog NEWS README |
0a4dc633 | 69 | %attr(755,root,root) %{_bindir}/* |
70 | %{_sysconfdir}/gconf/schemas/drwright.schemas | |
f0dbb2bc | 71 | %{_desktopdir}/*.desktop |
0a4dc633 | 72 | %{_datadir}/drwright |