Name: c_count Version: 7.14 Release: 1 Summary: Source Code Measure Counter for C/C++/Java License: MIT Group: Development/Tools/Other Source: ftp://invisible-island.net/c_count/%{name}-%{version}.tgz URL: http://invisible-island.net/c_count/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build %description c_count counts lines, statements, and other simple measures of C/C++/Java source programs. It is not lex/yacc based, and is easily portable to a variety of systems. %prep %setup -q %build ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* ||: cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc COPYING CHANGES README %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Thu Mar 27 2014 Michael Perzl - 7.14-1 - updated to version 7.14 * Mon Aug 26 2013 Michael Perzl - 7.13-1 - first version for AIX V5.1 and higher