# # spec file for package perl-File-ChangeNotify (Version 0.19) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-File-ChangeNotify Version: 0.19 Release: 1 License: Artistic 2.0 %define cpan_name File-ChangeNotify Summary: Watch for changes to files, cross-platform style Url: http://search.cpan.org/dist/File-ChangeNotify/ Group: Development/Libraries/Perl #Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/File-ChangeNotify-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 BuildRequires: perl(Carp) BuildRequires: perl(Class::MOP) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::Params::Validate) >= 0.08 BuildRequires: perl(MooseX::SemiAffordanceAccessor) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(Test::Exception) BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) Requires: perl(Carp) Requires: perl(Class::MOP) Requires: perl(File::Find) Requires: perl(File::Spec) Requires: perl(Moose) Requires: perl(MooseX::Params::Validate) >= 0.08 Requires: perl(MooseX::SemiAffordanceAccessor) Requires: perl(namespace::autoclean) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %{perl_requires} %description This module provides an API for creating a the File::ChangeNotify::Watcher manpage subclass that will work on your platform. Most of the documentation for this distro is in the File::ChangeNotify::Watcher manpage. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(644,root,root,755) %doc Changes dist.ini LICENSE README %changelog