]>
Commit | Line | Data |
---|---|---|
c5d41576 | 1 | # |
2 | # Conditional build: | |
0b4efc13 | 3 | %bcond_without tests # do not perform "make test" |
1ee5366b | 4 | |
bf4fa0c9 | 5 | %define pdir Quantum |
6 | %define pnam Entanglement | |
1ee5366b | 7 | %include /usr/lib/rpm/macros.perl |
e662efcf | 8 | Summary: Quantum::Entanglement - QM entanglement of variables in Perl |
8e5f66f6 | 9 | Summary(pl.UTF-8): Quantum::Entanglement - zawikłanie zmiennych mechaniki kwantowej w Perlu |
c5d41576 | 10 | Name: perl-Quantum-Entanglement |
11 | Version: 0.32 | |
56d4f97c | 12 | Release: 3 |
0b4efc13 | 13 | # same as perl |
14 | License: GPL v1+ or Artistic | |
c5d41576 | 15 | Group: Development/Languages/Perl |
6b620b85 | 16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
290c527c | 17 | # Source0-md5: 40c2bde2fbb794197010007f7ceb059d |
1ee5366b | 18 | URL: http://search.cpan.org/dist/Quantum-Entanglement/ |
e1af32c2 | 19 | BuildRequires: perl-devel >= 1:5.8.0 |
1ee5366b | 20 | BuildRequires: rpm-perlprov >= 3.0.3-26 |
0b4efc13 | 21 | %if %{with tests} |
c5d41576 | 22 | BuildRequires: perl(Math::Complex) |
23 | %endif | |
24 | BuildArch: noarch | |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
28 | Essentially, this allows you to put variables into a superposition of | |
e662efcf JB |
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. | |
33 | ||
08427d9a JR |
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. | |
c5d41576 | 40 | |
41 | %prep | |
42 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
43 | ||
44 | %build | |
0b4efc13 | 45 | %{__perl} Makefile.PL \ |
46 | INSTALLDIRS=vendor | |
c5d41576 | 47 | %{__make} |
48 | ||
0b4efc13 | 49 | %{?with_tests:%{__make} test} |
c5d41576 | 50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
0b4efc13 | 54 | %{__make} install \ |
55 | DESTDIR=$RPM_BUILD_ROOT | |
c5d41576 | 56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc Change* | |
0b4efc13 | 63 | %{perl_vendorlib}/%{pdir}/*.pm |
c5d41576 | 64 | %{_mandir}/man3/* |