| Revision 8244,
1.2 KB
checked in by yasumichi, 13 years ago
(diff) |
|
rebuild with new tool chain
|
| Line | |
|---|
| 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 | |
|---|
| 9 | Vendor: Project Vine |
|---|
| 10 | Distribution: Vine Linux |
|---|
| 11 | Packager: yasumichi |
|---|
| 12 | |
|---|
| 13 | Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz |
|---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 15 | |
|---|
| 16 | Patch0: correct-modification.patch |
|---|
| 17 | |
|---|
| 18 | %description |
|---|
| 19 | This is a new version of the program CCCC (C and C++ Code Counter). This |
|---|
| 20 | program exists to analyze and report measurements on source code in C, C++ |
|---|
| 21 | and Java. The languages Ada83 and Ada95, which were supported in previous |
|---|
| 22 | versions are presently not supported. |
|---|
| 23 | |
|---|
| 24 | %prep |
|---|
| 25 | %setup -q |
|---|
| 26 | %patch0 -p1 |
|---|
| 27 | |
|---|
| 28 | %build |
|---|
| 29 | make pccts |
|---|
| 30 | make cccc |
|---|
| 31 | |
|---|
| 32 | %install |
|---|
| 33 | rm -fr %{buildroot} |
|---|
| 34 | |
|---|
| 35 | cd install |
|---|
| 36 | %{__make} INSTDIR=%{buildroot}%{_bindir} MKDIR='mkdir -p' -f install.mak install_cccc |
|---|
| 37 | |
|---|
| 38 | %check |
|---|
| 39 | make test |
|---|
| 40 | |
|---|
| 41 | %clean |
|---|
| 42 | rm -rf %{buildroot} |
|---|
| 43 | |
|---|
| 44 | %files |
|---|
| 45 | %defattr(-,root,root) |
|---|
| 46 | %doc cccc/COPYING cccc/*.html |
|---|
| 47 | %{_bindir}/%{name} |
|---|
| 48 | |
|---|
| 49 | %changelog |
|---|
| 50 | * Sat Feb 08 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.4-2 |
|---|
| 51 | - rebuild with new tool chain |
|---|
| 52 | - add Patch0 |
|---|
| 53 | - devide check script |
|---|
| 54 | |
|---|
| 55 | * Fri Jul 20 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> -1 |
|---|
| 56 | - Initial build for Vine Linux |
|---|
| 57 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.