2006-10-31 15:17:27 +00:00
|
|
|
%define modname Object-Persistence
|
|
|
|
Name: perl-%{modname}
|
|
|
|
Version: 0.92
|
|
|
|
Release: 5
|
|
|
|
Summary: Object Persistence with Data::Dumper
|
|
|
|
Requires: perl = %{perl_version} perl-Data-Dump
|
2010-12-05 12:56:13 +00:00
|
|
|
BuildRequires: perl perl-macros
|
2006-10-31 15:17:27 +00:00
|
|
|
License: GPL/Artistic
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Source: %{modname}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Persistence::Object::Simple provides persistence functionality to its objects.
|
|
|
|
Object definitions are stored as stringified perl data structures, generated
|
|
|
|
with Data::Dumper, that are amenable to manual editing and external processing
|
|
|
|
from outside the class interface.
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Vipul Ved Prakash <mail@vipul.net>
|
|
|
|
|
|
|
|
%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 Changes examples
|
|
|
|
%doc %{_mandir}/man?/*
|
2008-12-23 19:49:37 +00:00
|
|
|
%{perl_vendorlib}/Persistence/
|
2006-10-31 15:17:27 +00:00
|
|
|
%{perl_vendorarch}/auto/Object-Persistence
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 22 2006 - James Oakley <jfunk@funktronics.ca> - 0.92-5
|
|
|
|
- Build under buildservice
|
|
|
|
|
|
|
|
* Fri Oct 28 2005 - James Oakley <jfunk@funktronics.ca> - 0.92-ft.4
|
|
|
|
- Add perl-Data-Dump req
|
|
|
|
|
|
|
|
* Fri Oct 28 2005 - James Oakley <jfunk@funktronics.ca> - 0.92-ft.3
|
|
|
|
- Build for SL10
|
|
|
|
|
|
|
|
* Mon Jun 06 2005 - James Oakley <jfunk@funktronics.ca> - 0.92-ft.2
|
|
|
|
- Build for SL93
|
|
|
|
|
|
|
|
* Sat Dec 18 2004 - James Oakley <jfunk@funktronics.ca> - 0.92-ft.1
|
|
|
|
- Build for SL92
|
|
|
|
|
|
|
|
* Mon May 17 2004 - James Oakley <jfunk@funktronics.ca> - 0.92-2
|
|
|
|
- Build for SL91
|
|
|
|
|
|
|
|
* Fri Nov 07 2003 - James Oakley <jfunk@funktronics.ca> - 0.92-1
|
|
|
|
- Initial release
|