3 %bcond_without tests # do not perform "make test"
7 Summary: Attribute::Protected - implementing proctected methods with attributes
8 Summary(pl.UTF-8): Attribute::Protected - implementacja metod i atrybutów chronionych
9 Name: perl-Attribute-Protected
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 797463820a6149feadf1aa52fae2673a
17 URL: http://search.cpan.org/dist/Attribute-Protected/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Attribute::Protected implements something like public / private /
25 protected methods in C++ or Java.
27 %description -l pl.UTF-8
28 Attribute::Protected implementuje coś na kształt publicznych /
29 prywatnych / chronionych metod w C++ i Javie.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{perl_vendorlib}/%{pdir}/%{pnam}.pm
53 %{_mandir}/man3/*.3pm*