packages: perl-Sys-Virt-TCK/perl-Sys-Virt-TCK.spec (NEW)=?UTF-8?Q?=20?=- new

qboosh qboosh at pld-linux.org
Sun Jul 1 07:13:21 CEST 2012


Author: qboosh                       Date: Sun Jul  1 05:13:21 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/perl-Sys-Virt-TCK:
   perl-Sys-Virt-TCK.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Sys-Virt-TCK/perl-Sys-Virt-TCK.spec
diff -u /dev/null packages/perl-Sys-Virt-TCK/perl-Sys-Virt-TCK.spec:1.1
--- /dev/null	Sun Jul  1 07:13:21 2012
+++ packages/perl-Sys-Virt-TCK/perl-Sys-Virt-TCK.spec	Sun Jul  1 07:13:16 2012
@@ -0,0 +1,96 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests	# perform "make test" (one test requires libvirtd)
+#
+%include	/usr/lib/rpm/macros.perl
+Summary:	libvirt TCK - Technology Compatibility Kit
+Summary(pl.UTF-8):	libvirt Technology Compatibility Kit - pakiet sprawdzający kompatybilność
+Name:		perl-Sys-Virt-TCK
+Version:	0.1.0
+Release:	1
+License:	GPL v2+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	ftp://libvirt.org/libvirt/tck/Sys-Virt-TCK-%{version}.tar.gz
+# Source0-md5:	1acffc328fb126bafd95fa3ddb00890c
+URL:		http://libvirt.org/
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	libvirt-daemon
+BuildRequires:	perl-Config-Record >= 1.0.0
+BuildRequires:	perl-Digest
+BuildRequires:	perl-Digest-MD5
+BuildRequires:	perl-IO-Compress
+BuildRequires:	perl-IO-String
+BuildRequires:	perl-Sub-Uplevel
+BuildRequires:	perl-Sys-Virt >= 0.2.0
+BuildRequires:	perl-TAP-Formatter-HTML
+BuildRequires:	perl-TAP-Harness-Archive
+BuildRequires:	perl-Test-Harness >= 3.11
+BuildRequires:	perl-Test-Pod
+BuildRequires:	perl-Test-Pod-Coverage
+BuildRequires:	perl-Test-Simple
+BuildRequires:	perl-XML-Trig
+BuildRequires:	perl-XML-Writer
+BuildRequires:	perl-XML-XPath
+BuildRequires:	perl-accessors
+BuildRequires:	perl-libwww
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The libvirt TCK provides a framework for performing testing of the
+integration between libvirt drivers, the underlying virt hypervisor
+technology, related operating system services and system
+configuration. The idea (and name) is motivated by the Java TCK.
+
+%description -l pl.UTF-8
+libvirt TCK udostępnia szkielet do wykonywania testów integracji
+między sterownikami libvirt, leżącymi poniżej ich hipernadzorcami,
+powiązanymi usługami systemów operacyjnych oraz konfiguracją systemu.
+Idea (i nazwa) została zainspirowana przez Java TCK.
+
+%prep
+%setup -q -n Sys-Virt-TCK-%{version}
+
+%build
+%{__perl} Build.PL \
+	installdirs=vendor
+
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install \
+	destdir=$RPM_BUILD_ROOT \
+	--install_path pkgdata=%{_datadir}/libvirt-tck/tests
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/libvirt-tck
+%dir %{_sysconfdir}/libvirt-tck
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libvirt-tck/default.cfg
+%dir %{perl_vendorlib}/Sys/Virt
+%{perl_vendorlib}/Sys/Virt/TCK.pm
+%{perl_vendorlib}/Sys/Virt/TCK
+%{_datadir}/libvirt-tck
+%{_mandir}/man1/libvirt-tck.1p*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/07/01 05:13:16  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list