2019-02-03 00:07:35 +01:00
|
|
|
|
Name: powerline_shell
|
|
|
|
|
|
Version: 0.7.0
|
2019-02-03 12:47:28 +01:00
|
|
|
|
Release: 3%{?dist}
|
2019-02-03 00:07:35 +01:00
|
|
|
|
Summary: A beautiful and useful prompt generator for Bash, ZSH, Fish, and tcsh
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
2021-05-21 09:31:54 +02:00
|
|
|
|
URL: https://dev.daniel-steiner.org/dani/powerline-shell-enhanced#segment-configuration
|
2019-02-03 00:07:35 +01:00
|
|
|
|
Source0: powerline_shell.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
%define pyvers 3
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python%{pyvers} powerline
|
|
|
|
|
|
BuildRequires: python%{pyvers}-GitPython
|
2019-02-03 12:47:28 +01:00
|
|
|
|
BuildRequires: python%{pyvers}-setuptools
|
2019-02-03 00:07:35 +01:00
|
|
|
|
Requires: python%{pyvers} powerline bash
|
|
|
|
|
|
Requires: python%{pyvers}-GitPython
|
2019-02-03 10:35:12 +01:00
|
|
|
|
Requires: python%{pyvers}-argparse
|
2019-02-03 12:47:28 +01:00
|
|
|
|
Requires: python%{pyvers}-setuptools
|
2019-02-03 00:07:35 +01:00
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
A beautiful and useful prompt generator for Bash, ZSH, Fish, and tcsh:
|
|
|
|
|
|
|
|
|
|
|
|
* Shows some important details about the git/svn/hg/fossil branch (see below)
|
|
|
|
|
|
* Changes color if the last command exited with a failure code
|
|
|
|
|
|
* If you’re too deep into a directory tree, shortens the displayed path with an ellipsis
|
|
|
|
|
|
* Shows the current Python virtualenv environment
|
|
|
|
|
|
* It’s easy to customize and extend. See below for details.
|
|
|
|
|
|
|
|
|
|
|
|
The generated prompts are designed to resemble powerline, but otherwise this project has no relation to powerline.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
%setup -q -n %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
#python%{pyvers} setup.py build
|
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
#python%{pyvers} setup.py install --no-compile -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}
|
|
|
|
|
|
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
|
%doc CHANGELOG.md README.md LICENSE
|
|
|
|
|
|
%{_bindir}/powerline-shell
|
|
|
|
|
|
%{python3_sitelib}/%{name}/*.py
|
|
|
|
|
|
%{python3_sitelib}/%{name}/__pycache__/*.pyc
|
|
|
|
|
|
%{python3_sitelib}/%{name}/segments/*.py
|
|
|
|
|
|
%{python3_sitelib}/%{name}/segments/__pycache__/*.pyc
|
|
|
|
|
|
%{python3_sitelib}/%{name}/themes/*.py
|
|
|
|
|
|
%{python3_sitelib}/%{name}/themes/__pycache__/*.pyc
|
|
|
|
|
|
%{python3_sitelib}/%{name}*.egg-info/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-05-21 09:31:54 +02:00
|
|
|
|
* Fri May 21 2021 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
|
|
|
|
|
- Built for Fedora 34.
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Oct 31 2020 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
|
|
|
|
|
- Built for Fedora 33.
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
2019-02-03 12:47:28 +01:00
|
|
|
|
- Dependency added for pythonX-setuptools rpm.
|
|
|
|
|
|
|
2021-05-21 09:31:54 +02:00
|
|
|
|
* Sun Feb 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
2019-02-03 10:35:12 +01:00
|
|
|
|
- Dependency added for pythonX-argparse rpm.
|
|
|
|
|
|
|
2021-05-21 09:31:54 +02:00
|
|
|
|
* Sat Feb 2 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
2019-02-03 00:07:35 +01:00
|
|
|
|
- First build.
|
|
|
|
|
|
|