8
0
Files
perl-Data-Dump/perl-Data-Dump.spec

67 lines
1.6 KiB
RPMSpec
Raw Normal View History

%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?/*
%{perl_vendorlib}/Data
%{perl_vendorarch}/auto/Data
/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