Browse Source

first import cccc

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6612 ec354946-7b23-47d6-9f5a-488ba84defc7
yasumichi 11 years ago
parent
commit
e7dfdeeecf
1 changed files with 45 additions and 0 deletions
  1. 45 0
      c/cccc/cccc-vl.spec

+ 45 - 0
c/cccc/cccc-vl.spec

@@ -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
+