Files
perl-Object-Persistence/perl-Object-Persistence.spec

70 lines
1.8 KiB
RPMSpec
Raw Normal View History

%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
BuildRequires: perl
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?/*
%{perl_vendorlib}/Persistence/Object/Simple.pm
%{perl_vendorlib}/Persistence/Database.pm
%{perl_vendorarch}/auto/Object-Persistence
/var/adm/perl-modules/%{name}
%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