source: projects/specs/branches/6/m/mousetweaks/mousetweaks-vl.spec @ 2219

Revision 2219, 3.7 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

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