perl-QWizard/perl-QWizard.spec

Name: perl-QWizard
Summary: Perl module to display questions and act on the answers
Version: 3.15
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/QWizard/
Description: perl-QWizard is a Perl module to display a series of questions, get the answers, and act on the answers.

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
# Upstream: Wes Hardaker <wjhns117$hardakers,net>

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

%define real_name QWizard

Summary: Perl module to display questions and act on the answers
Name: perl-QWizard
Version: 3.15
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/QWizard/

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

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
perl-QWizard is a Perl module to display a series of questions, get the
answers, and act on the answers. 

%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 up docs
find examples/ -type f -exec %{__chmod} a-x {} \;

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

%files
%defattr(-, root, root, 0755)
%doc CHANGES MANIFEST MANIFEST.SKIP META.yml README examples/
%doc %{_mandir}/man3/QWizard.3pm*
%doc %{_mandir}/man3/QWizard::*.3pm*
%doc %{_mandir}/man3/QWizard_Widgets.3pm*
%{perl_vendorlib}/auto/QWizard/
%{perl_vendorlib}/QWizard/
%{perl_vendorlib}/QWizard.pm
%{perl_vendorlib}/QWizard_Widgets.pl
%{perl_vendorlib}/QWizard_Widgets.pod

%changelog
* Mon Jun 22 2009 Christoph Maser <cmr@financial.com> - 3.15-1
- Updated to version 3.15.

* Wed May 14 2008 Dag Wieers <dag@wieers.com> - 3.14-1
- Updated to release 3.14.

* Thu Dec 27 2007 Dag Wieers <dag@wieers.com> - 3.13-1
- Updated to release 3.13.

* Sun Nov 18 2007 Dag Wieers <dag@wieers.com> - 3.12-1
- Updated to release 3.12.

* Thu Oct 11 2007 Dag Wieers <dag@wieers.com> - 3.08-1
- Initial package. (using DAR)