rpms/perl-Business-CreditCard/EL-5 perl-Business-CreditCard.spec, NONE, 1.1 sources, 1.1, 1.2

Michael Stahnke (stahnma) fedora-extras-commits at redhat.com
Wed Jun 25 17:43:51 UTC 2008


Author: stahnma

Update of /cvs/extras/rpms/perl-Business-CreditCard/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23951/EL-5

Modified Files:
	sources 
Added Files:
	perl-Business-CreditCard.spec 
Log Message:
Adding sources and spec files.  Ready to build


--- NEW FILE perl-Business-CreditCard.spec ---
Name:           perl-Business-CreditCard
Version:        0.30
Release:        1%{?dist}
Summary:        Validate/generate credit card checksums/names
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Business-CreditCard/
Source0:        http://www.cpan.org/modules/by-module/Business/Business-CreditCard-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
These subroutines tell you whether a credit card number is self-consistent
-- whether the last digit of the number is a valid checksum for the
preceding digits.

%prep
%setup -q -n Business-CreditCard-%{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 BINS Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Jun 23 2008 Michael Stahnke <mastahnke at gmail.com> 0.30-1
- Specfile autogenerated by cpanspec 1.77.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Business-CreditCard/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Jun 2008 00:19:01 -0000	1.1
+++ sources	25 Jun 2008 17:42:28 -0000	1.2
@@ -0,0 +1 @@
+2d532583fbd58561f7f46f914cdf4510  Business-CreditCard-0.30.tar.gz




More information about the fedora-extras-commits mailing list