+++ /dev/null
-.version
-*.gcda
-*.gcno
-*.info
-*.tar.gz
-*.rpm
-*.tdy
-
-# ignore autogenerated test files
-/tests/**/*.log
-/tests/**/*.counts
-/tests/**/*.info.gz
-/tests/**/*.info.json
-/tests/lcov/diff/diff
-/tests/lcov/diff/new/prog
-/tests/lcov/diff/old/prog
-/tests/gendiffcov/simple/a.out
-/tests/gendiffcov/simple/criteria.err
-/tests/gendiffcov/simple/diff.txt
-/tests/gendiffcov/simple/diff_broken.txt
-/tests/gendiffcov/simple/diff_r.txt
-/tests/gendiffcov/simple/navigation.err
-/tests/gendiffcov/simple/test.cpp
-/tests/lcov/add/prune
-/tests/lcov/add/prune2
-/tests/lcov/add/prune3
-/tests/lcov/add/track
-/tests/lcov/diff/patched_normalized.info-e
-/tests/lcov/extract/a.out
-/tests/lcov/extract/lcov.json
-/tests/lcov/extract/testRC
-
-
-# ignore autogenerated test directories
-/tests/genhtml/out_full/
-/tests/genhtml/out_part1/
-/tests/genhtml/out_part2/
-/tests/genhtml/out_target/
-/tests/genhtml/out_zero/
-/tests/src/
-/tests/gendiffcov/simple/baseline-filter-dark/
-/tests/gendiffcov/simple/baseline-filter/
-/tests/gendiffcov/simple/baseline/
-/tests/gendiffcov/simple/criteria/
-/tests/gendiffcov/simple/current/
-/tests/gendiffcov/simple/differential--show-details--hier/
-/tests/gendiffcov/simple/differential--show-details/
-/tests/gendiffcov/simple/differential/
-/tests/gendiffcov/simple/differential_nobranch/
-/tests/gendiffcov/simple/elidePath/
-/tests/gendiffcov/simple/mismatchPath/
-/tests/gendiffcov/simple/mismatched/
-/tests/gendiffcov/simple/navigation/
-/tests/gendiffcov/simple/no_annotation/
-/tests/gendiffcov/simple/no_baseline/
-/tests/gendiffcov/simple/no_owners/
-/tests/gendiffcov/simple/noncode_differential--dark-mode/
-/tests/gendiffcov/simple/noncode_differential/
-/tests/gendiffcov/simple/reverse/
-/tests/gendiffcov/simple/reverse_nobranch/
--- /dev/null
+Summary: A graphical GCOV front-end
+Name: lcov
+Version: 2.0
+Release: 1
+License: GPL-2.0+
+Group: Development/Tools
+URL: http://ltp.sourceforge.net/coverage/lcov.php
+Source0: http://downloads.sourceforge.net/ltp/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildArch: noarch
+Requires: perl >= 5.8.8
+Requires: perl-PerlIO-gzip
+Requires: perl-json
+
+%description
+LCOV is a graphical front-end for GCC's coverage testing tool gcov. It collects
+gcov data for multiple source files and creates HTML pages containing the
+source code annotated with coverage information. It also adds overview pages
+for easy navigation within the file structure.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+exit 0
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr CFG_DIR=/etc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+/usr/bin/*
+/usr/share/man/man*/*
+%config /etc/*
+%{_libdir}/lcov/lcovutil.pm
+%{_datadir}/lcov/support-scripts/*