perl-Convert-IBM390/perl-Convert-IBM390.spec

Name: perl-Convert-IBM390
Summary: Functions for manipulating mainframe data
Version: 0.27
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Convert-IBM390/
Description: onvert::IBM390 is a Perl module. It supplies various functions that you may find useful when messing with IBM System/3[679]0 data. See the POD documentation in the module, or "man Convert::IBM390" after you have installed it.

asc2eb, eb2asc, eb2ascp: ASCII/EBCDIC conversion packeb, unpackeb: pack/unpack and convert an EBCDIC record hexdump: dump memory in an MVS-like format

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: dries
# Upstream: Geoffrey Rommel <grommel$sears,com>

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

%define real_name Convert-IBM390

Summary: Functions for manipulating mainframe data
Name: perl-Convert-IBM390
Version: 0.27
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Convert-IBM390/

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

BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
onvert::IBM390 is a Perl module.  It supplies various functions that
you may find useful when messing with IBM System/3[679]0 data.  See the
POD documentation in the module, or "man Convert::IBM390" after you have
installed it.

asc2eb, eb2asc, eb2ascp:  ASCII/EBCDIC conversion
packeb, unpackeb:  pack/unpack and convert an EBCDIC record
hexdump:  dump memory in an MVS-like format

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

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

%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 INSTALL MANIFEST META.yml README
%doc %{_mandir}/man3/Convert::IBM390*.3pm*
%dir %{perl_vendorarch}/Convert/
%{perl_vendorarch}/Convert/IBM390/
%{perl_vendorarch}/auto/Convert/IBM390/IBM390.bs
%{perl_vendorarch}/auto/Convert/IBM390/IBM390.so
%dir %{perl_vendorarch}/Convert/
%{perl_vendorarch}/Convert/IBM390.pm
%{perl_vendorarch}/Convert/IBM390.pod

%changelog
* Wed Jul 15 2009 Christoph Maser <cmr@financial.com> - 0.27-1
- Updated to version 0.27.

* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 0.25-1
- Updated to release 0.25.

* Sat May 03 2008 Dag Wieers <dag@wieers.com> - 0.24-1
- Updated to release 0.24.

* Wed Nov 07 2007 Dag Wieers <dag@wieers.com> - 0.23-1
- Updated to release 0.23.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.22-1
- Updated to release 0.22.

* Sat Nov  5 2005 Dries Verachtert <dries@ulyssis.org> - 0.21-1
- Updated to release 0.21.

* Wed Jun  8 2005 Dries Verachtert <dries@ulyssis.org> - 0.20-1
- Updated to release 0.20.

* Thu Jul 22 2004 Dries Verachtert <dries@ulyssis.org> - 0.19-1
- Initial package.