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
|
Tue Oct 19 08:38:20 UTC 2010 - coolo@novell.com
|
||||||
|
@ -17,51 +17,54 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Algorithm-Annotate
|
Name: perl-Algorithm-Annotate
|
||||||
License: Artistic
|
%define cpan_name Algorithm-Annotate
|
||||||
Group: Development/Libraries/Perl
|
Summary: Represent a series of changes in annotate form
|
||||||
Url: http://cpan.org/
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
AutoReqProv: on
|
|
||||||
Summary: represent a series of changes in annotate form
|
|
||||||
Version: 0.10
|
Version: 0.10
|
||||||
Release: 145
|
Release: 1
|
||||||
Source: http://cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
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
|
%description
|
||||||
Algorithm::Annotate generates a list that is useful for generating
|
Algorithm::Annotate generates a list that is useful for generating output
|
||||||
output similar to cvs annotate.
|
simliar to cvs annotate.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Chia-liang Kao <clkao at clkao dot org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n Algorithm-Annotate-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_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
|
%clean
|
||||||
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
%dir %{perl_vendorlib}/Algorithm
|
%doc
|
||||||
%{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}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user