Name: vcprompt Version: 1.2.1 Release: 1%{?dist} Summary: Version control information in your prompt License: GPLv2+ URL: https://bitbucket.org/gward/vcprompt Source0: https://bitbucket.org/gward/vcprompt/downloads/vcprompt-%{version}.tar.gz Patch0: man-escape.patch %description vcprompt is a little C program that prints a short string, to be included in your shell prompt, with bare-bones information about the current working directory for various version control systems. It is designed to be small and lightweight rather than comprehensive. Currently, it has varying degrees of recognition for Mercurial, Git, Subversion, CVS, and Fossil working copies. vcprompt has no external dependencies: it does everything with the standard C library and POSIX calls. It should work on any POSIX-compliant system with a C99 compiler. %prep %autosetup %build %configure make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} PREFIX=%{_prefix} MANDIR=%{buildroot}%{_mandir}/man1 chmod -x %{buildroot}%{_mandir}/man1/vcprompt.1* %files %doc README.txt %{_mandir}/man1/vcprompt.1* %{_bindir}/vcprompt %changelog * Sat Jan 24 2015 Steven Merrill - 1.2.1-1 - Updated to 1.2.1, incorporated a lot of packaging feedback, fixed a small man page issue. * Tue Jul 16 2013 Steven Merrill - 1.1-1 - Initial vcprompt RPM.