Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-CPAN-SQLite
perl-CPAN-SQLite.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-CPAN-SQLite.spec of Package perl-CPAN-SQLite
# # spec file for package perl-CPAN-SQLite # # Copyright (c) 2018 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 https://bugs.opensuse.org/ # Name: perl-CPAN-SQLite Version: 0.212 Release: 0 %define cpan_name CPAN-SQLite Summary: Maintain and Search a Minimal Cpan Database License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/CPAN-SQLite/ Source0: https://cpan.metacpan.org/authors/id/S/ST/STRO/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Archive::Tar) >= 1.54 BuildRequires: perl(CPAN::DistnameInfo) >= 0.09 BuildRequires: perl(CPAN::HandleConfig) BuildRequires: perl(CPAN::Index) >= 1.93 BuildRequires: perl(CPAN::Version) BuildRequires: perl(Compress::Zlib) BuildRequires: perl(DBD::SQLite) >= 1.27 BuildRequires: perl(DBI) BuildRequires: perl(File::HomeDir) BuildRequires: perl(HTTP::Tiny) BuildRequires: perl(IO::Zlib) BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(parent) Requires: perl(Archive::Tar) >= 1.54 Requires: perl(CPAN::DistnameInfo) >= 0.09 Requires: perl(CPAN::Index) >= 1.93 Requires: perl(Compress::Zlib) Requires: perl(DBD::SQLite) >= 1.27 Requires: perl(DBI) Requires: perl(File::HomeDir) Requires: perl(HTTP::Tiny) Requires: perl(IO::Zlib) Requires: perl(parent) %{perl_requires} %description This package is used for setting up, maintaining, and searching a CPAN database consisting of the information stored in the three main CPAN indices: _$CPAN/modules/03modlist.data.gz_, _$CPAN/modules/02packages.details.txt.gz_, and _$CPAN/authors/01mailrc.txt.gz_. It should be considered at an alpha stage of development. One begins by creating the object as my $obj = CPAN::SQLite->new(%args); which accepts the following arguments: * * 'CPAN => '/path/to/CPAN'' This specifies the path to where the index files are to be stored. This could be a local CPAN mirror, defined here by the presence of a _MIRRORED.BY_ file beneath this directory, or a local directory in which to store these files from a remote CPAN mirror. In the latter case, the index files are fetched from a remote CPAN mirror, using the same list that 'CPAN.pm' uses, if this is configured, and are updated if they are more than one day old. If the 'CPAN' option is not given, it will default to 'cpan_home' of CPAN, if this is configured, with the index files found under 'keep_source_where'. A fatal error results if such a directory isn't found. Updates to these index files are assumed here to be handled by 'CPAN.pm'. * * 'db_dir => '/path/to/db/dir'' This specifies the path to where the database file is found. If not given, it defaults to the 'cpan_home' directory of 'CPAN.pm', if present, or to the directory in which the script was invoked. The name of the database file is 'cpandb.sql'. There are two main methods available. %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 %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