2009-12-26 12:38:34 +00:00
|
|
|
#
|
2011-05-02 16:06:00 +00:00
|
|
|
# spec file for package lxinput
|
2009-12-26 12:38:34 +00:00
|
|
|
#
|
2014-09-17 08:52:49 +00:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-12-26 12:38:34 +00:00
|
|
|
#
|
|
|
|
# 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
|
2017-01-03 14:47:24 +00:00
|
|
|
Version: 0.3.5
|
2014-09-17 08:52:49 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Keyboard and mouse configuration tool
|
2012-05-29 14:13:18 +00:00
|
|
|
License: GPL-2.0
|
2010-08-08 00:43:45 +00:00
|
|
|
Group: System/GUI/LXDE
|
2009-12-26 12:38:34 +00:00
|
|
|
Url: http://www.lxde.org/
|
2014-09-17 08:52:49 +00:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2012-05-29 14:13:18 +00:00
|
|
|
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
|
2014-09-17 08:52:49 +00:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%lang_package
|
2009-12-26 12:38:34 +00:00
|
|
|
|
|
|
|
%description
|
2014-09-17 08:52:49 +00:00
|
|
|
LXinput is just the LXDE Keyboard and mouse config tool
|
2009-12-26 12:38:34 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2014-09-17 08:52:49 +00:00
|
|
|
make %{?_smp_mflags}
|
2009-12-26 12:38:34 +00:00
|
|
|
|
|
|
|
%install
|
2014-09-17 08:52:49 +00:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
%suse_update_desktop_file %{name}
|
|
|
|
%find_lang %{name}
|
2011-07-29 22:23:50 +00:00
|
|
|
%fdupes -s %{buildroot}
|
2009-12-26 12:38:34 +00:00
|
|
|
|
2011-03-14 18:55:47 +00:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
|
2014-09-17 08:52:49 +00:00
|
|
|
%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
|
2009-12-26 12:38:34 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|