rpms/perl-Algorithm-CheckDigits/F-8 perl-Algorithm-CheckDigits.spec, NONE, 1.1 sources, 1.1, 1.2

Xavier Bachelot (xavierb) fedora-extras-commits at redhat.com
Sun Dec 23 19:04:44 UTC 2007


Author: xavierb

Update of /cvs/pkgs/rpms/perl-Algorithm-CheckDigits/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19828

Modified Files:
	sources 
Added Files:
	perl-Algorithm-CheckDigits.spec 
Log Message:
Import in F-8 branch.



--- NEW FILE perl-Algorithm-CheckDigits.spec ---
Name:		perl-Algorithm-CheckDigits
Version:	0.48
Release:	1%{?dist}

Summary:	Perl extension to generate and test check digits

Group:		Development/Libraries
License:	GPL+ or Artistic
URL:		http://search.cpan.org/dist/Algorithm-CheckDigits/
Source0:	http://search.cpan.org/CPAN/authors/id/M/MA/MAMAWE/Algorithm-CheckDigits-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:	perl(Test::Pod::Coverage)
BuildRequires:	perl(Test::Pod)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))


%description
This module provides a number of methods to test and generate check digits.


%prep
%setup -q -n Algorithm-CheckDigits-%{version}
cd CheckDigits
for i in M11_006 MBase_002 MXX_006 M11_004 MXX_003; do
  {
  iconv -f iso-8859-1 -t utf-8 -o $i.pm{.utf8,}
  mv $i.pm{.utf8,}
  };
done;


%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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check || :
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/Algorithm::CheckDigits*3pm.gz


%changelog
* Fri Dec 21 2007 Xavier Bachelot <xavier at bachelot.org> - 0.48-1
- Update to 0.48
- Clean up spec.

* Wed Oct 18 2006 Xavier Bachelot <xavier at bachelot.org> - 0.41-1
- Initial build.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Algorithm-CheckDigits/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Dec 2007 18:24:33 -0000	1.1
+++ sources	23 Dec 2007 19:04:10 -0000	1.2
@@ -0,0 +1 @@
+c16aacf1770efa50c3db68959f4fae53  Algorithm-CheckDigits-0.48.tar.gz




More information about the fedora-extras-commits mailing list