3 %bcond_without tests # do not perform "make test"
6 %define pnam Entanglement
7 %include /usr/lib/rpm/macros.perl
8 Summary: Quantum::Entanglement - QM entanglement of variables in Perl
9 Summary(pl.UTF-8): Quantum::Entanglement - zawikłanie zmiennych mechaniki kwantowej w Perlu
10 Name: perl-Quantum-Entanglement
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 40c2bde2fbb794197010007f7ceb059d
18 URL: http://search.cpan.org/dist/Quantum-Entanglement/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 3.0.3-26
22 BuildRequires: perl(Math::Complex)
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Essentially, this allows you to put variables into a superposition of
29 states, have them interact with each other (so that all states
30 interact) and then observe them (testing to see if they satisfy some
31 comparison operator, printing them) which will collapse the entire
32 system so that it is consistent with your knowledge.
34 %description -l pl.UTF-8
35 Zasadniczo ten moduł pozwala na umieszczanie zmiennych w superpozycji
36 stanów, pozwalanie im na oddziaływanie na siebie (tak, że wszystkie
37 stany oddziaływują ze sobą) i obserwowanie ich (sprawdzanie, czy są
38 zgodne z pewnym operatorem porównania, wypisywanie ich), która załamie
39 cały system, który jest spójny wedle naszej wiedzy.
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %{perl_vendorlib}/%{pdir}/*.pm