File xdg-utils.spec of Package xdg-utils

# spec file for package xdg-utils
# Copyright (c) 2012 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

Name:           xdg-utils
BuildRequires:  make
BuildRequires:  xmlto
BuildRequires:  xz
# for xmlto to be able to generate text from html
BuildRequires:  w3m
Summary:        Utilities to uniformly interface desktop environments
License:        MIT
Group:          System/GUI/Other
Version:        20120310
Release:        0
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        xdg-utils-%{version}.tar.xz
Patch0:         install-some-more-scripts.diff
Patch1:         xfce-su.diff
Patch8:         xdg-screensaver-gnome-perl.diff
Requires:       perl
Requires:       perl-Net-DBus
Requires:       perl-X11-Protocol

The xdg-utils package is a set of simple scripts that provide basic
desktop integration functions for any Free Desktop, such as Linux.

They are intended to provide a set of defacto standards.  This means
   that: *  Third party software developers can rely on these
   xdg-utils for all of their simple integration needs.

*  Developers of desktop environments can make sure that their
   environments are well supported

If a desktop developer wants to be certain that their environment
functions with all third party software, then can simply make sure that
these utilities work properly in their environment.

%setup -q -n %name-%{version}
%patch0 -p1
%patch1 -p1
%patch8 -p1

(cd scripts; make scripts)
make %{?_smp_flags}


%{?buildroot:%__rm -rf "%{buildroot}"}