forked from pool/lxinput
- new upstream version 0.3.5 * Fix: apply left handed mouse setting in autostart file * Fix GtkBuilder UI file for GTK+ 3, add mouse icon to mouse tab * Add MATE to NotShowIn in desktop entries * Translation updates - Removed patch now in upstream code: * lxinput-0.3.4-Apply-left-handed-mouse-setting-in-autostart-file.patch OBS-URL: https://build.opensuse.org/request/show/447662 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxinput?expand=0&rev=28
79 lines
2.0 KiB
RPMSpec
79 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package lxinput
|
|
#
|
|
# Copyright (c) 2014 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: lxinput
|
|
Version: 0.3.5
|
|
Release: 0
|
|
Summary: Keyboard and mouse configuration tool
|
|
License: GPL-2.0
|
|
Group: System/GUI/LXDE
|
|
Url: http://www.lxde.org/
|
|
Source0: %{name}-%{version}.tar.xz
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gettext-runtime
|
|
BuildRequires: gettext-tools
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: make
|
|
BuildRequires: perl
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: pkg-config
|
|
BuildRequires: update-desktop-files
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%lang_package
|
|
|
|
%description
|
|
LXinput is just the LXDE Keyboard and mouse config tool
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
%suse_update_desktop_file %{name}
|
|
%find_lang %{name}
|
|
%fdupes -s %{buildroot}
|
|
|
|
%post
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%dir %{_datadir}/%{name}
|
|
%{_datadir}/%{name}/%{name}.ui
|
|
%{_datadir}/%{name}/input-keyboard.png
|
|
%{_datadir}/%{name}/input-mouse.png
|
|
%{_mandir}/man1/%{name}.1.gz
|
|
|
|
%files lang -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|