File lxinput.spec of Package lxinput

#
# spec file for package lxinput (Version 0.3.0)
#
# Copyright (c) 2010 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/
#

# norootforbuild


Name:           lxinput
Summary:        Keyboard and mouse configuration tool 
Version:        0.3.0
Release:        1
License:        GPLv2
Group:          System/GUI/LXDE
Url:            http://www.lxde.org/
Source0:        %name-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf automake gcc gcc-c++ make update-desktop-files
BuildRequires:  gettext-runtime gettext-tools gtk2-devel pkg-config
BuildRequires:  fdupes intltool perl perl-XML-Parser

%description
LXinput is just the LXDE Keyboard and mouse config tool 

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
%configure
%__make %{?jobs:-j%{jobs}}

%install
%makeinstall
%__rm -rf %{buildroot}/%{_datadir}/locale/{ast,es_VE,frp,ur_PK}
%suse_update_desktop_file %name
%fdupes -s %{buildroot}
%find_lang %name

%clean
rm -fr %buildroot

%files -f %name.lang
%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/lxinput.1.gz

%changelog
openSUSE Build Service is sponsored by