Name: perl-Device-SerialPort Version: 1.04 Release: 8%{?dist}.art Summary: Linux/POSIX emulation of Win32::SerialPort functions License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Device-SerialPort/ Source0: http://www.cpan.org/authors/id/C/CO/COOK/Device-SerialPort-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides an object-based user interface essentially identical to the one provided by the Win32::SerialPort module. %prep %setup -q -n Device-SerialPort-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \ TESTPORT=/dev/null make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* %check # Can't do serial port tests in mock/build system #make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/Device* %{_bindir}/modemtest %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Sat May 01 2010 Marcela Maslanova - 1.04-8 - Mass rebuild with perl-5.12.0 * Fri Apr 30 2010 Marcela Maslanova - 1.04-7 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.04-6 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Mar 5 2008 Tom "spot" Callaway - 1.04-3 - rebuild for new perl * Tue Feb 19 2008 Fedora Release Engineering - 1.04-2 - Autorebuild for GCC 4.3 * Fri Nov 30 2007 Patrick "Jima" Laughton 1.04-1 - New upstream release * Wed Aug 15 2007 Orion Poplawski 1.003001-1 - Update to 1.003001 - Update License tag - Add BR perl(ExtUtils::MakeMaker) * Thu Oct 05 2006 Christian Iseli 1.002-3 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Wed Sep 20 2006 Orion Poplawski 1.002-2 - Add TESTPORT=/dev/null for mock builds - License back to GPL or Artistic * Mon Sep 18 2006 Orion Poplawski 1.002-1 - Initial Fedora Extras version