# # spec file for package perl-Data-Serializer # # Copyright (c) 2009 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 #Distribution: %dist #Packager: %packager #Vendor: %vendor Name: perl-Data-Serializer %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Modules that serialize data structures Version: 0.49 Release: 1 License: GPL/artistic Group: Development/Libraries/Perl Url: http://www.cpan.org Source0: %{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.00 BuildRequires: perl(AutoLoader) BuildRequires: perl(Exporter) BuildRequires: perl(Data::Dumper) >= 2.08 BuildRequires: perl(IO::File) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Storable) # other not perl || perl-base BuildRequires: perl(Compress::Zlib) BuildRequires: perl(Config::General) BuildRequires: perl(Crypt::CBC) BuildRequires: perl(Crypt::Blowfish) BuildRequires: perl(Data::Denter) BuildRequires: perl(Data::Taxi) BuildRequires: perl(Digest::SHA) BuildRequires: perl(Digest::SHA1) BuildRequires: perl(FreezeThaw) BuildRequires: perl(JSON) BuildRequires: perl(JSON::XS) BuildRequires: perl(JSON::Syck) BuildRequires: perl(PHP::Serialization) BuildRequires: perl(XML::Simple) BuildRequires: perl(XML::Dumper) BuildRequires: perl(YAML) BuildRequires: perl(YAML::Syck) # Compress::PPMd not available for 64bit #%ifarch ix86 #BuildRequires: perl(Compress::PPMd) #Requires: perl(Compress::PPMd) #%endif Requires: perl = %{perl_version} Requires: perl(AutoLoader) Requires: perl(Exporter) Requires: perl(Data::Dumper) >= 2.08 Requires: perl(IO::File) Requires: perl(MIME::Base64) Requires: perl(Storable) # other not perl || perl-base Requires: perl(Compress::Zlib) Requires: perl(Config::General) Requires: perl(Crypt::CBC) Requires: perl(Crypt::Blowfish) Requires: perl(Data::Denter) Requires: perl(Data::Taxi) Requires: perl(Digest::SHA) Requires: perl(Digest::SHA1) Requires: perl(FreezeThaw) Requires: perl(JSON) Requires: perl(JSON::XS) Requires: perl(JSON::Syck) Requires: perl(PHP::Serialization) Requires: perl(XML::Simple) Requires: perl(XML::Dumper) Requires: perl(YAML) Requires: perl(YAML::Syck) #---------------------------------------------------------------------------------- %description #---------------------------------------------------------------------------------- %{cpan_name} module for perl Provides a unified interface to the various serializing modules currently available. Adds the functionality of both compression and encryption. Author: Neil Neely ------------------------------------------------------------------------------- #---------------------------------------------------------------------------------- %prep #---------------------------------------------------------------------------------- %setup -q -n %{cpan_name}-%{version} #---------------------------------------------------------------------------------- %build #---------------------------------------------------------------------------------- CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor ./Build %check ./Build test #---------------------------------------------------------------------------------- %install #---------------------------------------------------------------------------------- ./Build install %perl_process_packlist %perl_gen_filelist #---------------------------------------------------------------------------------- %clean #---------------------------------------------------------------------------------- %{__rm} -rf $RPM_BUILD_ROOT #---------------------------------------------------------------------------------- %files -f %{name}.files #---------------------------------------------------------------------------------- %defattr(-,root,root) %doc Changes INSTALL README #---------------------------------------------------------------------------------- %changelog #---------------------------------------------------------------------------------- * Mon Aug 25 2008 - rpm@scorpio-it.net - 0.48 - initial Package