commit cae8f1fc7e01b95ee247524f5da660ec96e8c823e85301463e0d4f1f72799ab5 Author: Pascal Bleser Date: Sun Jul 18 07:24:57 2010 +0000 7.12 OBS-URL: https://build.opensuse.org/package/show/devel:tools/c_count?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/c_count-7.12.tgz b/c_count-7.12.tgz new file mode 100644 index 0000000..e9af371 --- /dev/null +++ b/c_count-7.12.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f11ca2acd9a6ced1655a9f2834a7e2f6cc0770cc10931027ea7a132a5cadc041 +size 96016 diff --git a/c_count.changes b/c_count.changes new file mode 100644 index 0000000..b8f4f9a --- /dev/null +++ b/c_count.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Jul 18 07:23:53 UTC 2010 - pascal.bleser@opensuse.org + +- initial package (7.12) + diff --git a/c_count.spec b/c_count.spec new file mode 100644 index 0000000..b998ba4 --- /dev/null +++ b/c_count.spec @@ -0,0 +1,47 @@ +# norootforbuild + +Name: c_count +Version: 7.12 +Release: 0 +Summary: Source Code Measure Counter for C/C++/Java +Source: ftp://invisible-island.net/c_count/c_count-%{version}.tgz +URL: http://invisible-island.net/c_count/ +Group: Development/Tools/Other +License: MIT +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: gcc make glibc-devel +BuildRequires: autoconf automake libtool + +%description +c_count counts lines, statements, and other simple measures of C/C++/Java +source programs. It is not lex/yacc based, and is easily portable to a variety +of systems. + +%prep +%setup -q + +%build +%configure \ + --enable-warnings + +%__make %{?jobs:-j%{jobs}} + +%install +%makeinstall + +%check +pushd testing +./run_test.sh +popd #testing + +%clean +%__rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%doc COPYING CHANGES README +%{_bindir}/c_count +%doc %{_mandir}/man1/c_count.1%{ext_man} + +%changelog +# vim: set sw=4 ts=4 et nu: