2007-01-15 23:30:38 +00:00
|
|
|
#
|
2010-11-30 19:25:56 +00:00
|
|
|
# spec file for package perl-FreezeThaw (Version 0.5001)
|
2007-01-15 23:30:38 +00:00
|
|
|
#
|
2010-01-14 17:58:42 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:38 +00:00
|
|
|
#
|
2009-06-18 15:04:33 +00:00
|
|
|
# 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/
|
2007-01-15 23:30:38 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:04:33 +00:00
|
|
|
|
|
|
|
Name: perl-FreezeThaw
|
2009-07-27 21:35:00 +00:00
|
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
Summary: Converting Perl structures to strings and back
|
2010-11-30 19:25:56 +00:00
|
|
|
Version: 0.5001
|
2010-12-05 20:53:55 +00:00
|
|
|
Release: 4
|
2011-12-06 17:41:49 +00:00
|
|
|
License: Artistic-1.0
|
2009-06-18 15:04:33 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-04-02 22:22:23 +00:00
|
|
|
Url: http://search.cpan.org/dist/FreezeThaw
|
2010-11-30 19:25:56 +00:00
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/FreezeThaw-0.5001.tar.gz
|
2025-08-12 18:14:16 +02:00
|
|
|
Source100: README.md
|
2009-06-18 15:04:33 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:05:55 +00:00
|
|
|
%{perl_requires}
|
2009-07-27 21:35:00 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2007-01-15 23:30:38 +00:00
|
|
|
|
|
|
|
%description
|
2009-07-27 21:35:00 +00:00
|
|
|
Converts data to/from stringified form, appropriate for saving-to/reading-from
|
|
|
|
permanent storage.
|
2007-01-15 23:30:38 +00:00
|
|
|
|
2009-07-27 21:35:00 +00:00
|
|
|
Deals with objects, circular lists, repeated appearence of the same refence.
|
|
|
|
Does not deal with overloaded stringify operator yet.
|
2007-01-15 23:30:38 +00:00
|
|
|
|
2009-07-27 21:35:00 +00:00
|
|
|
Author: Ilya Zakharevich
|
2007-01-15 23:30:38 +00:00
|
|
|
%prep
|
2009-07-27 21:35:00 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:30:38 +00:00
|
|
|
|
|
|
|
%build
|
2009-07-27 21:35:00 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
2010-01-14 17:58:42 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-01-15 23:30:38 +00:00
|
|
|
|
2009-07-27 21:35:00 +00:00
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
2007-01-15 23:30:38 +00:00
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2009-07-27 21:35:00 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:30:38 +00:00
|
|
|
|
|
|
|
%clean
|
2009-07-27 21:35:00 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-15 23:30:38 +00:00
|
|
|
|
2009-07-27 21:35:00 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
# normally you only need to check for doc files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc Changes README
|
2007-01-15 23:30:38 +00:00
|
|
|
|
2009-06-18 15:04:33 +00:00
|
|
|
%changelog
|