cccc-vl.spec 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Name: cccc
  2. Version: 3.1.4
  3. Release: 2%{_dist_release}
  4. Summary: C and C++ Code Counter
  5. Group: Development/Tools
  6. License: GPL
  7. Url: http://cccc.sourceforge.net/
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: yasumichi
  11. Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Patch0: correct-modification.patch
  14. %description
  15. This is a new version of the program CCCC (C and C++ Code Counter). This
  16. program exists to analyze and report measurements on source code in C, C++
  17. and Java. The languages Ada83 and Ada95, which were supported in previous
  18. versions are presently not supported.
  19. %prep
  20. %setup -q
  21. %patch0 -p1
  22. %build
  23. make pccts
  24. make cccc
  25. %install
  26. rm -fr %{buildroot}
  27. cd install
  28. %{__make} INSTDIR=%{buildroot}%{_bindir} MKDIR='mkdir -p' -f install.mak install_cccc
  29. %check
  30. make test
  31. %clean
  32. rm -rf %{buildroot}
  33. %files
  34. %defattr(-,root,root)
  35. %doc cccc/COPYING cccc/*.html
  36. %{_bindir}/%{name}
  37. %changelog
  38. * Sat Feb 08 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.4-2
  39. - rebuild with new tool chain
  40. - add Patch0
  41. - devide check script
  42. * Fri Jul 20 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> -1
  43. - Initial build for Vine Linux