%global pkg_name App-sdif %global pkg_version 4.6.0 %global rpm_pkg_version 4.6.0 %global rpm_pkg_release 1.n0i.2 Summary: Sdif and family tools, cdif and watchdiff Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: https://metacpan.org/release/%{pkg_name} Source0: https://cpan.metacpan.org/authors/id/App/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Module::Build::Tiny) >= 0.035 BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(open) BuildRequires: perl(Getopt::EX) >= 1.10.0 BuildRequires: perl(List::Util) >= 1.45 BuildRequires: perl(Text::ANSI::Fold) >= 0.02 BuildRequires: perl(Text::VisualWidth::PP) >= 0.05 BuildRequires: perl(Unicode::EastAsianWidth::Detect) # perl 5.014 %description sdif-tools are composed by sdif and related tools including cdif and watchdiff. sdif prints diff output in side-by-side format. cdif adds visual effect for diff output, comparing lines in word-by-word, or character-by-character bases. watchdiff calls specified command repeatedly, and print the output with visual effect to emphasize modified part. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{perl_install} %files %defattr(-,root,root,-) %{perl_files -b -m} %doc Changes LICENSE README.md %changelog * Wed Oct 31 2018 Marius Feraru - 4.6.0-1.n0i.2 - version 4.6.0 * Sat Oct 13 2018 Marius Feraru - 4.5.6-1.n0i.1 - version 4.5.6