Author: mmaslano Update of /cvs/pkgs/rpms/perl-Class-XSAccessor-Array/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1431 Modified Files: .cvsignore sources Added Files: perl-Class-XSAccessor-Array.spec Log Message: * Mon Mar 2 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 0.14-2 - add BR --- NEW FILE perl-Class-XSAccessor-Array.spec --- Name: perl-Class-XSAccessor-Array Version: 0.14 Release: 2%{?dist} Summary: Generate fast XS accessors without runtime compilation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-XSAccessor-Array/ Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Class-XSAccessor-Array-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(AutoXS::Header) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The module implements fast XS accessors both for getting at and setting an object attribute. Additionally, the module supports mutators and simple predicates (has_foo() like tests for definedness of an attributes). The module works only with objects that are implemented as arrays. Using it on hash-based objects is bound to make your life miserable. Refer to Class::XSAccessor for an implementation that works with hash-based objects. %prep %setup -q -n Class-XSAccessor-Array-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 -type f -name '*.bs' -size 0 -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_vendorarch}/auto/* %{perl_vendorarch}/Class* %{_mandir}/man3/* %changelog * Mon Mar 2 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 0.14-2 - add BR * Thu Feb 26 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 0.14-1 - Specfile autogenerated by cpanspec 1.78. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Class-XSAccessor-Array/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 5 Mar 2009 20:37:12 -0000 1.1 +++ .cvsignore 6 Mar 2009 06:47:50 -0000 1.2 @@ -0,0 +1 @@ +Class-XSAccessor-Array-0.14.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Class-XSAccessor-Array/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 5 Mar 2009 20:37:12 -0000 1.1 +++ sources 6 Mar 2009 06:47:50 -0000 1.2 @@ -0,0 +1 @@ +fe97bdfbfdcfb37260a270d0d8bd4b36 Class-XSAccessor-Array-0.14.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list