Name: git-cal Version: 0.9.1 Release: 3%{?dist} Summary: GitHub-like contributions calendar on terminal License: MIT URL: https://github.com/k4rthik/git-cal Source0: https://github.com/k4rthik/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: /usr/bin/pod2man BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl Requires: perl(Data::Dumper) Requires: perl(Getopt::Long) Requires: perl(Pod::Usage) Requires: perl(Time::Local) %description git-cal is a simple script to view commits calendar (similar to GitHub contributions calendar) on command line. %prep %setup -q %build perl Makefile.PL DESTDIR=%{buildroot} PREFIX=%{_prefix} NO_PACKLIST=1 make %install make pure_install find %{buildroot} -type f -name .packlist -exec rm -f {} \; %files %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.* %changelog * Fri Mar 21 2014 Ricky Elrod - 0.9.1-3 - Add missing BR. * Sun Mar 16 2014 Ricky Elrod - 0.9.1-2 - Add a period to description. - Move the build process to build section. - Use mandir macro instead of hardcoded path. * Sun Mar 16 2014 Ricky Elrod - 0.9.1-1 - Initial build.