perl-Guard/perl-Guard.spec

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

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: cmr

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

%define real_name Guard

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

Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/Guard-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

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

%description
perl-Guard is a Perl module.

%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 COPYING Changes MANIFEST META.yml README
%doc %{_mandir}/man3/Guard.3pm*
%{perl_vendorarch}/auto/Guard/
%{perl_vendorarch}/Guard.pm

%changelog
* Mon Oct 05 2015 Dries Verachtert <dries.verachtert@dries.eu> - 1.023-1
- Updated to release 1.023.

* Sat Aug 22 2009 Christoph Maser <cmr@financial.com> - 1.021-1
- Updated to version 1.021.

* Fri Jul 10 2009 Christoph Maser <cmr@financial.com> - 1.02-1
- Initial package. (using DAR)