Name: perl-POSIX-1003 Version: 0.98 Release: 1%{?dist} Summary: POSIX::1003::Termios - POSIX general terminal interface Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/~markov/POSIX-1003-%{version}/ Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/POSIX-1003-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: x86_64 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(XSLoader) BuildRequires: perl(POSIX) BuildRequires: perl(File::Spec) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %global __provides_exclude %__provides_exclude|perl\\(POSIX::1003\\) %description The POSIX::1003 suite implements access to many POSIX functions. The POSIX module in core (distributed with Perl itself) is ancient, the documentation is usually wrong, and it has too much unusable code in it. POSIX::1003 tries to provide cleaner access to the operating system. More about the choices made can be found in section "Rationale". %prep %setup -q -n POSIX-1003-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor 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 -depth -type d -exec rmdir {} ';' 2>/dev/null chmod -R u+w $RPM_BUILD_ROOT/* find %{buildroot} -size 0 -delete %clean rm -rf $RPM_BUILD_ROOT %files /usr/lib64/perl5/vendor_perl/POSIX/ %{_mandir}/man3/*.3pm* %{perl_vendorarch}/auto/POSIX/* %changelog * Sat Dec 21 2013 Charles Amey - 0.98-1 - Initial build