|
@@ -0,0 +1,45 @@
|
|
|
|
+Name: cccc
|
|
|
|
+Version: 3.1.4
|
|
|
|
+Release: 1%{_dist_release}
|
|
|
|
+Summary: C and C++ Code Counter
|
|
|
|
+Group: Development/Tools
|
|
|
|
+License: GPL
|
|
|
|
+Url: http://cccc.sourceforge.net/
|
|
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Packager: yasumichi
|
|
|
|
+
|
|
|
|
+Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+
|
|
|
|
+%description
|
|
|
|
+This is a new version of the program CCCC (C and C++ Code Counter). This
|
|
|
|
+program exists to analyze and report measurements on source code in C, C++
|
|
|
|
+and Java. The languages Ada83 and Ada95, which were supported in previous
|
|
|
|
+versions are presently not supported.
|
|
|
|
+
|
|
|
|
+%prep
|
|
|
|
+%setup -q
|
|
|
|
+
|
|
|
|
+%build
|
|
|
|
+./build_posixgcc.sh
|
|
|
|
+
|
|
|
|
+%install
|
|
|
|
+rm -fr %{buildroot}
|
|
|
|
+
|
|
|
|
+cd install
|
|
|
|
+%{__make} INSTDIR=%{buildroot}%{_bindir} MKDIR='mkdir -p' -f install.mak install_cccc
|
|
|
|
+
|
|
|
|
+%clean
|
|
|
|
+rm -rf %{buildroot}
|
|
|
|
+
|
|
|
|
+%files
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%doc cccc/COPYING cccc/*.html
|
|
|
|
+%{_bindir}/%{name}
|
|
|
|
+
|
|
|
|
+%changelog
|
|
|
|
+* Fri Jul 20 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> -1
|
|
|
|
+- Initial build for Vine Linux
|
|
|
|
+
|