File lxcc.spec of Package lxcc

#
# spec file for package lxcc (Version 0.1.0+svn730)
#
# 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:           lxcc
Summary:        LXDE Control Center
Version:        0.1.0+svn730
Release:        2
License:        GPLv3
Group:          System/GUI/LXDE
Url:            https://noc.sidux.com/lxde
Source0:        %{name}.tar.bz2
Source1:        %{name}_template.moo
Source2:        README.SUSE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fdupes python-devel update-desktop-files
BuildRequires:  licenses
BuildArch:      noarch
Requires:       licenses
Requires:       python-gtk >= 2.0
Requires:       python-gobject2
%py_requires

%description

%name provides a simple and fast LXDE Control Center
%prep
%setup -q -n %name
%__cp %{SOURCE1} .
%__cp %{SOURCE2} .

%build

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

%clean
%__rm -rf %buildroot

%files
%defattr (-,root,root,-)
%doc %{name}_template.moo README.SUSE COPYING
%{_bindir}/%name
%{_datadir}/applications/*
%{_datadir}/icons/%name.png
%{_datadir}/locale/*/LC_MESSAGES/%name.moo

%changelog