commit 5adb821982e0b78824128e93b384cff4660bc075 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Apr 16 16:02:39 2013 +0200 Import .gitignore | 1 + perl-Object-Tiny.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 49 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..527b829 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Object-Tiny-1.08.tar.gz diff --git a/perl-Object-Tiny.spec b/perl-Object-Tiny.spec new file mode 100644 index 0000000..cfeb6eb --- /dev/null +++ b/perl-Object-Tiny.spec @@ -0,0 +1,47 @@ +Name: perl-Object-Tiny +Version: 1.08 +Release: 1%{?dist} +Summary: Class building as simple as it gets +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Object-Tiny/ +Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Object-Tiny-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(ExtUtils::MakeMaker) +# Tests: +BuildRequires: perl(Test::More) >= 0.47 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +To use Object::Tiny, just call it with a list of accessors to be created. +This will create a basic "new" constructor and a bunch of simple accessors, +and set the inheritance to be the child of Object::Tiny. + +%prep +%setup -q -n Object-Tiny-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes examples LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Apr 16 2013 Petr Pisar <ppisar@xxxxxxxxxx> 1.08-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..5d74185 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +01faa01e179ea95ec9e792dd0ead64f0 Object-Tiny-1.08.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