%define upstream_name Tk-NumKeypad %define upstream_version 1.4 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Numeric Keypad for Perl/Tk License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Tk/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-Tk-devel %description A numeric keypad, including a clear button and a decimal point button. This is useful for touchscreen or kiosk applications where access to a keyboard won't be available. The keypad is arranged as follows: 7 8 9 4 5 6 1 2 3 . 0 C %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc META.json META.yml MYMETA.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.400.0-3.mga3 + Revision: 374448 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Oct 17 2012 fwang <fwang> 1.400.0-2.mga3 + Revision: 307554 - it is an arch-dependent package * Wed Oct 03 2012 jquelin <jquelin> 1.400.0-1.mga3 + Revision: 302405 - update to 1.4 * Wed Oct 03 2012 jquelin <jquelin> 1.300.0-1.mga3 + Revision: 302313 - adding missing buildrequires: - adding missing buildrequires: - imported package perl-Tk-NumKeypad