%define module Youri-Repository %define name perl-%{module} %define version 0.1.1 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Packages repository abstraction layer License: GPL or Artistic Group: Development/Other Source0: http://youri.zarb.or/download/%{module}-%{version}.tar.bz2 Url: http://youri.zarb.org BuildRequires: perl(Youri::Package) BuildRequires: perl-version BuildRequires: perl-UNIVERSAL-require Requires: perl-version BuildArch: noarch %description YOURI stands for "Youri Offers an Upload & Repository Infrastucture". It aims to build tools making management of a coherent set of packages easier. This class provides an uniform view over various kind of packages repository. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %__make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog META.yml README %{perl_vendorlib}/Youri %{_mandir}/man3/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.1.1-2.mga3 + Revision: 375335 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Feb 18 2012 pterjan <pterjan> 0.1.1-1.mga2 + Revision: 210434 - BuildRequire perl-UNIVERSAL-require * Sat Feb 18 2012 pterjan <pterjan> 0.1.1-0.mga2 + Revision: 210419 - Update to 0.1.1 * Sun Feb 27 2011 pterjan <pterjan> 0.1.0-5.mga1 + Revision: 61151 - fixspec - Drop old stuff - imported package perl-Youri-Repository + jquelin <jquelin> - imported package perl-Youri-Repository