forked from pool/perl-libwww-perl
		
	automatic update OBS-URL: https://build.opensuse.org/request/show/487924 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-libwww-perl?expand=0&rev=58
		
			
				
	
	
		
			100 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			100 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
| #
 | |
| # spec file for package perl-libwww-perl
 | |
| #
 | |
| # Copyright (c) 2017 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-libwww-perl
 | |
| Version:        6.26
 | |
| Release:        0
 | |
| %define cpan_name libwww-perl
 | |
| Summary:        The World-Wide Web library for Perl
 | |
| License:        Artistic-1.0 or GPL-1.0+
 | |
| Group:          Development/Libraries/Perl
 | |
| Url:            http://search.cpan.org/dist/libwww-perl/
 | |
| Source0:        https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
 | |
| Source1:        cpanspec.yml
 | |
| BuildArch:      noarch
 | |
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | |
| BuildRequires:  perl
 | |
| BuildRequires:  perl-macros
 | |
| BuildRequires:  perl(Encode::Locale)
 | |
| BuildRequires:  perl(File::Listing) >= 6
 | |
| BuildRequires:  perl(HTML::Entities)
 | |
| BuildRequires:  perl(HTML::HeadParser)
 | |
| BuildRequires:  perl(HTTP::Cookies) >= 6
 | |
| BuildRequires:  perl(HTTP::Daemon) >= 6
 | |
| BuildRequires:  perl(HTTP::Date) >= 6
 | |
| BuildRequires:  perl(HTTP::Negotiate) >= 6
 | |
| BuildRequires:  perl(HTTP::Request) >= 6
 | |
| BuildRequires:  perl(HTTP::Request::Common) >= 6
 | |
| BuildRequires:  perl(HTTP::Response) >= 6
 | |
| BuildRequires:  perl(HTTP::Status) >= 6
 | |
| BuildRequires:  perl(LWP::MediaTypes) >= 6
 | |
| BuildRequires:  perl(Net::HTTP) >= 6.07
 | |
| BuildRequires:  perl(Test::Fatal)
 | |
| BuildRequires:  perl(Test::RequiresInternet)
 | |
| BuildRequires:  perl(Try::Tiny)
 | |
| BuildRequires:  perl(URI) >= 1.10
 | |
| BuildRequires:  perl(URI::Escape)
 | |
| BuildRequires:  perl(WWW::RobotRules) >= 6
 | |
| Requires:       perl(Encode::Locale)
 | |
| Requires:       perl(File::Listing) >= 6
 | |
| Requires:       perl(HTML::Entities)
 | |
| Requires:       perl(HTML::HeadParser)
 | |
| Requires:       perl(HTTP::Cookies) >= 6
 | |
| Requires:       perl(HTTP::Daemon) >= 6
 | |
| Requires:       perl(HTTP::Date) >= 6
 | |
| Requires:       perl(HTTP::Negotiate) >= 6
 | |
| Requires:       perl(HTTP::Request) >= 6
 | |
| Requires:       perl(HTTP::Request::Common) >= 6
 | |
| Requires:       perl(HTTP::Response) >= 6
 | |
| Requires:       perl(HTTP::Status) >= 6
 | |
| Requires:       perl(LWP::MediaTypes) >= 6
 | |
| Requires:       perl(Net::HTTP) >= 6.07
 | |
| Requires:       perl(Try::Tiny)
 | |
| Requires:       perl(URI) >= 1.10
 | |
| Requires:       perl(URI::Escape)
 | |
| Requires:       perl(WWW::RobotRules) >= 6
 | |
| %{perl_requires}
 | |
| # MANUAL BEGIN
 | |
| Recommends:     perl(LWP::Protocol::https) >= 6.06
 | |
| # MANUAL END
 | |
| 
 | |
| %description
 | |
| The World-Wide Web library for Perl
 | |
| 
 | |
| %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 CONTRIBUTING.md README.SSL talk-to-ourself
 | |
| %license LICENSE
 | |
| 
 | |
| %changelog
 |