LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-HTTP-XSCookies.spec of Package perl-HTTP-XSCookies (Project home:M0ses:Perl)

# spec file for package perl-HTTP-XSCookies
# 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-HTTP-XSCookies
Version:        0.000014
Release:        0
%define cpan_name HTTP-XSCookies
Summary: HTTP::XSCookies Perl module
License:        GPL-1.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/HTTP-XSCookies/
Source0:        http://www.cpan.org/authors/id/G/GO/GONZUS/HTTP-XSCookies-0.000014.tar.bz2
# Source0:        HTTP::XSCookies
#BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# BuildRequires: perl(Test::Pod) perl(Test::Pod::Coverage)
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Date::Parse)

HTTP::XSCookies - Fast XS cookie mangling for Perl

%setup -q -n %{cpan_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%{__make} test

find %buildroot/%_prefix -name *.bs -a -size 0 | xargs rm -f

%files -f %{name}.files