65 lines
1.8 KiB
RPMSpec
65 lines
1.8 KiB
RPMSpec
Name: mousetweaks
|
|
Version: 3.12.0
|
|
Release: 13
|
|
Summary: Accessibility enhancements for the mouse
|
|
License: GPL-3.0-or-later
|
|
URL: http://live.gnome.org/Mousetweaks/Home
|
|
Source0: http://download.gnome.org/sources/mousetweaks/3.12/%{name}-%{version}.tar.xz
|
|
Patch9000: bugfix-Fix-invalid-UTF-8.patch
|
|
|
|
BuildRequires: gcc gettext gnome-doc-utils pkgconfig GConf2-devel gtk3-devel >= 3.0.0 libXcursor-devel
|
|
BuildRequires: libXtst-devel libXfixes-devel libglade2-devel gsettings-desktop-schemas-devel intltool
|
|
Requires(pre): GConf2
|
|
|
|
%description
|
|
Mousetweaks is a daemon that provides various mouse features for the GNOME desktop.
|
|
It depends on the Assistive Technology Service Provider Interface (AT-SPI).
|
|
|
|
%package help
|
|
Summary:Help document for mousetweaks
|
|
|
|
%description help
|
|
Help document for mousetweaks.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure --disable-scrollkeeper
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%find_lang mousetweaks --with-gnome
|
|
|
|
%pre
|
|
%gconf_schema_obsolete mouseweaks pointer-capture-applet
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ]; then
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|
fi
|
|
|
|
%posttrans
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|
|
|
%files -f mousetweaks.lang
|
|
%doc COPYING README NEWS
|
|
%{_datadir}/GConf/gsettings/mousetweaks.convert
|
|
%{_datadir}/glib-2.0/schemas/{org.gnome.mousetweaks.enums.xml,org.gnome.mousetweaks.gschema.xml}
|
|
%{_bindir}/mousetweaks
|
|
%{_datadir}/mousetweaks
|
|
|
|
%files help
|
|
%doc %{_mandir}/man1/*
|
|
|
|
%changelog
|
|
* Thu Jun 13 2024 yao_xin <yao_xin001@hoperun.com> - 3.12.0-13
|
|
- License compliance rectification
|
|
|
|
* Web Jun 02 2021 zhaoyao<zhaoyao32@huawei.com> - 3.12.0-12
|
|
- fixs faileds: /bin/sh: gcc: command not found.
|
|
|
|
* Wed Dec 11 2019 shijian <shijian16@huawei.com> - 3.12.0-11
|
|
- Package init
|