%define upstream_name Unix-Mknod %define upstream_version 0.04 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Interface mknod, major, minor, and makedev License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Unix/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-devel %description This module allows access to the device routines major()/minor()/makedev() that may or may not be macros in .h files. It also allows access to the 'mknod(2)' system call. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sat Aug 20 2011 jquelin <jquelin> 0.40.0-1.mga2 + Revision: 134602 - imported package perl-Unix-Mknod * Sat Aug 20 2011 cpan2dist 0.04-1mga - initial mageia release, generated with cpan2dist