1 | Summary: Typing monitor to force typing breaks |
---|
2 | Name: drwright |
---|
3 | Version: 3.2.3 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.2/%{name}-%{version}.tar.xz |
---|
7 | |
---|
8 | License: GPLv2 |
---|
9 | Group: User Interface/Desktops |
---|
10 | URL: https://live.gnome.org/ThreePointOne/Features/FilePreviewing |
---|
11 | |
---|
12 | BuildRequires: gtk3-devel >= 3.2.0 |
---|
13 | BuildRequires: gnome-settings-daemon-devel |
---|
14 | BuildRequires: libcanberra-gtk3-devel |
---|
15 | BuildRequires: libnotify-devel |
---|
16 | BuildRequires: libXScrnSaver-devel |
---|
17 | BuildRequires: libSM-devel |
---|
18 | |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: Takemikaduchi |
---|
24 | |
---|
25 | |
---|
26 | %description |
---|
27 | DrWright monitors your typing and forces you to periodically take |
---|
28 | typing breaks. |
---|
29 | |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q |
---|
33 | |
---|
34 | %build |
---|
35 | %configure --disable-static |
---|
36 | %{__make} %{?_smp_mflags} |
---|
37 | |
---|
38 | %install |
---|
39 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
40 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
41 | |
---|
42 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
43 | |
---|
44 | %find_lang %{name} |
---|
45 | |
---|
46 | %clean |
---|
47 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
48 | |
---|
49 | %post |
---|
50 | touch %{_datadir}/icons/hicolor |
---|
51 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
52 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
53 | fi |
---|
54 | |
---|
55 | %postun |
---|
56 | touch %{_datadir}/icons/hicolor |
---|
57 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
58 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
59 | fi |
---|
60 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
61 | |
---|
62 | %posttrans |
---|
63 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
64 | |
---|
65 | |
---|
66 | %files -f %{name}.lang |
---|
67 | %defattr(-,root,root,-) |
---|
68 | %doc AUTHORS ChangeLog COPYING NEWS |
---|
69 | %{_libdir}/control-center-1/panels/libdrwrightccp.so |
---|
70 | %{_libdir}/%{name}/gnome-typing-monitor |
---|
71 | %{_libdir}/gnome-settings-daemon-3.0/libtyping-break.so |
---|
72 | %{_libdir}/gnome-settings-daemon-3.0/typing-break.gnome-settings-plugin |
---|
73 | %{_datadir}/%{name} |
---|
74 | %{_datadir}/applications/gnome-typing-break-panel.desktop |
---|
75 | %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.typing-break.gschema.xml |
---|
76 | %{_datadir}/icons/hicolor/*/*/* |
---|
77 | |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1 |
---|
81 | - new upstream release |
---|
82 | |
---|
83 | * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
84 | - new upstream release |
---|
85 | - remove Patch0 |
---|
86 | |
---|
87 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
88 | - initial build for Vine Linux |
---|
89 | |
---|