commit f3bdd63c80be3206f9d8e0d402137a60306d1569 Author: Marcela Mašláňová mmaslano@redhat.com Date: Mon Oct 4 12:53:14 2010 +0200
Initial push.
.gitignore | 1 + perl-Convert-UU.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d20b5ac 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +Convert-UU-0.5201.tar.gz diff --git a/perl-Convert-UU.spec b/perl-Convert-UU.spec new file mode 100644 index 0000000..f518d14 --- /dev/null +++ b/perl-Convert-UU.spec @@ -0,0 +1,51 @@ +Name: perl-Convert-UU +Version: 0.5201 +Release: 1%{?dist} +Summary: Perl module for uuencode and uudecode +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Convert-UU/ +Source0: http://www.cpan.org/authors/id/A/AN/ANDK/Convert-UU-%%7Bversion%7D.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker), perl(Exporter) +BuildRequires: perl(File::Spec), perl(Test::More), perl(Test::Pod) >= 1.00 +# tests +# ext-uu.t needs sharutils, otherwise it's skipped +BuildRequires: sharutils +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +%{summary}. + +%prep +%setup -q -n Convert-UU-%{version} +sed -i 's|local/perl5.002_01/||' puudecode + +%build +%{__perl} Makefile.PL INSTALLDIRS=perl +make %{?_smp_mflags} + +%install +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 + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%{_bindir}/puudecode +%{_bindir}/puuencode +%{perl_privlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Thu Sep 23 2010 Marcela Mašláňová mmaslano@redhat.com 0.5201-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..682118f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f60f49d15770503efa5ed0c81296ef2f Convert-UU-0.5201.tar.gz