]> git.pld-linux.org Git - packages/perl-Quantum-Entanglement.git/blob - perl-Quantum-Entanglement.spec
use generic url
[packages/perl-Quantum-Entanglement.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 %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
11 Version:        0.32
12 Release:        3
13 # same as perl
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
21 %if %{with tests}
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
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
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.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc Change*
63 %{perl_vendorlib}/%{pdir}/*.pm
64 %{_mandir}/man3/*
This page took 0.110296 seconds and 3 git commands to generate.