perl-Devel-Cover/perl-Devel-Cover.spec

91 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: perl-Devel-Cover
2007-01-11 14:38:55 +00:00
Version: 0.61
2006-08-03 13:31:32 +00:00
Release: 1%{?dist}
Summary: Code coverage metrics for Perl
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Devel-Cover/
Source0: http://www.cpan.org/authors/id/P/PJ/PJCJ/Devel-Cover-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Template)
2006-08-04 01:24:36 +00:00
BuildRequires: perl(PPI::HTML) >= 1.07
BuildRequires: perl(Perl::Tidy) >= 20060719
BuildRequires: perl(Pod::Coverage)
BuildRequires: perl(Test::Differences)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Pod::Coverage)
Requires: perl(Test::Differences)
2006-09-06 19:12:30 +00:00
# Optional modules
# Requires: perl(PPI::HTML) >= 1.07
# Requires: perl(Perl::Tidy) >= 20060719
%description
This module provides code coverage metrics for Perl.
%prep
%setup -q -n Devel-Cover-%{version}
chmod -c a-x buildperl
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
2007-01-04 20:58:12 +00:00
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc BUGS CHANGES README TODO all_versions buildperl cpancover create_gold session.vim
%{_bindir}/*
%{perl_vendorarch}/Devel/
%{perl_vendorarch}/auto/Devel/
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3pm*
%changelog
2007-01-11 14:38:55 +00:00
* Thu Jan 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.61-1
- Update to 0.61.
2007-01-04 20:58:12 +00:00
* Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.60-1
- Update to 0.60.
2006-09-06 19:12:30 +00:00
* Wed Sep 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.59-1
- Update to 0.59.
- Dropped PPI::HTML from the requirements list (optional module).
2006-08-09 17:01:44 +00:00
* Wed Aug 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
- Update to 0.58.
2006-08-04 01:24:36 +00:00
* Fri Aug 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.57-1
- Update to 0.57.
2006-08-03 13:31:32 +00:00
* Thu Aug 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.56-1
- Update to 0.56.
* Fri May 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.55-2
- Removed dependencies pulled in by a documentation file (#191110).
* Thu May 04 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.55-1
- First build.