]>
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: 3.2.5 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/drwright/3.2/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: c23d1b9aefdbf31268b888f50826c164 | |
10 | URL: http://www.gnome.org/ | |
11 | BuildRequires: autoconf | |
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 | |
20 | BuildRequires: pkgconfig | |
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 | |
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 | ||
36 | %description -l pl.UTF-8 | |
37 | DrWright to program zmuszający do rozluźnienia nadgarstków, aby dać | |
38 | odpocząć dłoniom. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__intltoolize} | |
45 | %{__libtoolize} | |
46 | %{__aclocal} | |
47 | %{__autoconf} | |
48 | %{__autoheader} | |
49 | %{__automake} | |
50 | %configure \ | |
51 | --disable-silent-rules \ | |
52 | --disable-static | |
53 | ||
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
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 | |
66 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/tmp | |
67 | ||
68 | %find_lang %{name} | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
74 | %update_icon_cache hicolor | |
75 | %glib_compile_schemas | |
76 | ||
77 | %postun | |
78 | %update_icon_cache hicolor | |
79 | %glib_compile_schemas | |
80 | ||
81 | %files -f %{name}.lang | |
82 | %defattr(644,root,root,755) | |
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 | |
90 | %{_datadir}/drwright | |
91 | %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.typing-break.gschema.xml | |
92 | %{_iconsdir}/hicolor/*/*/*.png | |
93 | %{_iconsdir}/hicolor/*/*/*.svg |