1 | %define pkg_version 3.2.1 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: Mouse accessibility enhancements for GNOME desktop |
---|
5 | Summary(ja): GNOME デスクトップ用マウス利便性強化ツール |
---|
6 | Name: mousetweaks |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/mousetweaks/3.2/%{name}-%{version}.tar.xz |
---|
10 | License: GPLv3, FDL |
---|
11 | Group: User Interface/Desktops |
---|
12 | URL: http://live.gnome.org/Mousetweaks/Home |
---|
13 | |
---|
14 | BuildRequires: gtk3-devel |
---|
15 | BuildRequires: GConf2-devel |
---|
16 | BuildRequires: dbus-glib-devel |
---|
17 | BuildRequires: at-spi-devel |
---|
18 | BuildRequires: libXcursor-devel |
---|
19 | BuildRequires: libXfixes-devel |
---|
20 | BuildRequires: libXtst-devel |
---|
21 | BuildRequires: gnome-panel-devel |
---|
22 | BuildRequires: gnome-doc-utils |
---|
23 | BuildRequires: gsettings-desktop-schemas |
---|
24 | |
---|
25 | Requires(post): GConf2 |
---|
26 | Requires(pre): GConf2 |
---|
27 | Requires(preun): GConf2 |
---|
28 | |
---|
29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
30 | |
---|
31 | Vendor: Project Vine |
---|
32 | Distribution: Vine Linux |
---|
33 | Packager: Takemikaduchi |
---|
34 | |
---|
35 | |
---|
36 | %description |
---|
37 | The Mousetweaks package provides mouse accessibility enhancements for |
---|
38 | the GNOME desktop. These enhancements are: |
---|
39 | |
---|
40 | 1. It offers a way to perform the various clicks without using any |
---|
41 | hardware button. |
---|
42 | |
---|
43 | 2. It allows users to perform a right click by doing a click&hold |
---|
44 | of the left mousebutton. (For a left-handed mouse user, the termes |
---|
45 | left and right have to be inverted.) |
---|
46 | |
---|
47 | 3. It provides an applet that the user can install on a panel. This |
---|
48 | applet creates an area on the panel into which the pointer can |
---|
49 | be captured until the user releases it with a predefined button |
---|
50 | and modifier combination. |
---|
51 | |
---|
52 | The options can be accessed through the Accessibility tab of the |
---|
53 | Mouse Preferences of GNOME Control Center or through command-line. |
---|
54 | |
---|
55 | |
---|
56 | %prep |
---|
57 | %setup -q |
---|
58 | |
---|
59 | |
---|
60 | %build |
---|
61 | %configure --disable-scrollkeeper |
---|
62 | %{__make} %{?_smp_mflags} |
---|
63 | |
---|
64 | |
---|
65 | %install |
---|
66 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
67 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
68 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
69 | unset export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
70 | |
---|
71 | %find_lang %{name} --with-gnome |
---|
72 | |
---|
73 | |
---|
74 | %clean |
---|
75 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
76 | |
---|
77 | %postun |
---|
78 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
79 | |
---|
80 | %posttrans |
---|
81 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
82 | |
---|
83 | |
---|
84 | %files -f %{name}.lang |
---|
85 | %defattr(-,root,root) |
---|
86 | %doc COPYING COPYING.FDL COPYING.GPL ChangeLog NEWS README |
---|
87 | %{_bindir}/mousetweaks |
---|
88 | %{_datadir}/GConf/gsettings/mousetweaks.convert |
---|
89 | %{_datadir}/glib-2.0/schemas/org.gnome.mousetweaks.enums.xml |
---|
90 | %{_datadir}/glib-2.0/schemas/org.gnome.mousetweaks.gschema.xml |
---|
91 | %{_datadir}/mousetweaks |
---|
92 | %{_mandir}/man1/* |
---|
93 | |
---|
94 | |
---|
95 | %changelog |
---|
96 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
100 | - new upstream release |
---|
101 | |
---|
102 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
106 | - new upstream release |
---|
107 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
108 | - add BuildRequires: gsettings-desktop-schemas |
---|
109 | |
---|
110 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
111 | - new upstream release |
---|
112 | - change BuildRequires: gnome-panel-devel instead of gnome-panel |
---|
113 | |
---|
114 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
118 | - initial build for Vine Linux |
---|
119 | |
---|