1 %include /usr/lib/rpm/macros.perl
3 %define pnam Properties
4 Summary: Scalar::Properties -- run-time properties on scalar variables
5 Summary(pl): Scalar::Properties -- w³a¶ciwo¶ci skalarów w trakcie wykonywania
6 Name: perl-Scalar-Properties
10 Group: Development/Languages/Perl
11 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires: perl >= 5.6.1
13 BuildRequires: rpm-perlprov >= 3.0.3-16
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Scalar::Properties attempts to make Perl more object-oriented by
19 taking an idea from Ruby: Everything you manipulate is an object, and
20 the results of those manipulations are objects themselves.
23 Scalar::Properties próbuje dodaæ do Perla nieco wiêcej obiektowo¶ci
24 poprzez zaimplementowanie pomys³u z Ruby: wszystko, na czym operujesz,
25 jest obiektem; tak samo, jak rezultat tych manipulacji.
28 %setup -q -n %{pdir}-%{pnam}-%{version}
36 rm -rf $RPM_BUILD_ROOT
37 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
45 %dir %{perl_sitelib}/Scalar
46 %{perl_sitelib}/Scalar/*.pm