3 %bcond_without tests # do not perform "make test"
6 %define pnam MixinFactory
7 %include /usr/lib/rpm/macros.perl
8 Summary: Class::MixinFactory - class factory with selection of mixins
9 Summary(pl.UTF-8): Class::MixinFactory - tworzenie klas z wyborem klas towarzyskich
10 Name: perl-Class-MixinFactory
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 577d76cdc3c5b0c313634f783c96c767
18 URL: http://search.cpan.org/dist/Class-MixinFactory/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This distribution facilitates the run-time generation of classes which
26 inherit from a base class and some optional selection of mixin
29 A factory is provided to generate the mixed classes with multiple
30 inheritance. A NEXT method allows method redispatch up the inheritance
33 %description -l pl.UTF-8
34 Ten pakiet ułatwia generowanie w czasie działania programu klas
35 dziedziczących z klasy bazowej i pewnego opcjonalnego wyboru klas
38 Udostępniony jest generator do tworzenia klas mieszanych z
39 wielokrotnym dziedziczeniem. Metoda NEXT umożliwia wysyłanie metod po
40 łańcuchu dziedziczenia.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %{perl_vendorlib}/Class/MixinFactory.pm
66 %{perl_vendorlib}/Class/MixinFactory