]>
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 |
47057cea | 4 | Version: 3.2.5 |
c63c379f | 5 | Release: 1 |
c1a5f09c MB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/drwright/3.2/%{name}-%{version}.tar.xz | |
47057cea | 9 | # Source0-md5: c23d1b9aefdbf31268b888f50826c164 |
c1a5f09c | 10 | URL: http://www.gnome.org/ |
9e25ae0a | 11 | BuildRequires: autoconf |
c1a5f09c MB |
12 | BuildRequires: automake >= 1:1.9 |
13 | BuildRequires: glib2-devel >= 1:2.26.0 | |
14 | BuildRequires: gnome-settings-daemon-devel >= 3.0.0 | |
15 | BuildRequires: gtk+3-devel >= 3.0.0 | |
16 | BuildRequires: intltool >= 0.40.0 | |
17 | BuildRequires: libcanberra-gtk3-devel | |
18 | BuildRequires: libnotify-devel >= 0.7 | |
19 | BuildRequires: libtool | |
c63c379f | 20 | BuildRequires: pkgconfig |
c1a5f09c MB |
21 | BuildRequires: rpmbuild(macros) >= 1.592 |
22 | BuildRequires: tar >= 1:1.22 | |
23 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
24 | BuildRequires: xz | |
25 | Requires(post,postun): gtk-update-icon-cache | |
26 | Requires(post,postun): glib2 >= 1:2.26.0 | |
27 | Requires: gnome-control-center >= 3.0.0 | |
28 | Requires: gnome-settings-daemon >= 3.0.0 | |
29 | Requires: hicolor-icon-theme | |
0a4dc633 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | DrWright is a program that forces you to take wrist breaks to rest | |
34 | your hands. | |
35 | ||
125f5056 JR |
36 | %description -l pl.UTF-8 |
37 | DrWright to program zmuszający do rozluźnienia nadgarstków, aby dać | |
38 | odpocząć dłoniom. | |
d6fa54c2 | 39 | |
0a4dc633 | 40 | %prep |
41 | %setup -q | |
42 | ||
43 | %build | |
c1a5f09c MB |
44 | %{__intltoolize} |
45 | %{__libtoolize} | |
cadc81d5 | 46 | %{__aclocal} |
cadc81d5 | 47 | %{__autoconf} |
c1a5f09c | 48 | %{__autoheader} |
2c2f58e8 | 49 | %{__automake} |
0a4dc633 | 50 | %configure \ |
c1a5f09c MB |
51 | --disable-silent-rules \ |
52 | --disable-static | |
0a4dc633 | 53 | |
c1a5f09c | 54 | %{__make} |
0a4dc633 | 55 | |
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
c1a5f09c MB |
60 | DESTDIR=$RPM_BUILD_ROOT |
61 | ||
62 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.la | |
63 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/*.la | |
64 | ||
65 | # already exists as zu | |
47057cea | 66 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/tmp |
0a4dc633 | 67 | |
68 | %find_lang %{name} | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
c1a5f09c MB |
74 | %update_icon_cache hicolor |
75 | %glib_compile_schemas | |
76 | ||
77 | %postun | |
78 | %update_icon_cache hicolor | |
79 | %glib_compile_schemas | |
0a4dc633 | 80 | |
81 | %files -f %{name}.lang | |
82 | %defattr(644,root,root,755) | |
c1a5f09c MB |
83 | %doc AUTHORS ChangeLog NEWS |
84 | %attr(755,root,root) %{_libdir}/control-center-1/panels/libdrwrightccp.so | |
85 | %dir %{_libdir}/drwright | |
86 | %attr(755,root,root) %{_libdir}/drwright/gnome-typing-monitor | |
87 | %attr(755,root,root) %{_libdir}/gnome-settings-daemon-3.0/libtyping-break.so | |
88 | %{_libdir}/gnome-settings-daemon-3.0/typing-break.gnome-settings-plugin | |
89 | %{_desktopdir}/gnome-typing-break-panel.desktop | |
0a4dc633 | 90 | %{_datadir}/drwright |
c1a5f09c MB |
91 | %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.typing-break.gschema.xml |
92 | %{_iconsdir}/hicolor/*/*/*.png | |
93 | %{_iconsdir}/hicolor/*/*/*.svg |