[packages/libvirt-designer] - new

qboosh qboosh at pld-linux.org
Sat Oct 13 09:33:06 CEST 2012


commit c32782c7bbffeffa7e448aaae7691b883183ab88
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 13 09:33:07 2012 +0200

    - new

 libvirt-designer.spec | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 115 insertions(+)
---
diff --git a/libvirt-designer.spec b/libvirt-designer.spec
new file mode 100644
index 0000000..14bc024
--- /dev/null
+++ b/libvirt-designer.spec
@@ -0,0 +1,115 @@
+Summary:	Libvirt configuration designer
+Summary(pl.UTF-8):	Biblioteka do projektowania konfiguracji libvirt
+Name:		libvirt-designer
+Version:	0.0.1
+Release:	1
+License:	LGPL v2.1+
+Group:		Libraries
+Source0:	ftp://libvirt.org/libvirt/designer/%{name}-%{version}.tar.gz
+# Source0-md5:	634b50ad539ab6b5c0188644780578d3
+URL:		http://libvirt.org/
+BuildRequires:	gobject-introspection-devel >= 0.10.8
+BuildRequires:	libosinfo-devel >= 0.0.5
+BuildRequires:	libvirt-glib-devel >= 0.1.3
+BuildRequires:	pkgconfig >= 1:0.9.0
+Requires:	libosinfo >= 0.0.5
+Requires:	libvirt-glib >= 0.1.3
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The libvirt-designer package provides an API to facilitate policy
+based configuration of libvirt objects. It uses libosinfo to drive the
+configuration of virtual machines with hardware that is optimized for
+the current hypervisor platform.
+
+%description -l pl.UTF-8
+Pakiet libvirt-designer udostępnia API ułatwiające konfigurację
+obiektów libvirt w oparciu o politykę. Wykorzystuje libosinfo do
+sterowania konfiguracją maszyn wirtualnych ze sprzętem
+zoptymalizowanym dla bieżącej platformy hipernadzorcy.
+
+%package devel
+Summary:	Header files for libvirt-designer library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libvirt-designer
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libosinfo-devel >= 0.0.5
+Requires:	libvirt-glib-devel >= 0.1.3
+
+%description devel
+Header files for libvirt-designer library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libvirt-designer.
+
+%package static
+Summary:	Static libvirt-designer library
+Summary(pl.UTF-8):	Statyczna biblioteka libvirt-designer
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libvirt-designer library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libvirt-designer.
+
+%package apidocs
+Summary:	libvirt-designer API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki libvirt-designer
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+libvirt-designer API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki libvirt-designer.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-silent-rules \
+	--with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/virtxml
+%attr(755,root,root) %{_libdir}/libvirt-designer-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libvirt-designer-1.0.so.0
+%{_libdir}/girepository-1.0/LibvirtDesigner-1.0.typelib
+%{_mandir}/man1/virtxml.1*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libvirt-designer-1.0.so
+%{_includedir}/libvirt-designer-1.0
+%{_datadir}/gir-1.0/LibvirtDesigner-1.0.gir
+%{_pkgconfigdir}/libvirt-designer-1.0.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libvirt-designer-1.0.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/libvirt-designer
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt-designer.git/commitdiff/c32782c7bbffeffa7e448aaae7691b883183ab88



More information about the pld-cvs-commit mailing list