commit 82d4ea3af97095b6f58e9bb94037741f192ae0ef Author: Bill Pemberton <wfp5p@xxxxxxxxxxxx> Date: Thu Jul 19 09:07:22 2012 -0400 Initial import (#839742). .gitignore | 1 + perl-Rose-Object.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 74 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..11efeec 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Rose-Object-0.859.tar.gz diff --git a/perl-Rose-Object.spec b/perl-Rose-Object.spec new file mode 100644 index 0000000..36b2b1e --- /dev/null +++ b/perl-Rose-Object.spec @@ -0,0 +1,72 @@ +Name: perl-Rose-Object +Version: 0.859 +Release: 5%{?dist} +Summary: Simple object base class +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Rose-Object/ +Source0: http://www.cpan.org/authors/id/J/JS/JSIRACUSA/Rose-Object-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(constant) +BuildRequires: perl(lib) +BuildRequires: perl(B) +BuildRequires: perl(Carp) +BuildRequires: perl(lib) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Simple) +BuildRequires: perl(Test::Pod) >= 1.00 +Requires: perl(B) +Requires: perl(Test::More) +Requires: perl(Test::Simple) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%filter_from_requires /perl(Rose::DateTime::Util)/d +%filter_setup + +%description +Rose::Object is a generic object base class. It provides very little +functionality, but a healthy dose of convention. + +%prep +%setup -q -n Rose-Object-%{version} +find . -type f -executable -exec chmod -x {} \; + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes +%{perl_vendorlib}/Rose/ +%{_mandir}/man3/Rose*.3pm* + +%changelog +* Tue Jul 17 2012 Bill Pemberton <wfp5p@xxxxxxxxxxxx> - 0.859-5 +- Remove filter_from_requires for Rose::Object::MakeMethods +- update Requires and BuildRequires + +* Mon Jul 16 2012 Bill Pemberton <wfp5p@xxxxxxxxxxxx> - 0.859-4 +- remove buildroot and clean +- remove defattr from files section +- add constant to BuildRequires + +* Thu Jul 12 2012 Bill Pemberton <wfp5p@xxxxxxxxxxxx> - 0.859-3 +- Remove the execute bits in prep instead of build + +* Tue Jun 26 2012 Bill Pemberton <wfp5p@xxxxxxxxxxxx> - 0.859-2 +- Remove execute bits from everything + +* Tue Jun 26 2012 Bill Pemberton <wfp5p@xxxxxxxxxxxx> - 0.859-1 +- Initial version diff --git a/sources b/sources index e69de29..14bfd97 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f29945067ab64453be3f50c70e4daf85 Rose-Object-0.859.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel