forked from pool/perl-Algorithm-Annotate
- recreated by cpanspec 1.78.02
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-Annotate?expand=0&rev=8
This commit is contained in:
parent
fb6c165ccf
commit
d46316a464
@ -1,7 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 28 11:37:41 UTC 2010 - coolo@novell.com
|
||||
Sun Nov 28 13:08:52 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove .packlist file
|
||||
- recreated by cpanspec 1.78.02
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 08:38:20 UTC 2010 - coolo@novell.com
|
||||
|
@ -17,51 +17,54 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Algorithm-Annotate
|
||||
License: Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://cpan.org/
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Summary: represent a series of changes in annotate form
|
||||
%define cpan_name Algorithm-Annotate
|
||||
Summary: Represent a series of changes in annotate form
|
||||
Version: 0.10
|
||||
Release: 145
|
||||
Source: http://cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz
|
||||
Release: 1
|
||||
License: CHECK(GPL+ or Artistic)
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Algorithm-Annotate/
|
||||
#Source: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Algorithm::Diff) >= 1.15
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(Algorithm::Diff) >= 1.15
|
||||
|
||||
%description
|
||||
Algorithm::Annotate generates a list that is useful for generating
|
||||
output similar to cvs annotate.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Chia-liang Kao <clkao at clkao dot org>
|
||||
Algorithm::Annotate generates a list that is useful for generating output
|
||||
simliar to cvs annotate.
|
||||
|
||||
%prep
|
||||
%setup -n Algorithm-Annotate-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
%{__make}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%dir %{perl_vendorlib}/Algorithm
|
||||
%{perl_vendorlib}/Algorithm/Annotate.pm
|
||||
%dir %{perl_vendorarch}/auto/Algorithm
|
||||
%dir %{perl_vendorarch}/auto/Algorithm/Annotate
|
||||
%{_mandir}/man3/Algorithm::Annotate.3pm.gz
|
||||
/var/adm/perl-modules/%{name}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user