%define module Curses %define name perl-%{module} %define version 1.23 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Perl module for character screen handling and windowing License: GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{module}/ Source: http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/%{module}-%{version}.tgz BuildRequires: perl-devel BuildRequires: libncursesw-devel Buildroot: %{_tmppath}/%{name}-%{version} %description Curses is the interface between Perl and your system's curses(3) library. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make CFLAGS="%{optflags}" chmod 644 Artistic Copying INSTALL README %check make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Artistic Copying INSTALL README %{perl_vendorarch}/auto/Curses %{perl_vendorarch}/Curses* %{_mandir}/*/* %changelog * Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.23-2mdv2009.0 + Revision: 265344 - rebuild early 2009.0 package (before pixel changes) * Wed Apr 16 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.23-1mdv2009.0 + Revision: 194842 - update to new version 1.23 - update to new version 1.23 * Mon Feb 18 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.21-1mdv2008.1 + Revision: 170104 - update to new version 1.21 * Mon Jan 14 2008 Pixel <pixel@mandriva.com> 1.20-2mdv2008.1 + Revision: 151253 - rebuild for perl-5.10.0 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Dec 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.20-1mdv2008.1 + Revision: 133603 - new version + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu Oct 26 2006 Pixel <pixel@mandriva.com> 1.15-2mdv2007.0 + Revision: 72681 - no need explictly requiring ncurses - we now need to BuildRequires libncursesw-devel - increase release - use ncursesw (to handle wide-chars, and so utf8) * Sat Oct 21 2006 Pixel <pixel@mandriva.com> 1.15-1mdv2007.1 + Revision: 71567 - new version - add "make test" - Import perl-Curses * Tue Dec 20 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.13-1mdk - New release 1.13 - spec cleanup - %%mkrel * Thu Sep 22 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.12-1mdk - 1.12 - rpmbuildupdate aware * Mon Nov 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.07-1mdk - New version 1.07 - Drop patch 0 * Wed Apr 14 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.06-8mdk - rebuild for new perl