Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tinita:branches:devel:languages:perl
cpanspec
cpanspec.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpanspec.spec of Package cpanspec
# # spec file for package cpanspec # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define cpan_name cpanspec Name: cpanspec Version: 1.84.01.1690148437.6467bba Release: 0 Summary: Generate a SUSE spec file for a CPAN module License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Languages/Perl URL: https://github.com/openSUSE/cpanspec Source0: cpanspec-%{version}.tar.xz BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Algorithm::Diff) BuildRequires: perl(Archive::Tar) BuildRequires: perl(Archive::Zip) BuildRequires: perl(IO::Uncompress::Bunzip2) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Parse::CPAN::Packages) BuildRequires: perl(Perl::PrereqScanner) BuildRequires: perl(Pod::POM) BuildRequires: perl(Pod::Simple::TextContent) BuildRequires: perl(Text::Autoformat) BuildRequires: perl(YAML) BuildRequires: perl(YAML::XS) Requires: perl(Algorithm::Diff) Requires: perl(Archive::Tar) Requires: perl(Archive::Zip) Requires: perl(Class::Accessor::Chained) Requires: perl(File::ShareDir::Install) Requires: perl(LWP::Protocol::https) Requires: perl(LWP::UserAgent) Requires: perl(Module::Build::Tiny) Requires: perl(Parse::CPAN::Packages) Requires: perl(Perl::PrereqScanner) Requires: perl(Pod::POM) Requires: perl(Pod::Simple::TextContent) Requires: perl(Text::Autoformat) Requires: perl(Text::Capitalize) Requires: perl(YAML) Requires: perl(YAML::XS) Recommends: obs-service-format_spec_file Recommends: osc Recommends: perl(IO::Uncompress::Bunzip2) BuildArch: noarch %{perl_requires} %description *cpanspec* will generate a spec file to build a rpm from a CPAN-style Perl module distribution. %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test perl ./cpanspec -h %install %perl_make_install %perl_process_packlist %perl_gen_filelist install -Dm0644 share/version-snapshot/opensuse-dlp.tsv \ %{buildroot}%{_datadir}/cpanspec/version-snapshot/opensuse-dlp.tsv %files -f %{name}.files %dir %{_datadir}/cpanspec %dir %{_datadir}/cpanspec/version-snapshot %{_datadir}/cpanspec/version-snapshot/opensuse-dlp.tsv %defattr(-,root,root,755) %license COPYING %doc Artistic BUGS Changes TODO cpanspec.yml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor