]> git.pld-linux.org Git - SPECS.git/blob - perl-Quantum-Entanglement.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Quantum-Entanglement.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Quantum
6 %define         pnam    Entanglement
7 Summary:        Quantum::Entanglement - QM entanglement of variables in Perl
8 Summary(pl.UTF-8):      Quantum::Entanglement - zawikłanie zmiennych mechaniki kwantowej w Perlu
9 Name:           perl-Quantum-Entanglement
10 Version:        0.32
11 Release:        3
12 # same as perl
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:  40c2bde2fbb794197010007f7ceb059d
17 URL:            http://search.cpan.org/dist/Quantum-Entanglement/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 3.0.3-26
20 %if %{with tests}
21 BuildRequires:  perl(Math::Complex)
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Essentially, this allows you to put variables into a superposition of
28 states, have them interact with each other (so that all states
29 interact) and then observe them (testing to see if they satisfy some
30 comparison operator, printing them) which will collapse the entire
31 system so that it is consistent with your knowledge.
32
33 %description -l pl.UTF-8
34 Zasadniczo ten moduł pozwala na umieszczanie zmiennych w superpozycji
35 stanów, pozwalanie im na oddziaływanie na siebie (tak, że wszystkie
36 stany oddziaływują ze sobą) i obserwowanie ich (sprawdzanie, czy są
37 zgodne z pewnym operatorem porównania, wypisywanie ich), która załamie
38 cały system, który jest spójny wedle naszej wiedzy.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc Change*
62 %{perl_vendorlib}/%{pdir}/*.pm
63 %{_mandir}/man3/*
This page took 0.135966 seconds and 3 git commands to generate.