]>
Commit | Line | Data |
---|---|---|
fe59f0c2 MB |
1 | Summary: Mouse accessibility enhancements for GNOME |
2 | Name: mousetweaks | |
34a19ae2 | 3 | Version: 2.22.3 |
1323349d | 4 | Release: 1 |
fe59f0c2 MB |
5 | License: GPL v3 |
6 | Group: X11/Applications | |
e90136be | 7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/mousetweaks/2.22/%{name}-%{version}.tar.bz2 |
34a19ae2 | 8 | # Source0-md5: bf36afbea857e49d32e5aefc29f94440 |
fe59f0c2 | 9 | URL: http://live.gnome.org/Mousetweaks/Home |
e90136be MB |
10 | BuildRequires: GConf2-devel >= 2.22.0 |
11 | BuildRequires: at-spi-devel >= 1.22.0 | |
fe59f0c2 MB |
12 | BuildRequires: autoconf >= 2.57 |
13 | BuildRequires: automake >= 1:1.9 | |
14 | BuildRequires: dbus-glib-devel >= 0.74 | |
15 | BuildRequires: gettext-devel | |
16 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
e90136be | 17 | BuildRequires: gnome-panel-devel >= 2.22.0 |
fe59f0c2 MB |
18 | BuildRequires: gtk+2-devel >= 2:2.12.8 |
19 | BuildRequires: intltool >= 0.36.0 | |
20 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
e90136be | 21 | BuildRequires: libgnomeui-devel >= 2.22.0 |
fe59f0c2 MB |
22 | BuildRequires: pkgconfig |
23 | BuildRequires: rpmbuild(macros) >= 1.198 | |
24 | Requires(post,preun): GConf2 | |
0cf043cc | 25 | Requires: libgail-gnome |
fe59f0c2 MB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | The mousetweaks package provides the functions offered by the | |
30 | Accessibility tab of the Mouse control panel of the GNOME Control | |
31 | Center. It also contains two panel applets related to the mouse | |
32 | accessibility. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
38 | %{__intltoolize} | |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__autoheader} | |
42 | %{__automake} | |
43 | %configure | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %find_lang %{name} --with-gnome | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %post | |
58 | %gconf_schema_install mousetweaks.schemas | |
59 | %gconf_schema_install pointer-capture-applet.schemas | |
60 | ||
61 | %preun | |
62 | %gconf_schema_uninstall mousetweaks.schemas | |
63 | %gconf_schema_uninstall pointer-capture-applet.schemas | |
64 | ||
65 | %files -f %{name}.lang | |
66 | %defattr(644,root,root,755) | |
67 | %doc AUTHORS ChangeLog NEWS README TODO | |
68 | %attr(755,root,root) %{_bindir}/dwell-click-applet | |
69 | %attr(755,root,root) %{_bindir}/mousetweaks | |
70 | %attr(755,root,root) %{_bindir}/pointer-capture-applet | |
71 | %{_sysconfdir}/gconf/schemas/mousetweaks.schemas | |
72 | %{_sysconfdir}/gconf/schemas/pointer-capture-applet.schemas | |
73 | %{_libdir}/bonobo/servers/DwellClick_Factory.server | |
74 | %{_libdir}/bonobo/servers/PointerCapture_Factory.server | |
75 | %{_datadir}/mousetweaks | |
76 | %{_mandir}/man1/dwell-click-applet.1* | |
77 | %{_mandir}/man1/mousetweaks.1* | |
78 | %{_mandir}/man1/pointer-capture-applet.1* |