source: projects/specs/trunk/m/mousetweaks/mousetweaks-vl.spec @ 4616

Revision 4616, 3.0 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

Line 
1%define pkg_version 3.1.4
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/3.1/%{name}-%{version}.tar.xz
10License:        GPLv3, FDL
11Group:          User Interface/Desktops
12URL:            http://live.gnome.org/Mousetweaks/Home
13
14BuildRequires:  gtk3-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
23BuildRequires:  gsettings-desktop-schemas
24
25Requires(post):         GConf2
26Requires(pre):          GConf2
27Requires(preun):        GConf2
28
29BuildRoot: %{_tmppath}/%{name}-%{version}-root
30
31Vendor: Project Vine
32Distribution: Vine Linux
33Packager: Takemikaduchi
34
35
36%description
37The Mousetweaks package provides mouse accessibility enhancements for
38the GNOME desktop. These enhancements are:
39       
401. It offers a way to perform the various clicks without using any
41hardware button.
42
432. It allows users to perform a right click by doing a click&hold
44of the left mousebutton. (For a left-handed mouse user, the termes
45left and right have to be inverted.)
46
473. It provides an applet that the user can install on a panel. This
48applet creates an area on the panel into which the pointer can
49be captured until the user releases it with a predefined button
50and modifier combination.
51
52The options can be accessed through the Accessibility tab of the
53Mouse 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}
67export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
68%{__make} install DESTDIR=${RPM_BUILD_ROOT}
69unset 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
78glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
79
80%posttrans
81glib-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* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
97- new upstream release
98- change BuildRequires: gtk3-devel instead of gtk2-devel
99- add BuildRequires: gsettings-desktop-schemas
100
101* Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
102- new upstream release
103- change BuildRequires: gnome-panel-devel instead of gnome-panel
104
105* Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
106- new upstream release
107
108* Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
109- initial build for Vine Linux
110
Note: See TracBrowser for help on using the repository browser.