>From e74fa23590e235f2b152cdc803e33b5cfc187f0d Mon Sep 17 00:00:00 2001 From: Paul Wouters <paul@xxxxxxxxxxxxx> Date: Sat, 11 Sep 2010 16:38:45 -0400 Subject: Initial spec file diff --git a/perl-MIME-Base32.spec b/perl-MIME-Base32.spec new file mode 100644 index 0000000..19d9f9c --- /dev/null +++ b/perl-MIME-Base32.spec @@ -0,0 +1,52 @@ +Name: perl-MIME-Base32 +Version: 1.02a +Release: 1%{?dist} +Summary: Base32 encoder / decoder +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MIME-Base32/ +Source0: http://www.cpan.org/authors/id/D/DA/DANPEDER/MIME-Base32-%{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 +Encodes and decodes data in a similar way like MIME::Base64 does. + +%prep +%setup -q -n MIME-Base32-1.02 + +%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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Aug 26 2010 Paul Wouters <paul@xxxxxxxxxxxxx> 1.02a-1 +- Updated version that includes license +- Slightly changed Summary/Description text + +* Mon Aug 23 2010 Paul Wouters <paul@xxxxxxxxxxxxx> 1.01-1 +- Specfile autogenerated by cpanspec 1.78. -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-MIME-Base32.git/commit/?h=epel7&id=e74fa23590e235f2b152cdc803e33b5cfc187f0d -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel