1
0

Accepting request 54410 from devel:languages:perl

Accepted submit request 54410 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Algorithm-Annotate?expand=0&rev=10
This commit is contained in:
Lars Vogdt 2010-12-05 20:33:49 +00:00 committed by Git OBS Bridge
commit 35c7231e22
5 changed files with 51 additions and 36 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9b1764643933eb1a3356906cc372d483a99416207a31df3e58ee9892d9922f9
size 1611

17
_service Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0"?>
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">www.cpan.org</param>
<param name="path">/modules/by-module/Algorithm/Algorithm-Annotate-0.10.tar.gz</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:Algorithm-Annotate-0.10.tar.gz</param>
<param name="verifier">sha256</param>
<param name="checksum">c9b1764643933eb1a3356906cc372d483a99416207a31df3e58ee9892d9922f9</param>
</service>
<service name="recompress">
<param name="file">*.tar.gz</param>
<param name="compression">bz2</param>
</service>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f023b94c0de1dbf4538cdbf1211bfd5d10f86ddb8d888e5e5a8bc9833fa9a3b2
size 1725

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 1 13:30:33 UTC 2010 - coolo@novell.com
- recreate with cpanspec 1.78.03
-------------------------------------------------------------------
Tue Oct 19 08:38:20 UTC 2010 - coolo@novell.com

View File

@ -15,54 +15,47 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# 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
Version: 0.10
Release: 145
Source: http://cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Release: 1
License: CHECK(GPL+ or Artistic)
%define cpan_name Algorithm-Annotate
Summary: represent a series of changes in annotate form
Url: http://search.cpan.org/dist/Algorithm-Annotate/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/C/CL/CLKAO/Algorithm-Annotate-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl(Algorithm::Diff) >= 1.15
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(Algorithm::Diff) >= 1.15
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%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
%perl_gen_filelist
%clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root)
%dir %{perl_vendorlib}/Algorithm
%{perl_vendorlib}/Algorithm/Annotate.pm
%dir %{perl_vendorarch}/auto/Algorithm
%dir %{perl_vendorarch}/auto/Algorithm/Annotate
%{perl_vendorarch}/auto/Algorithm/Annotate/.packlist
%{_mandir}/man3/Algorithm::Annotate.3pm.gz
/var/adm/perl-modules/%{name}
%files -f %{name}.files
%defattr(644,root,root,755)
%changelog