File lxdm-conf.spec of Package lxdm-conf

#
# spec file for package lxdm-conf (Version 0.2.0+svn727)
#
# 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:           lxdm-conf
Summary:        LXDM configuration tool
Version:        0.2.0+svn727
Release:        3
License:        GPLv3
Group:          System/GUI/LXDE
Url:            https://noc.sidux.com/lxde
Source0:        %{name}.tar.bz2
Source1:        README.SUSE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fdupes python-devel update-desktop-files
BuildRequires:  licenses
BuildArch:      noarch
Requires:       lxdm
Requires:       python-gtk >= 2.0
Requires:       python-gobject2
Requires:       licenses
%py_requires

%description

%name provides a simple and fast LXDM configuration tool
%prep
%setup -q -n %name
%__cp %{SOURCE1} .

%build

%install
%__mkdir_p %buildroot/
%__cp -r usr %buildroot/
%suse_update_desktop_file lxdmconf
ln -sf /usr/share/doc/licenses/gpl-3.0.txt COPYING
%fdupes -s %buildroot

%clean
%__rm -rf %buildroot

%files
%defattr (-,root,root,-)
%doc COPYRIGHT COPYING README.SUSE
%{_sbindir}/lxdmconf
%{_datadir}/applications/*
%{_datadir}/locale/*/LC_MESSAGES/lxdmconf.moo

%changelog
openSUSE Build Service is sponsored by