Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Data-Package
perl-Data-Package.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Data-Package.spec of Package perl-Data-Package
# # spec file for package perl-Data-Package # # 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/ # Name: perl-Data-Package Version: 1.05 Release: 0 %define cpan_name Data-Package Summary: Base class for packages that are purely data License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml Patch0: defined-array.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Inspector) >= 1.07 BuildRequires: perl(File::ShareDir) >= 0.05 BuildRequires: perl(Params::Coerce) >= 0.06 BuildRequires: perl(Params::Util) >= 0.21 Requires: perl(Class::Inspector) >= 1.07 Requires: perl(File::ShareDir) >= 0.05 Requires: perl(Params::Coerce) >= 0.06 Requires: perl(Params::Util) >= 0.21 %{perl_requires} %description 'Data::Package' provides the core of what is hoped will be a highly scalable and extendable API to create data packages and data products that can be delivered via the CPAN (and thus anywhere else). It provides a minimal API that separates how the developer obtains the data in their code from the methods by which the data is actually obtained, installed, loaded, parsed and accessed. The intent is that the consumer of the data should not have to know or care *how* the data is obtained, just that they are always able to obtain the data when they want in the format they want. It also allows the author or provider of the data to assign the data to a unique location within the perl namespace. The can then change or improve the underlying install, storage and loading mechanisms without the need for any code using that data to have to be changed. %prep %autosetup -n %{cpan_name}-%{version} -p1 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build PERL_USE_UNSAFE_INC=1 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 %license LICENSE %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