Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Net-Curl
perl-Net-Curl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Net-Curl.spec of Package perl-Net-Curl
# # spec file for package perl-Net-Curl # # 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 Net-Curl Name: perl-Net-Curl Version: 0.550.0 Release: 0 %define cpan_version 0.55 License: MIT Summary: Perl interface for libcurl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/S/SY/SYP/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Patch0: fix-curl.diff BuildRequires: perl BuildRequires: perl-macros Provides: perl(Net::Curl) = 0.550.0 Provides: perl(Net::Curl::Compat) = 4.15 Provides: perl(Net::Curl::Easy) = 0.550.0 Provides: perl(Net::Curl::Easy::Code) Provides: perl(Net::Curl::Form) = 0.550.0 Provides: perl(Net::Curl::Form::Code) Provides: perl(Net::Curl::Multi) = 0.550.0 Provides: perl(Net::Curl::Multi::Code) Provides: perl(Net::Curl::Share) = 0.550.0 Provides: perl(Net::Curl::Share::Code) %undefine __perllib_provides Recommends: perl(ExtUtils::PkgConfig) %{perl_requires} # MANUAL BEGIN BuildRequires: perl(ExtUtils::PkgConfig) curl-devel # MANUAL END %description This package contains some static functions and version-releated constants. It does not export by default anything, but constants can be exported upon request. use Net::Curl qw(:constants); To perform any request you want Net::Curl::Easy. %prep %autosetup -n %{cpan_name}-%{cpan_version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes Curl_Easy.xsh Curl_Form.xsh Curl_Multi.xsh Curl_Share.xsh examples 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