2006-10-31 15:10:37 +00:00
|
|
|
%define modname Data-Dump
|
|
|
|
Name: perl-%{modname}
|
|
|
|
Version: 1.06
|
|
|
|
Release: 4
|
|
|
|
Summary: Pretty printing of data structures
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
BuildRequires: perl
|
|
|
|
License: GPL/Artistic
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Source: %{modname}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module provide a single function called dump() that takes a list of
|
|
|
|
values as argument and produce a string as result. The string contains perl
|
|
|
|
code that when evaled will produce a deep copy of the original arguments. The
|
|
|
|
string is formatted for easy reading.
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gisle Aas <gisle@aas.no>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
make
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README Changes
|
|
|
|
%doc %{_mandir}/man?/*
|
2008-12-23 15:53:48 +00:00
|
|
|
%{perl_vendorlib}/Data
|
|
|
|
%{perl_vendorarch}/auto/Data
|
2006-10-31 15:10:37 +00:00
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 22 2006 - James Oakley <jfunk@funktronics.ca> - 1.06-4
|
|
|
|
- Build under buildservice
|
|
|
|
|
|
|
|
* Fri Oct 28 2005 - James Oakley <jfunk@funktronics.ca> - 1.06-ft.3
|
|
|
|
- Build for SL10
|
|
|
|
|
|
|
|
* Mon Jun 06 2005 - James Oakley <jfunk@funktronics.ca> - 1.06-ft.2
|
|
|
|
- Build for SL93
|
|
|
|
|
|
|
|
* Sat Dec 18 2004 - James Oakley <jfunk@funktronics.ca> - 1.06-ft.1
|
|
|
|
- Update
|
|
|
|
- Build for SL92
|
|
|
|
|
|
|
|
* Mon May 17 2004 - James Oakley <jfunk@funktronics.ca> - 1.03-1
|
|
|
|
- Build for SL91
|
|
|
|
|
|
|
|
* Fri Nov 07 2003 - James Oakley <jfunk@funktronics.ca> - 1.01-1
|
|
|
|
- Initial release
|