Name: perl-Class-Observable Version: 1.04 Release: 2%{?dist} Summary: Allow other classes and objects to respond to events in yours License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-Observable/ Source0: http://www.cpan.org/modules/by-module/Class/Class-Observable-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(ExtUtils::MakeMaker) %description If you have ever used Java, you may have run across the java.util.Observable class and the java.util.Observer interface. With them you can decouple an object from the one or more objects that wish to be notified whenever particular events occur. %prep %setup -q -n Class-Observable-%{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/* %changelog * Sat Mar 17 2007 Andreas Thienemann 1.04-2 - Fixed BuildReq to pull in perl-devel in a portable way * Thu Mar 15 2007 Andreas Thienemann 1.04-1 - Specfile autogenerated by cpanspec 1.69.1. - Cleaned up for FE