package created using the webbuild interface [release 0.1.8-1mamba;Sat May 03 2014]
This commit is contained in:
parent
0c479bf2c9
commit
15d5415393
@ -1,2 +1,4 @@
|
|||||||
# libvirt-glib
|
# libvirt-glib
|
||||||
|
|
||||||
|
libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes).
|
||||||
|
|
||||||
|
160
libvirt-glib.spec
Normal file
160
libvirt-glib.spec
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
Name: libvirt-glib
|
||||||
|
Version: 0.1.8
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A C toolkit to interact with the virtualization capabilities of recent versions of Linux
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://libvirt.org/sources/glib/
|
||||||
|
Source: http://libvirt.org/sources/glib/libvirt-glib-%{version}.tar.gz
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libaudit-devel
|
||||||
|
BuildRequires: libavahi-devel
|
||||||
|
BuildRequires: libcap-ng-devel
|
||||||
|
BuildRequires: libcares-devel
|
||||||
|
BuildRequires: libcurl-devel
|
||||||
|
BuildRequires: libdbus-devel
|
||||||
|
BuildRequires: libdevmapper-devel
|
||||||
|
BuildRequires: libe2fs-devel
|
||||||
|
BuildRequires: libffi-devel
|
||||||
|
BuildRequires: libgcrypt-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libgmp-devel
|
||||||
|
BuildRequires: libgnutls-devel
|
||||||
|
BuildRequires: libgpg-error-devel
|
||||||
|
BuildRequires: libidn-devel
|
||||||
|
BuildRequires: libkeyutils-devel
|
||||||
|
BuildRequires: libkrb5-devel
|
||||||
|
BuildRequires: liblzma-devel
|
||||||
|
BuildRequires: libnettle-devel
|
||||||
|
BuildRequires: libnl-devel
|
||||||
|
BuildRequires: libopenldap-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: libp11-kit-devel
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
BuildRequires: librtmp-devel
|
||||||
|
BuildRequires: libsasl-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: libssh2-devel
|
||||||
|
BuildRequires: libssp-devel
|
||||||
|
BuildRequires: libsystemd-devel
|
||||||
|
BuildRequires: libtasn1-devel
|
||||||
|
BuildRequires: libtirpc-devel
|
||||||
|
BuildRequires: libvirt-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: libyajl-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes).
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
## note: you can add this requirement if .pc files are provided by this package
|
||||||
|
#Requires: pkg-config
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package -n python-libvirt-glib
|
||||||
|
Group: System/Libraries/Python
|
||||||
|
Summary: Utility applications for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n python-libvirt-glib
|
||||||
|
This package contains python bindings to %{name}.
|
||||||
|
|
||||||
|
%package apidocs
|
||||||
|
Group: Documentation
|
||||||
|
Summary: %{name} API documentation
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: gtk-doc
|
||||||
|
|
||||||
|
%description apidocs
|
||||||
|
This package includes the %{name} API documentation.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --enable-gtk-doc
|
||||||
|
%make -j1
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%find_lang %{name} || touch %{name}.lang
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
## note: this list is just an example; modify as required
|
||||||
|
# %{_libdir}/*.so.*
|
||||||
|
# %{_mandir}/man1/%{name}.*
|
||||||
|
%{_libdir}/libvirt-gconfig-1.0.so.*
|
||||||
|
%{_libdir}/libvirt-glib-1.0.so.*
|
||||||
|
%{_libdir}/libvirt-gobject-1.0.so.*
|
||||||
|
%{_libdir}/girepository-1.0/LibvirtGConfig-1.0.typelib
|
||||||
|
%{_libdir}/girepository-1.0/LibvirtGLib-1.0.typelib
|
||||||
|
%{_libdir}/girepository-1.0/LibvirtGObject-1.0.typelib
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/libvirt-gconfig-1.0/libvirt-gconfig
|
||||||
|
%{_includedir}/libvirt-gconfig-1.0/libvirt-gconfig/*.h
|
||||||
|
%dir %{_includedir}/libvirt-glib-1.0/libvirt-glib
|
||||||
|
%{_includedir}/libvirt-glib-1.0/libvirt-glib/*.h
|
||||||
|
%dir %{_includedir}/libvirt-gobject-1.0/libvirt-gobject
|
||||||
|
%{_includedir}/libvirt-gobject-1.0/libvirt-gobject/*.h
|
||||||
|
%{_libdir}/libvirt-gconfig-1.0.la
|
||||||
|
%{_libdir}/libvirt-gconfig-1.0.so
|
||||||
|
%{_libdir}/libvirt-glib-1.0.la
|
||||||
|
%{_libdir}/libvirt-glib-1.0.so
|
||||||
|
%{_libdir}/libvirt-gobject-1.0.la
|
||||||
|
%{_libdir}/libvirt-gobject-1.0.so
|
||||||
|
%{_libdir}/pkgconfig/libvirt-gconfig-1.0.pc
|
||||||
|
%{_libdir}/pkgconfig/libvirt-glib-1.0.pc
|
||||||
|
%{_libdir}/pkgconfig/libvirt-gobject-1.0.pc
|
||||||
|
%{_datadir}/gir-1.0/LibvirtGConfig-1.0.gir
|
||||||
|
%{_datadir}/gir-1.0/LibvirtGLib-1.0.gir
|
||||||
|
%{_datadir}/gir-1.0/LibvirtGObject-1.0.gir
|
||||||
|
%{_datadir}/vala/vapi/libvirt-gconfig-1.0.vapi
|
||||||
|
%{_datadir}/vala/vapi/libvirt-glib-1.0.vapi
|
||||||
|
%{_datadir}/vala/vapi/libvirt-gobject-1.0.deps
|
||||||
|
%{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi
|
||||||
|
%doc ChangeLog NEWS README
|
||||||
|
|
||||||
|
%files -n python-libvirt-glib
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{python_sitearch}/libvirtglib.py
|
||||||
|
%{python_sitearch}/libvirtglibmod.la
|
||||||
|
%{python_sitearch}/libvirtglibmod.so
|
||||||
|
|
||||||
|
%files apidocs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/gtk-doc/html/Libvirt-gconfig
|
||||||
|
%{_datadir}/gtk-doc/html/Libvirt-gconfig/*
|
||||||
|
%dir %{_datadir}/gtk-doc/html/Libvirt-glib
|
||||||
|
%{_datadir}/gtk-doc/html/Libvirt-glib/*
|
||||||
|
%dir %{_datadir}/gtk-doc/html/Libvirt-gobject
|
||||||
|
%{_datadir}/gtk-doc/html/Libvirt-gobject/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat May 03 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.8-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user