Name: perl-Linux-Inotify2 Version: 1.21 Release: 1%{?dist} Summary: Scalable directory/file change notification License: Distributable, see COPYING Group: Development/Libraries URL: http://search.cpan.org/dist/Linux-Inotify2/ Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/Linux-Inotify2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module implements an interface to the Linux 2.6.13 and later Inotify file/directory change notification sytem. %prep %setup -q -n Linux-Inotify2-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes COPYING README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Linux* %{_mandir}/man3/* %changelog * Sun Nov 08 2009 Dave Cross 1.21-1 - Specfile autogenerated by cpanspec 1.77.