rpms/perl-autobox/F-10 import.log, NONE, 1.1 perl-autobox.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Allisson Azevedo allisson at fedoraproject.org
Mon Feb 9 02:18:04 UTC 2009


Author: allisson

Update of /cvs/pkgs/rpms/perl-autobox/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6604/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-autobox.spec 
Log Message:

First import for devel



--- NEW FILE import.log ---
perl-autobox-2_55-1_fc10:F-10:perl-autobox-2.55-1.fc10.src.rpm:1234145633


--- NEW FILE perl-autobox.spec ---
Name:           perl-autobox
Version:        2.55
Release:        1%{?dist}
Summary:        Call methods on native types
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/autobox/
Source0:        http://www.cpan.org/authors/id/C/CH/CHOCOLATE/autobox-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Scope::Guard) >= 0.03
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The autobox pragma allows methods to be called on integers, floats,
strings, arrays, hashes, and code references in exactly the same manner as
blessed references.

%prep
%setup -q -n autobox-%{version}

# Filter requires
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
sed -e '/perl(autobox)/d' |\
sed -e '/perl(autobox::universal)/d'
EOF

%define __perl_requires %{_builddir}/autobox-%{version}/%{name}-req
chmod +x %{__perl_requires}

%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}/autobox*
%{_mandir}/man3/*

%changelog
* Wed Feb 04 2009 Allisson Azevedo <allisson at gmail.com> 2.55-1
- Initial rpm release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-autobox/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Feb 2009 21:49:29 -0000	1.1
+++ .cvsignore	9 Feb 2009 02:17:34 -0000	1.2
@@ -0,0 +1 @@
+autobox-2.55.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-autobox/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Feb 2009 21:49:29 -0000	1.1
+++ sources	9 Feb 2009 02:17:34 -0000	1.2
@@ -0,0 +1 @@
+d2813439a0da9b048cc1793af05b2144  autobox-2.55.tar.gz




More information about the scm-commits mailing list