Author: iarnell

Update of /cvs/pkgs/rpms/perl-Mixin-ExtraFields/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12488/devel

Modified Files:
        .cvsignore sources 
Added Files:
        perl-Mixin-ExtraFields.spec 
Log Message:
initial import


--- NEW FILE perl-Mixin-ExtraFields.spec ---
Name:           perl-Mixin-ExtraFields
Version:        0.008
Release:        1%{?dist}
Summary:        Add extra stashes of data to your objects
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Mixin-ExtraFields/
Source0:        
http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-ExtraFields-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Sub::Exporter) => 0.972
BuildRequires:  perl(Sub::Install)
BuildRequires:  perl(String::RewritePrefix)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%{?perl_default_filter}

%description
Mixin::ExtraFields provides a simple way to add an arbitrary number of stashes
for named data.  These data can be stored in the object, in a database, or
anywhere else.  The storage mechanism is abstracted away from the provided
interface, so one storage mechanism can be easily swapped for another.
Multiple ExtraFields stashes can be mixed into one class, using one or many
storage mechanisms.

%prep
%setup -q -n Mixin-ExtraFields-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install DESTDIR=$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 LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Sun Feb 21 2010 Iain Arnell <iarn...@gmail.com> 0.008-1
- Specfile autogenerated by cpanspec 1.78.
- use perl_default_filter and DESTDIR
- tweak {build,}requires


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Mixin-ExtraFields/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  22 Feb 2010 21:34:43 -0000      1.1
+++ .cvsignore  23 Feb 2010 04:02:23 -0000      1.2
@@ -0,0 +1 @@
+Mixin-ExtraFields-0.008.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Mixin-ExtraFields/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     22 Feb 2010 21:34:43 -0000      1.1
+++ sources     23 Feb 2010 04:02:23 -0000      1.2
@@ -0,0 +1 @@
+d84223e0c938b73751c7aa305d9fb508  Mixin-ExtraFields-0.008.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to