perl-Convert-TNEF/perl-Convert-TNEF.spec

Name: perl-Convert-TNEF
Summary: Convert-TNEF module for perl
Version: 0.18
Release: 1
License: distributable
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Convert-TNEF/
Description: Convert-TNEF module for perl

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Convert-TNEF

Summary: Convert-TNEF module for perl
Name: perl-Convert-TNEF
Version: 0.18
Release: 1%{?dist}
License: distributable
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Convert-TNEF/

Source: http://www.cpan.org/modules/by-module/Convert/Convert-TNEF-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 0:5.00503
Requires: perl >= 0:5.00503, perl-MIME-tools

%description
Convert-TNEF module for perl

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes README
%doc %{_mandir}/man3/*
%dir %{perl_vendorlib}/Convert/
%{perl_vendorlib}/Convert/TNEF.pm

%changelog
* Mon Dec 17 2012 David Hrbáč <david@hrbac.cz> - 0.18-1
- new upstream release

* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.17-3.2
- Rebuild for Fedora Core 5.

* Tue Mar 29 2005 Dag Wieers <dag@wieers.com> - 0.17-3
- Cosmetic changes.

* Sun Jan 26 2003 Dag Wieers <dag@wieers.com>
- Initial package. (using DAR)