Name: perl-File-ChangeNotify Version: 0.06 Release: 1%{?dist} # lib/File/ChangeNotify.pm -> GPL+ or Artistic # lib/File/ChangeNotify/Event.pm -> GPL+ or Artistic # lib/File/ChangeNotify/Watcher.pm -> GPL+ or Artistic # lib/File/ChangeNotify/Watcher/Default.pm -> GPL+ or Artistic # lib/File/ChangeNotify/Watcher/Inotify.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Watch for changes to files, cross-platform style Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/File-ChangeNotify-%{version}.tar.gz Url: http://search.cpan.org/dist/File-ChangeNotify BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(Class::MOP) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(Module::Build::Compat) BuildRequires: perl(Module::Pluggable::Object) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::Params::Validate) >= 0.08 BuildRequires: perl(MooseX::SemiAffordanceAccessor) BuildRequires: perl(Test::More) BuildRequires: perl(Time::HiRes) %description Watch for changes to files, easily, cleanly, and across different platforms. %prep %setup -q -n File-ChangeNotify-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Mon Jun 08 2009 Chris Weyl 0.06-1 - submission * Sun Jun 07 2009 Chris Weyl 0.06-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)