commit f8e2fd82011f14ebd8e719f57dfc100c9286cd65
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Mar 1 10:12:33 2016 +0200

    new, version 3.2
    
    based on fedora package, 7dfae61

 thefuck.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
---
diff --git a/thefuck.spec b/thefuck.spec
new file mode 100644
index 0000000..0f9c3de
--- /dev/null
+++ b/thefuck.spec
@@ -0,0 +1,58 @@
+Summary:       App that corrects your previous console command
+Name:          thefuck
+Version:       3.2
+Release:       1
+License:       MIT
+Group:         Applications/Shells
+Source0:       
https://github.com/nvbn/thefuck/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: b2012c223a0ae15cecaa384aa8bbae32
+URL:           https://github.com/nvbn/thefuck
+BuildRequires: python3-colorama
+BuildRequires: python3-decorator
+BuildRequires: python3-devel
+BuildRequires: python3-mock
+BuildRequires: python3-pip
+BuildRequires: python3-psutil
+BuildRequires: python3-pytest
+BuildRequires: python3-setuptools
+BuildRequires: python3-six
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: sed >= 4.0
+Requires:      python3
+Requires:      python3-colorama
+Requires:      python3-psutil
+Requires:      python3-six
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This application corrects your previous console command.
+
+See README.md how to setup for your shell.
+
+%prep
+%setup -q
+
+sed -i -e '/^#!\//, 1d' *.py
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/tests
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE.md
+%attr(755,root,root) %{_bindir}/thefuck
+%attr(755,root,root) %{_bindir}/fuck
+%attr(755,root,root) %{_bindir}/thefuck-alias
+%{py3_sitescriptdir}/thefuck
+%{py3_sitescriptdir}/thefuck-%{version}-*egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thefuck.git/commitdiff/f8e2fd82011f14ebd8e719f57dfc100c9286cd65

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to