Group :: Desktop gráfico/GNOME
RPM: gnome-mousetweaks
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define ver_major 2.26
%define _name mousetweaks
%def_disable static
Name: gnome-%_name
Version: %ver_major.0
Release: alt1
Summary: Mouse accessibility enhancements
License: %gpl3plus
Group: Graphical desktop/GNOME
Url: http://live.gnome.org/Mousetweaks/Home
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Source: %gnome_ftp/%name/%ver_major/%_name-%version.tar.bz2
PreReq: GConf2
PreReq: librarian
BuildPreReq: rpm-build-gnome rpm-build-licenses
# From configure.ac
BuildPreReq: gnome-common
BuildPreReq: intltool >= 0.40.0
BuildPreReq: libGConf-devel GConf
BuildPreReq: libgtk+2-devel
BuildPreReq: libgnome-panel-devel
BuildPreReq: libat-spi-devel
BuildPreReq: libdbus-glib-devel
BuildPreReq: libXfixes-devel libXcursor-devel libXtst-devel
BuildRequires: perl-XML-Parser librarian gnome-doc-utils
%description
The Mousetweaks package provides mouse accessibility enhancements for
the GNOME desktop. These enhancements are:
1. It offers a way to perform the various clicks without using any
hardware button.
2. It allows users to perform a right click by doing a click&hold
of the left mousebutton. (For a left-handed mouse user, the termes
left and right have to be inverted.)
3. It provides an applet that the user can install on a panel. This
applet creates an area on the panel into which the pointer can
be captured until the user releases it with a predefined button
and modifier combination.
The options can be accessed through the Accessibility tab of the
Mouse Preferences of GNOME Control Center or through command-line.
%prep
%setup -q -n %_name-%version
%build
%autoreconf
%configure \
%{subst_enable static} \
--disable-schemas-install \
--disable-scrollkeeper
%make_build
%install
%make_install DESTDIR=%buildroot install
%find_lang --with-gnome %_name
%define schemas %_name pointer-capture-applet
%post
%gconf2_install %schemas
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %schemas
fi
%files -f %_name.lang
%_bindir/*
%_libdir/bonobo/servers/*
%_datadir/%_name
%_man1dir/*
%config %gconf_schemasdir/*
%doc AUTHORS ChangeLog NEWS README
%changelog
…
Todas as alterações você pod ver aqui
%define _name mousetweaks
%def_disable static
Name: gnome-%_name
Version: %ver_major.0
Release: alt1
Summary: Mouse accessibility enhancements
License: %gpl3plus
Group: Graphical desktop/GNOME
Url: http://live.gnome.org/Mousetweaks/Home
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Source: %gnome_ftp/%name/%ver_major/%_name-%version.tar.bz2
PreReq: GConf2
PreReq: librarian
BuildPreReq: rpm-build-gnome rpm-build-licenses
# From configure.ac
BuildPreReq: gnome-common
BuildPreReq: intltool >= 0.40.0
BuildPreReq: libGConf-devel GConf
BuildPreReq: libgtk+2-devel
BuildPreReq: libgnome-panel-devel
BuildPreReq: libat-spi-devel
BuildPreReq: libdbus-glib-devel
BuildPreReq: libXfixes-devel libXcursor-devel libXtst-devel
BuildRequires: perl-XML-Parser librarian gnome-doc-utils
%description
The Mousetweaks package provides mouse accessibility enhancements for
the GNOME desktop. These enhancements are:
1. It offers a way to perform the various clicks without using any
hardware button.
2. It allows users to perform a right click by doing a click&hold
of the left mousebutton. (For a left-handed mouse user, the termes
left and right have to be inverted.)
3. It provides an applet that the user can install on a panel. This
applet creates an area on the panel into which the pointer can
be captured until the user releases it with a predefined button
and modifier combination.
The options can be accessed through the Accessibility tab of the
Mouse Preferences of GNOME Control Center or through command-line.
%prep
%setup -q -n %_name-%version
%build
%autoreconf
%configure \
%{subst_enable static} \
--disable-schemas-install \
--disable-scrollkeeper
%make_build
%install
%make_install DESTDIR=%buildroot install
%find_lang --with-gnome %_name
%define schemas %_name pointer-capture-applet
%post
%gconf2_install %schemas
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %schemas
fi
%files -f %_name.lang
%_bindir/*
%_libdir/bonobo/servers/*
%_datadir/%_name
%_man1dir/*
%config %gconf_schemasdir/*
%doc AUTHORS ChangeLog NEWS README
%changelog
…
Todas as alterações você pod ver aqui