Name: progress Version: 0.8 Release: 2%{?dist} Summary: Coreutils Viewer License: GPLv3 URL: https://github.com/Xfennec/%{name} Source0: https://github.com/Xfennec/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: ncurses-devel %if (0%{?fedora} && 0%{?fedora} <= 26) || (0%{?rhel} && 0%{?rhel} <= 9) Obsoletes: cv <= 0.8-3 Provides: cv == %{version}-%{release} %endif # (0%{?fedora} && 0%{?fedora} <= 26) || (0%{?rhel} && 0%{?rhel} <= 9) %description Progress can be described as a Tiny Dirty Linux Only* C command that looks for coreutils basic commands (cp, mv, dd, tar, gzip/gunzip, cat, ...) currently running on your system and displays the percentage of copied data. %prep %setup -q %build CFLAGS="%{?optflags}" \ LFLAGS="%{?__global_ldflags}" \ make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_bindir} install -pm 0755 %{name} %{buildroot}%{_bindir}/%{name} mkdir -p %{buildroot}%{_mandir}/man1 install -pm 0644 *.1 %{buildroot}%{_mandir}/man1 %files %if 0%{?fedora} >= 21 || 0%{?rhel} >= 8 %license LICENSE %else # 0%{?fedora} >= 21 || 0%{?rhel} >= 8 %doc LICENSE %endif # 0%{?fedora} >= 21 || 0%{?rhel} >= 8 %doc README.md %{_bindir}/%{name} %{_mandir}/man1/*.1* %changelog * Tue Aug 4 2015 Florian Lehner 0.8-2 - Use license-Macro - Add missing Obsoletes / Provides * Mon Aug 3 2015 Florian Lehner 0.8-1 - Rename from cv to progress - Update to new Version * Wed Jun 24 2015 Florian Lehner 0.7-1 - Update to new Version * Wed Jun 17 2015 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Feb 23 2015 Florian Lehner 0.6-1 - Update to new Version * Wed Sep 3 2014 Florian Lehner 0.5.1-1 - Update to new version * Sat Aug 16 2014 Fedora Release Engineering - 0.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Aug 11 2014 Florian Lehner 0.4.1-4 - Unset __hardened_build - Rename LDFLAGS to LFLAGS * Sun Aug 10 2014 Florian Lehner 0.4.1-3 - Use patch from upstream to consider already set flags - Use patch from upstream to fix overrides in Makefile - Use patch from upstream toa add manpage for cv - Add README.md to doc-section * Sun Aug 10 2014 Florian Lehner 0.4.1-2 - Appending CFLAGS and LDFLAGS instead of overriding it * Sat Aug 9 2014 Florian Lehner 0.4.1-1 - Initial packaging (#1128378)