Blob Blame History Raw
Name: lcov
Version: 1.7
Release: 2%{?dist}

Summary: LTP GCOV extension code coverage tool
Group: Development/Tools
License: GPLv2+

URL: http://ltp.sourceforge.net/coverage/lcov.php
Source0: http://downloads.sourceforge.net/ltp/lcov-%{version}.tar.gz

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch

Requires: /usr/bin/gcov
Requires: perl(GD::Image)

%description
LCOV is an extension of GCOV, a GNU tool which provides information
about what parts of a program are actually executed (i.e. "covered")
while running a particular test case. The extension consists of a set
of PERL scripts which build on the textual GCOV output to implement
HTML output and support for large projects.

%prep
%setup -q

%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man5/*
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/lcovrc

%changelog
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Tue Aug 25 2009 Roland McGrath <roland@redhat.com> - 1.7-1
- Update to 1.7 release.

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Thu May 22 2008 Roland McGrath <roland@redhat.com> - 1.6-1
- Update to 1.6 release.
- Fix License: tag.

* Mon Feb 20 2006 Roland McGrath <roland@redhat.com> - 1.4-2
- Fix lcov -z to look for .gcda (GCC >= 3.4) suffix as well as .da (old GCC).
- Remove empty %%build from spec.
- Fix URL for source tarball.

* Mon Feb 13 2006 Roland McGrath <roland@redhat.com> - 1.4-1
- Initial build, some spec bits snarfed from upstream.