]> git.pld-linux.org Git - packages/perl-Scalar-Properties.git/blob - perl-Scalar-Properties.spec
- massive attack: perl -pi -e "s/^#+\%\{/#\%\%\{/"
[packages/perl-Scalar-Properties.git] / perl-Scalar-Properties.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    Scalar
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
7 Version:        0.10
8 Release:        2
9 License:        GPL/Artistic
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
21
22 %description -l pl
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.
26
27 %prep
28 %setup -q -n %{pdir}-%{pnam}-%{version}
29
30 %build
31 %{__perl} Makefile.PL
32 %{__make}
33 #%%{__make} test
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %{__make} install DESTDIR=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc Changes TODO
45 %dir %{perl_sitelib}/Scalar
46 %{perl_sitelib}/Scalar/*.pm
47 %{_mandir}/man3/*
This page took 0.060691 seconds and 3 git commands to generate.