]> git.pld-linux.org Git - packages/perl-Sys-Virt-TCK.git/blob - perl-Sys-Virt-TCK.spec
- updated to 1.1.0
[packages/perl-Sys-Virt-TCK.git] / perl-Sys-Virt-TCK.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # tests execution (one test requires libvirtd)
4 #
5 Summary:        libvirt TCK - Technology Compatibility Kit
6 Summary(pl.UTF-8):      libvirt Technology Compatibility Kit - pakiet sprawdzający kompatybilność
7 Name:           perl-Sys-Virt-TCK
8 Version:        1.1.0
9 Release:        1
10 License:        GPL v2+ or Artistic
11 Group:          Development/Languages/Perl
12 Source0:        https://libvirt.org/sources/tck/Sys-Virt-TCK-v%{version}.tar.gz
13 # Source0-md5:  10857a6350245422c63785d4467af808
14 URL:            https://libvirt.org/
15 BuildRequires:  perl-Module-Build
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  rpmbuild(macros) >= 1.745
19 %if %{with tests}
20 BuildRequires:  libvirt-daemon
21 BuildRequires:  perl(App::Prove) >= 3.11
22 BuildRequires:  perl-CPAN-Changes
23 BuildRequires:  perl-Config-Record >= 1.0.0
24 BuildRequires:  perl-Digest
25 BuildRequires:  perl-Digest-MD5
26 BuildRequires:  perl-IO-Compress
27 BuildRequires:  perl-IO-Interface
28 BuildRequires:  perl-NetAddr-IP
29 BuildRequires:  perl-Sub-Uplevel
30 BuildRequires:  perl-Sys-Virt >= 0.2.0
31 BuildRequires:  perl-TAP-Formatter-HTML
32 BuildRequires:  perl-TAP-Formatter-JUnit
33 BuildRequires:  perl-TAP-Harness-Archive
34 BuildRequires:  perl-Test-Exception
35 BuildRequires:  perl-Test-Harness >= 3.11
36 BuildRequires:  perl-Test-Pod
37 BuildRequires:  perl-Test-Pod-Coverage
38 BuildRequires:  perl-Test-Simple
39 BuildRequires:  perl-XML-Twig
40 BuildRequires:  perl-XML-Writer
41 BuildRequires:  perl-XML-XPath
42 BuildRequires:  perl-accessors
43 BuildRequires:  perl-libwww
44 %endif
45 BuildArch:      noarch
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %description
49 The libvirt TCK provides a framework for performing testing of the
50 integration between libvirt drivers, the underlying virt hypervisor
51 technology, related operating system services and system
52 configuration. The idea (and name) is motivated by the Java TCK.
53
54 %description -l pl.UTF-8
55 libvirt TCK udostępnia szkielet do wykonywania testów integracji
56 między sterownikami libvirt, leżącymi poniżej ich hipernadzorcami,
57 powiązanymi usługami systemów operacyjnych oraz konfiguracją systemu.
58 Idea (i nazwa) została zainspirowana przez Java TCK.
59
60 %prep
61 %setup -q -n Sys-Virt-TCK-v%{version}
62
63 %build
64 %{__perl} Build.PL \
65         installdirs=vendor
66
67 ./Build
68
69 %{?with_tests:./Build test}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 ./Build install \
75         destdir=$RPM_BUILD_ROOT \
76         --install_path pkgdata=%{_datadir}/libvirt-tck/tests
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc README
84 %attr(755,root,root) %{_bindir}/libvirt-tck
85 %dir %{_sysconfdir}/libvirt-tck
86 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt-tck/default.cfg
87 %dir %{perl_vendorlib}/Sys/Virt
88 %{perl_vendorlib}/Sys/Virt/TCK.pm
89 %{perl_vendorlib}/Sys/Virt/TCK
90 %{_datadir}/libvirt-tck
91 %{_mandir}/man1/libvirt-tck.1p*
This page took 0.060967 seconds and 3 git commands to generate.