%global debug_package %{nil} %global _disable_source_fetch 0 Name: grc Version: 1.11.1 Release: 1%{?dist} Summary: Generic coloriser Group: Development/Tools License: GPL URL: https://github.com/garabik/grc Source0: https://github.com/garabik/grc/archive/v%{version}.tar.gz BuildArch: noarch Requires: python %description grc is a unified replacement for programs such as colortail, gccolor, colormake that convert text files or outputs of different programs into a more readable format by inserting ANSI color control codes into them. %prep %setup -q %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}%{_datarootdir}/grc mkdir -p %{buildroot}%{_mandir}/man1 install -m 755 grc %{buildroot}%{_bindir} install -m 755 grcat %{buildroot}%{_bindir} install -m 644 grc.conf %{buildroot}%{_sysconfdir} install -m 644 colourfiles/conf.* %{buildroot}%{_datarootdir}/grc install -m 644 grc.1 %{buildroot}%{_mandir}/man1 install -m 644 grcat.1 %{buildroot}%{_mandir}/man1 %files %defattr(-,root,root) %attr(755,root,root) %{_bindir}/grc %attr(755,root,root) %{_bindir}/grcat %attr(644,root,root) %{_sysconfdir}/grc.conf %attr(644,root,root) %{_datarootdir}/grc/conf.* %attr(644,root,root) %{_mandir}/man1/* %doc README.markdown CHANGES COPYING CREDITS %changelog * Thu Nov 23 2017 recteurlp - 1.11.1-1 - Release 1.11.1