File mousetweaks.spec of Package mousetweaks

#
# spec file for package mousetweaks
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           mousetweaks
Version:        2.32.1
Release:        2
License:        GPLv3
Summary:        Tweak mouse settings in GNOME
Url:            http://www.gnome.org
Group:          System/GUI/GNOME
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gnome-panel-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq

%description
The Mousetweaks package provides mouse accessibility enhancements for
the GNOME desktop.

%lang_package
%prep
%setup -q

%build
%configure --disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
%find_gconf_schemas
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun

%posttrans -f %{name}.schemas_posttrans

%clean
rm -rf %{buildroot}

%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS NEWS README TODO
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%{_bindir}/*
%{_libdir}/bonobo/servers/*.server
%{_mandir}/man1/*.1.gz
%{_datadir}/mousetweaks

%files lang -f %{name}.lang

%changelog