[perl-Class-Accessor-Lite] Import.

corsepiu corsepiu at fedoraproject.org
Sat Jan 15 05:32:25 UTC 2011


commit 6026f9c500ac74541415691154271f38b44351c4
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Jan 15 06:32:09 2011 +0100

    Import.

 .gitignore                    |    1 +
 perl-Class-Accessor-Lite.spec |   51 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9dc5cb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Class-Accessor-Lite-0.05.tar.gz
diff --git a/perl-Class-Accessor-Lite.spec b/perl-Class-Accessor-Lite.spec
new file mode 100644
index 0000000..e3e2308
--- /dev/null
+++ b/perl-Class-Accessor-Lite.spec
@@ -0,0 +1,51 @@
+Name:           perl-Class-Accessor-Lite
+Version:        0.05
+Release:        1%{?dist}
+Summary:        Minimalistic variant of Class::Accessor
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Class-Accessor-Lite/
+Source0:        http://www.cpan.org/authors/id/K/KA/KAZUHO/Class-Accessor-Lite-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+The module is a variant of Class::Accessor. It is fast and requires
+less typing, has no dependencies to other modules, and does not mess
+up the @ISA.
+
+%prep
+%setup -q -n Class-Accessor-Lite-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Dec 22 2010 Ralf Corsépius <corsepiu at fedoraproject.org> 0.05-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..2c44d66 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c487f0ebe2038363b68e9e68ae4beb54  Class-Accessor-Lite-0.05.tar.gz


More information about the scm-commits mailing list