]> git.pld-linux.org Git - packages/perl-Quantum-Superpositions.git/blame - perl-Quantum-Superpositions.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Quantum-Superpositions.git] / perl-Quantum-Superpositions.spec
CommitLineData
8c2e60f4 1#
2# Conditional build:
08f9538b 3%bcond_without tests # do not perform "make test"
0fcf9ed0 4
0f240fa5 5%define pdir Quantum
6%define pnam Superpositions
8c2e60f4 7Summary: Quantum::Superpositions - QM-like superpositions in Perl
295205e1 8Summary(pl.UTF-8): Quantum::Superpositions - superpozycje z mechaniki kwantowej w Perlu
8c2e60f4 9Name: perl-Quantum-Superpositions
cd8d0092 10Version: 2.02
7fe597a8 11Release: 2
08f9538b 12# same as perl (5.6.1 or later)
13License: GPL v1+ or Artistic
8c2e60f4 14Group: Development/Languages/Perl
33f33811 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
cd8d0092 16# Source0-md5: 40a3a398ca24be6de510667d92c02f5e
0fcf9ed0 17URL: http://search.cpan.org/dist/Quantum-Superpositions/
2a6f2d4e 18BuildRequires: perl-devel >= 1:5.8.0
0fcf9ed0 19BuildRequires: rpm-perlprov >= 4.1-13
08f9538b 20%if %{with tests}
8c2e60f4 21BuildRequires: perl-Class-Multimethods
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Quantum::Superpositions provides a new scalar data structure: the
4843be9e
JB
28superposition. In a metaphor drawn from quantum mechanics,
29superpositions store a collection of values by overlaying them in
30parallel superimposed states within a single scalar variable.
8c2e60f4 31
0fcf9ed0
ER
32The Quantum::Superpositions module adds two new operators to Perl: any
33and all.
8c2e60f4 34
103df81c
JR
35%description -l pl.UTF-8
36Moduł Quantum::Superpositions udostępnia nową strukturę danych
37skalarnych: superpozycję. Jest to metafora pochodząca z mechaniki
38kwantowej - superpozycje przechowują zestaw zmiennych poprzez
39nakładanie ich w równolegle złożonych stanach w pojedynczej zmiennej
4843be9e
JB
40skalarnej.
41
103df81c 42Moduł Quantum::Superpositions dodaje dwa nowe operatory do Perla: any
4843be9e 43i all.
8c2e60f4 44
45%prep
46%setup -q -n %{pdir}-%{pnam}-%{version}
47
48%build
cd8d0092
JB
49%{__perl} Makefile.PL \
50 INSTALLDIRS=vendor
8c2e60f4 51%{__make}
52
08f9538b 53%{?with_tests:%{__make} test}
8c2e60f4 54
55%install
56rm -rf $RPM_BUILD_ROOT
57
08f9538b 58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
8c2e60f4 60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc Change*
cd8d0092 67%{perl_vendorlib}/%{pdir}/*.pm
8c2e60f4 68%{_mandir}/man3/*
This page took 0.166464 seconds and 4 git commands to generate.