"Fossies" - the Fresh Open Source Software Archive

Member "c_count-7.20/package/c_count.spec" (9 Jan 2021, 1411 Bytes) of package /linux/privat/c_count-7.20.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "c_count.spec": 7.19_vs_7.20.

    1 Summary: c_count - C-language line counter
    2 %define AppProgram c_count
    3 %define AppVersion 7.20
    4 # $Id: c_count.spec,v 1.11 2021/01/09 15:01:45 tom Exp $
    5 Name: %{AppProgram}
    6 Version: %{AppVersion}
    7 Release: 1
    8 License: MIT
    9 Group: Applications/Development
   10 URL: ftp://invisible-island.net/%{AppProgram}
   11 Source0: %{AppProgram}-%{AppVersion}.tgz
   12 Vendor: Thomas E. Dickey
   13 Packager: Thomas E. Dickey <dickey@invisible-island.net>
   14 
   15 %description
   16 C_count  counts  lines  and  statements in C-language source files.  It
   17 provides related statistics on the amount of whitespace,  comments  and
   18 code.   C_count  also  shows  the  presence  of  unbalanced (or nested)
   19 comments, unbalanced quotation marks and illegal characters.
   20 
   21 %prep
   22 
   23 %define debug_package %{nil}
   24 
   25 %setup -q -n %{AppProgram}-%{AppVersion}
   26 
   27 %build
   28 
   29 INSTALL_PROGRAM='${INSTALL}' \
   30     ./configure \
   31         --prefix=%{_prefix} \
   32         --bindir=%{_bindir} \
   33         --mandir=%{_mandir}
   34 
   35 make
   36 
   37 %install
   38 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
   39 
   40 make install                    DESTDIR=$RPM_BUILD_ROOT
   41 
   42 strip $RPM_BUILD_ROOT%{_bindir}/%{AppProgram}
   43 
   44 %clean
   45 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
   46 
   47 %files
   48 %defattr(-,root,root)
   49 %{_bindir}/%{AppProgram}
   50 %{_mandir}/man1/%{AppProgram}.*
   51 
   52 %changelog
   53 # each patch should add its ChangeLog entries here
   54 
   55 * Fri May 11 2018 Thomas Dickey
   56 - suppress debug-symbols
   57 
   58 * Fri Jul 16 2010 Thomas Dickey
   59 - initial version