mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
b38893c3ea
docs are installed and packaged in the -devel RPM * docs/api.xsl docs/newapi.xsl: forgot to commit API HTML stylesheets Daniel
66 lines
1.2 KiB
RPMSpec
66 lines
1.2 KiB
RPMSpec
Summary: Library providing an API to use the Xen virtualization
|
|
Name: libvir
|
|
Version: @VERSION@
|
|
Release: 1
|
|
License: LGPL
|
|
Group: Development/Libraries
|
|
Source: libvir-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
URL: http://libvir.org/
|
|
BuildRequires: xen
|
|
Requires: xen
|
|
|
|
%description
|
|
This C library provides an API to use the Xen virtualization framework
|
|
|
|
%package devel
|
|
Summary: Libraries, includes, etc. to compile with the libvir library
|
|
Group: Development/Libraries
|
|
Requires: libvir = %{version}
|
|
|
|
%description devel
|
|
This C library provides an API to use the Xen virtualization framework
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
rm -fr %{buildroot}
|
|
|
|
%makeinstall
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
%clean
|
|
rm -fr %{buildroot}
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS ChangeLog NEWS README COPYING.LIB TODO
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/*a
|
|
%{_includedir}/libvir/*.h
|
|
%{_libdir}/pkgconfig/libvir.pc
|
|
|
|
%doc docs/*.html docs/html docs/*.gif
|
|
%doc docs/libvir-api.xml
|
|
|
|
%changelog
|
|
* Wed Nov 2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1
|
|
- created
|