- recreated by cpanspec 1.78.02
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-CGI-Session-Serialize-yaml?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
e29c325cb3
commit
9a0eda5b92
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 13:30:22 UTC 2010 - coolo@novell.com
|
||||
|
||||
- recreated by cpanspec 1.78.02
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 28 11:37:42 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,71 +1,73 @@
|
||||
#
|
||||
# spec file for package perl-CGI-Session-Serialize-yaml
|
||||
# spec file for package perl-CGI-Session-Serialize-yaml (Version 4.24)
|
||||
#
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
# Copyright (c) 2010 SUSE LINUX Products 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/
|
||||
#
|
||||
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-CGI-Session-Serialize-yaml
|
||||
%define real_name CGI-Session-Serialize-yaml
|
||||
Summary: YAML-serializer for CGI::Session
|
||||
Url: http://search.cpan.org/perldoc?CGI::Session::Serialize::yaml
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License
|
||||
%define cpan_name CGI-Session-Serialize-yaml
|
||||
Summary: Serializer for CGI::Session
|
||||
Version: 4.24
|
||||
Release: 0
|
||||
Source: %{real_name}-%{version}.tar.bz2
|
||||
Requires: perl-CGI-Session
|
||||
BuildRequires: perl-Test-Pod
|
||||
BuildRequires: perl-CGI-Session
|
||||
BuildRequires: perl-YAML-Syck
|
||||
Requires: perl = %{perl_version}
|
||||
Release: 1
|
||||
License: Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/CGI-Session-Serialize-yaml/
|
||||
#Source: http://www.cpan.org/modules/by-module/CGI/CGI-Session-Serialize-yaml-%{version}.tar.bz2
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(CGI::Session) >= 4.3
|
||||
BuildRequires: perl(CGI::Session::ErrorHandler) >= 4.3
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(CGI::Session) >= 4.3
|
||||
Requires: perl(CGI::Session::ErrorHandler) >= 4.3
|
||||
|
||||
%description
|
||||
This library can be used by CGI::Session to serialize session data. It uses
|
||||
YAML, or the faster C implementation, YAML::Syck if it is available. YAML
|
||||
serializers exist not just for Perl but also other dynamic languages, such as
|
||||
PHP, Python, and Ruby, so storing session data in this format makes it easy to
|
||||
share session data across different languages.
|
||||
|
||||
YAML is made to be friendly for humans to parse as well as other computer
|
||||
languages. It creates a format that is easier to read than the default
|
||||
serializer.
|
||||
|
||||
Author:
|
||||
-------
|
||||
Ron Savage
|
||||
serializers exist not just for Perl but also other dynamic languages, such
|
||||
as PHP, Python, and Ruby, so storing session data in this format makes it
|
||||
easy to share session data across different languages.
|
||||
|
||||
%prep
|
||||
%setup -n %{real_name}-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?jobs:-j%jobs}
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README Changes* Changelog.ini MANIFEST
|
||||
%doc %{_mandir}/man?/*
|
||||
%dir %{perl_vendorlib}/CGI
|
||||
%dir %{perl_vendorlib}/CGI/Session
|
||||
%dir %{perl_vendorarch}/auto/CGI
|
||||
%dir %{perl_vendorarch}/auto/CGI/Session
|
||||
%dir %{perl_vendorarch}/auto/CGI/Session/Serialize
|
||||
%dir %{perl_vendorarch}/auto/CGI/Session/Serialize/yaml
|
||||
%{perl_vendorlib}/CGI/Session/Serialize/yaml.pm
|
||||
/var/adm/perl-modules/%{name}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changelog.ini Changes.txt README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user