]> git.pld-linux.org Git - packages/perl-Class-MixinFactory.git/blob - perl-Class-MixinFactory.spec
use generic url
[packages/perl-Class-MixinFactory.git] / perl-Class-MixinFactory.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Class
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
11 Version:        0.92
12 Release:        2
13 # same as perl
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
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This distribution facilitates the run-time generation of classes which
26 inherit from a base class and some optional selection of mixin
27 classes.
28
29 A factory is provided to generate the mixed classes with multiple
30 inheritance. A NEXT method allows method redispatch up the inheritance
31 chain.
32
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
36 towarzyskich (mixin).
37
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.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc CHANGES
65 %{perl_vendorlib}/Class/MixinFactory.pm
66 %{perl_vendorlib}/Class/MixinFactory
67 %{_mandir}/man3/*
This page took 0.073536 seconds and 3 git commands to generate.