automatic update OBS-URL: https://build.opensuse.org/request/show/428881 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Git-PurePerl?expand=0&rev=5
86 lines
2.8 KiB
RPMSpec
86 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package perl-Git-PurePerl
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-Git-PurePerl
|
|
Version: 0.53
|
|
Release: 0
|
|
%define cpan_name Git-PurePerl
|
|
Summary: Pure Perl interface to Git repositories
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/Git-PurePerl/
|
|
Source0: http://www.cpan.org/authors/id/B/BR/BROQ/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Archive::Extract)
|
|
BuildRequires: perl(Compress::Raw::Zlib)
|
|
BuildRequires: perl(Compress::Zlib)
|
|
BuildRequires: perl(Config::GitLike)
|
|
BuildRequires: perl(Data::Stream::Bulk)
|
|
BuildRequires: perl(DateTime)
|
|
BuildRequires: perl(File::Find::Rule)
|
|
BuildRequires: perl(IO::Digest)
|
|
BuildRequires: perl(Moose)
|
|
BuildRequires: perl(MooseX::StrictConstructor)
|
|
BuildRequires: perl(MooseX::Types::Path::Class)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Test::utf8) >= 0.02
|
|
BuildRequires: perl(namespace::autoclean)
|
|
Requires: perl(Archive::Extract)
|
|
Requires: perl(Compress::Raw::Zlib)
|
|
Requires: perl(Compress::Zlib)
|
|
Requires: perl(Config::GitLike)
|
|
Requires: perl(Data::Stream::Bulk)
|
|
Requires: perl(DateTime)
|
|
Requires: perl(File::Find::Rule)
|
|
Requires: perl(IO::Digest)
|
|
Requires: perl(Moose)
|
|
Requires: perl(MooseX::StrictConstructor)
|
|
Requires: perl(MooseX::Types::Path::Class)
|
|
Requires: perl(namespace::autoclean)
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This module is a Pure Perl interface to Git repositories.
|
|
|
|
It was mostly based on Grit http://grit.rubyforge.org/.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc CHANGES README test-encoding.tgz test-project-packs2.tgz test-project-packs.tgz test-project.tgz
|
|
|
|
%changelog
|