perl-MQSeries-QueueManager/perl-MQSeries-QueueManager.spec

Name: perl-MQSeries-QueueManager
Summary: Perl module named MQSeries-QueueManager
Version: 1.25
Release: 1
License: GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/MQSeries-QueueManager/
Description: perl-MQSeries-QueueManager is a Perl module.

CentOS 7 x86_64

The build could not start because the following file is missing: MQSeries-1.25.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: MQSeries-1.25.tar.gz

Build Status

Contents

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

# $Id$
# Authority: dag
# Upstream: Hildo Biersma <Hildo,Biersma$MorganStanley,com>

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

%define real_name MQSeries-QueueManager

Summary: Perl module named MQSeries-QueueManager
Name: perl-MQSeries-QueueManager
Version: 1.25
Release: 1%{?dist}
License: GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/MQSeries-QueueManager/

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

BuildRequires: perl

%description
perl-MQSeries-QueueManager is a Perl module.

%prep
%setup -n MQSeries-%{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 COPYRIGHT LICENSE MANIFEST README
%doc %{_mandir}/man3/MQSeries::QueueManager.3pm*
#%doc %{_mandir}/man3/*.3pm*
%dir %{perl_vendorarch}/MQSeries/
%{perl_vendorarch}/MQSeries/QueueManager.pm
%dir %{perl_vendorarch}/auto/MQSeries/
%{perl_vendorarch}/auto/MQSeries/QueueManager/

%changelog
* Fri May 04 2007 Dag Wieers <dag@wieers.com> - 1.25-1
- Initial package. (using DAR)