File python-xdg.spec of Package python-xdg
#
# spec file for package python-xdg (Version 0.17)
#
# Copyright (c) 2009 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/
#
Name: python-xdg
%define _name pyxdg
Summary: Python library to access freedesktop.org standards
Version: 0.17
Release: 2
License: LGPL v2.1 or later
Group: Development/Libraries/Python
Url: http://freedesktop.org/Software/pyxdg
Source: %{_name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: python-devel
%py_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
python-xdg (PyXDG) is a python library to access freedesktop.org
standards.
Currently supported are: * Base Directory Specification Version 0.6
* Menu Specification Version 1.0-draft1
* Desktop Entry Specification Version 0.9.4
* Icon Theme Specification Version 0.8
* Recent File Spec 0.2
* Shared-MIME-Database Specification 0.13
Authors:
--------
Current Maintainer:
Heinrich Wendel <h_wendel@cojobo.net>
Inactive:
Sergey Kuleshov <svyatogor@gentoo.org>
%prep
%setup -q -n %{_name}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_usr}"
%fdupes %{buildroot}/%{python_sitelib}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING README TODO
%{python_sitelib}/*.egg-info
%{python_sitelib}/xdg
%changelog