# Created by pyp2rpm-1.1.2 %global pypi_name xonsh Name: %{pypi_name} Version: 0.1.2 Release: 1%{?dist} Summary: An exotic, usable shell License: BSD URL: https://github.com/scopatz/xonsh Source0: https://pypi.python.org/packages/source/x/%{pypi_name}/%{pypi_name}-%{version}.tar.gz # It may look nice but the logo is just redudant spam # in build process Patch0: 001-remove-logo-from-setup.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-ply Requires: python3-ply %description xonsh is a Python-ish, BASHwards-compatible shell language and command prompt. The language is a superset of Python 3.4 with additional shell primitives. xonsh (pronounced *conch*) is meant for the daily use of experts and novices alike. %prep %setup -q -n %{pypi_name}-%{version} # Remove bundled egg-info %patch0 -p1 rm -rf %{pypi_name}.egg-info %build %{__python3} setup.py build %install %{__python3} setup.py install --skip-build --root %{buildroot} %files %doc README.rst %{_bindir}/xonsh %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Mon Mar 16 2015 Robert Kuska - 0.1.2-1 - Initial package.