perl-Youri-Package-RPM-Updater/perl-Youri-Package-RPM-Updater.spec

Name: perl-Youri-Package-RPM-Updater
Summary: Perl module to update RPM packages automatically
Version: 0.4.7
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Youri-Package-RPM-Updater/
Description: perl-Youri-Package-RPM-Updater is a Perl module to update RPM packages automatically.

CentOS 7 x86_64

The build could not start because the following file is missing: Youri-Package-RPM-Updater-0.4.7.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: Youri-Package-RPM-Updater-0.4.7.tar.gz

Build Status

Contents

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

# $Id$
# Authority: dag
# Upstream: Youri project <youri$zarb,org>

# rpm on el4 is to old
# ExcludeDist: el4

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

%define real_name Youri-Package-RPM-Updater

Summary: Perl module to update RPM packages automatically
Name: perl-Youri-Package-RPM-Updater
Version: 0.4.7
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Youri-Package-RPM-Updater/

Source: http://www.cpan.org/authors/id/G/GR/GROUSSE/Youri-Package-RPM-Updater-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl

%description
perl-Youri-Package-RPM-Updater is a Perl module to update RPM packages
automatically.

%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 MANIFEST META.yml README
%doc %{_mandir}/man3/Youri::Package::RPM::Updater.3pm*
%dir %{perl_vendorlib}/Youri/
%dir %{perl_vendorlib}/Youri/Package/
%dir %{perl_vendorlib}/Youri/Package/RPM/
#%{perl_vendorlib}/Youri/Package/RPM/Updater/
%{perl_vendorlib}/Youri/Package/RPM/Updater.pm

%changelog
* Mon Jul 20 2009 Christoph Maser <cmr@financial.com> - 0.4.7-1
- Updated to version 0.4.7.

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

* Thu Feb 21 2008 Dag Wieers <dag@wieers.com> - 0.4.1-1
- Updated to release 0.4.1.

* Mon Nov 19 2007 Dag Wieers <dag@wieers.com> - 0.4.0-1
- Updated to release 0.4.0.

* Sun Nov 04 2007 Dag Wieers <dag@wieers.com> - 0.3.3-1
- Initial package. (using DAR)