# Created by pyp2rpm-1.1.1 %global pypi_name hy Name: python-%{pypi_name} Version: 0.10.0 Release: 1%{?dist} Summary: Lisp and Python love each other License: MIT URL: http://hylang.org/ Source0: https://pypi.python.org/packages/source/h/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel Requires: python-rply >= 0.7.0 Requires: python-astor >= 0.3 %description Hy is a Python <--> Lisp layer. It helps make things work nicer and lets Python and the Hy lisp variant play nice together. %prep %setup -q -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %{__python2} setup.py build %install %{__python2} setup.py install --skip-build --root %{buildroot} %files %doc %{_bindir}/hy %{_bindir}/hyc %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Thu Oct 02 2014 Jens Petersen - 0.10.0-1 - Initial package.