cccc-vl.spec 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Name: cccc
  2. Version: 3.1.4
  3. Release: 1%{_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. %description
  14. This is a new version of the program CCCC (C and C++ Code Counter). This
  15. program exists to analyze and report measurements on source code in C, C++
  16. and Java. The languages Ada83 and Ada95, which were supported in previous
  17. versions are presently not supported.
  18. %prep
  19. %setup -q
  20. %build
  21. ./build_posixgcc.sh
  22. %install
  23. rm -fr %{buildroot}
  24. cd install
  25. %{__make} INSTDIR=%{buildroot}%{_bindir} MKDIR='mkdir -p' -f install.mak install_cccc
  26. %clean
  27. rm -rf %{buildroot}
  28. %files
  29. %defattr(-,root,root)
  30. %doc cccc/COPYING cccc/*.html
  31. %{_bindir}/%{name}
  32. %changelog
  33. * Fri Jul 20 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> -1
  34. - Initial build for Vine Linux