diff --git a/.cvsignore b/.cvsignore index e69de29..7a31696 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Algorithm-Annotate-0.10.tar.gz diff --git a/perl-Algorithm-Annotate.spec b/perl-Algorithm-Annotate.spec new file mode 100644 index 0000000..a567798 --- /dev/null +++ b/perl-Algorithm-Annotate.spec @@ -0,0 +1,54 @@ +Name: perl-Algorithm-Annotate +Version: 0.10 +Release: 4%{?dist} +Summary: Represent a series of changes in annotate form +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Algorithm-Annotate/ +Source0: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Algorithm::Diff) >= 1.15 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Algorithm::Annotate generates a list that is useful for generating output +simlar to cvs annotate. + +%prep +%setup -q -n Algorithm-Annotate-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +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 d -depth -exec rmdir {} 2>/dev/null \; + +chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jun 28 2006 Ian M. Burrell - 0.10-4 +- Remove requires, %doc + +* Tue Jun 27 2006 Ian M. Burrell - 0.10-3 +- Fix rpmlint warnings + +* Thu Mar 30 2006 Ian Burrell 0.10-1 +- Specfile autogenerated by cpanspec 1.64. diff --git a/sources b/sources index e69de29..59d8e1a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +453395489640e28fc772944ef08d396b Algorithm-Annotate-0.10.tar.gz