Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
python3-xdg
python3-xdg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-xdg.spec of Package python3-xdg
# # spec file for package python3-xdg # # Copyright (c) 2013 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/ # %define build_for_python3 1 %if %{build_for_python3} %define local_py_sitelib %{python3_sitelib} %define local_python python3 %else %define local_py_sitelib %{python_sitelib} %define local_python %{__python} %endif Name: python3-xdg %define _name pyxdg Summary: Python library to use freedesktop.org specifications License: LGPL-2.1+ Group: Development/Libraries/Python Version: 0.25 Release: 0 Url: http://freedesktop.org/Software/pyxdg Source: %{_name}-%{version}.tar.bz2 BuildRequires: fdupes %if %{build_for_python3} BuildRequires: python3-devel BuildRequires: python3-distribute %else BuildRequires: python-devel %endif %if !(%{build_for_python3}) # For old packman packages (only python2) Provides: python-pyxdg = %{version} Obsoletes: python-pyxdg < %{version} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description python-xdg (PyXDG) is a python library to use freedesktop.org specifications. %prep %setup -q -n %{_name}-%{version} %build %{local_python} setup.py build %install %{local_python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}" %fdupes %{buildroot}/%{local_py_sitelib} %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING README TODO %{local_py_sitelib}/*.egg-info %{local_py_sitelib}/xdg %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor