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