]> git.pld-linux.org Git - packages/perl-Scalar-Properties.git/blame - perl-Scalar-Properties.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Scalar-Properties.git] / perl-Scalar-Properties.spec
CommitLineData
df010d1d 1#
2# Conditional build:
d8f62088 3%bcond_without tests # do not perform "make test"
43f3dd24 4#
13c7424f 5%define pdir Scalar
6%define pnam Properties
85177510 7Summary: Scalar::Properties - run-time properties on scalar variables
44c60edd 8Summary(pl.UTF-8): Scalar::Properties - właściwości skalarów w trakcie wykonywania
3783047b 9Name: perl-Scalar-Properties
21aad2fe
JB
10Version: 1.100860
11Release: 1
731d7758 12# same as perl
13License: GPL v1+ or Artistic
a5ecb670 14Group: Development/Languages/Perl
21a11b8a 15Source0: http://www.cpan.org/modules/by-module/Scalar/%{pdir}-%{pnam}-%{version}.tar.gz
21aad2fe 16# Source0-md5: 6f144203205f0a60026b82f32e51c595
21a11b8a 17URL: http://search.cpan.org/dist/Scalar-Properties/
21aad2fe 18BuildRequires: perl-ExtUtils-MakeMaker >= 6.11
1564bc52 19BuildRequires: perl-devel >= 1:5.8.0
21aad2fe
JB
20%if %{with tests}
21BuildRequires: perl-Test-Simple >= 0.88
22%endif
87d4bd96 23BuildRequires: rpm-perlprov >= 4.1-13
a5ecb670 24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
3783047b 28Scalar::Properties attempts to make Perl more object-oriented by
29taking an idea from Ruby: Everything you manipulate is an object, and
30the results of those manipulations are objects themselves.
a5ecb670 31
ef9b5e56
JR
32%description -l pl.UTF-8
33Scalar::Properties próbuje dodać do Perla nieco więcej obiektowości
34poprzez zaimplementowanie pomysłu z Ruby: wszystko, na czym operujesz,
a5ecb670 35jest obiektem; tak samo, jak rezultat tych manipulacji.
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
87d4bd96 41%{__perl} Makefile.PL \
9acf552d 42 INSTALLDIRS=vendor
a5ecb670 43%{__make}
43f3dd24 44
df010d1d 45%{?with_tests: %{__make} test}
a5ecb670 46
47%install
48rm -rf $RPM_BUILD_ROOT
df010d1d 49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
a5ecb670 51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
21aad2fe 57%doc Changes
87d4bd96 58%dir %{perl_vendorlib}/Scalar
21aad2fe
JB
59%{perl_vendorlib}/Scalar/Properties.pm
60%{_mandir}/man3/Scalar::Properties.3pm*
This page took 0.103746 seconds and 4 git commands to generate.