%define pkg_name Class-Eroot %define pkg_version 19960603 %define rpm_pkg_version 0.0 %define rpm_pkg_release 4.n0i.4 Summary: Struct/member template builder Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/D/DM/DMR/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools %description Class::Eroot is a simple object persistence engine that can persist any datatype. Some objects will need to have an extra method or two added to their classes, but this is probably the exception rather than the rule. %prep %setup -q -n %{pkg_name} %build %install %{__rm} -rf $RPM_BUILD_ROOT %{__install} -d -m 0755 $RPM_BUILD_ROOT%{perl_vendorlib}/Class/ %{__install} -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man3/ for i in Eroot Template ; do %{__install} -m 0644 $i.pm $RPM_BUILD_ROOT%{perl_vendorlib}/Class/ pod2man -s 3 -n "Class::$i" $i.pm > "$RPM_BUILD_ROOT%{_mandir}/man3/Class::$i.3pm" done %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc README %changelog * Tue Jun 05 2007 Marius Feraru - 0.0-4.n0i.4.19960603 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - rebuild on perl 5.8.8 * Mon Aug 01 2005 Marius Feraru 0.0-3.n0i.3.19960603 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Fri Jan 30 2004 Marius FERARU 0.0-2.n0i.2.19960603 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Wed Oct 01 2003 Marius FERARU 0.0-1.n0i.1.19960603 - version 19960603