|
@@ -1,6 +1,6 @@
|
|
Name: cccc
|
|
Name: cccc
|
|
Version: 3.1.4
|
|
Version: 3.1.4
|
|
-Release: 1%{_dist_release}
|
|
+Release: 2%{_dist_release}
|
|
Summary: C and C++ Code Counter
|
|
Summary: C and C++ Code Counter
|
|
Group: Development/Tools
|
|
Group: Development/Tools
|
|
License: GPL
|
|
License: GPL
|
|
@@ -13,6 +13,8 @@ Packager: yasumichi
|
|
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
+Patch0: correct-modification.patch
|
|
|
|
+
|
|
%description
|
|
%description
|
|
This is a new version of the program CCCC (C and C++ Code Counter). This
|
|
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++
|
|
program exists to analyze and report measurements on source code in C, C++
|
|
@@ -21,9 +23,11 @@ versions are presently not supported.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch0 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
-./build_posixgcc.sh
|
|
+make pccts
|
|
|
|
+make cccc
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -fr %{buildroot}
|
|
rm -fr %{buildroot}
|
|
@@ -31,6 +35,9 @@ rm -fr %{buildroot}
|
|
cd install
|
|
cd install
|
|
%{__make} INSTDIR=%{buildroot}%{_bindir} MKDIR='mkdir -p' -f install.mak install_cccc
|
|
%{__make} INSTDIR=%{buildroot}%{_bindir} MKDIR='mkdir -p' -f install.mak install_cccc
|
|
|
|
|
|
|
|
+%check
|
|
|
|
+make test
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
@@ -40,6 +47,11 @@ rm -rf %{buildroot}
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Feb 08 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.4-2
|
|
|
|
+- rebuild with new tool chain
|
|
|
|
+- add Patch0
|
|
|
|
+- devide check script
|
|
|
|
+
|
|
* Fri Jul 20 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> -1
|
|
* Fri Jul 20 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> -1
|
|
- Initial build for Vine Linux
|
|
- Initial build for Vine Linux
|
|
|
|
|