* libvir.spec.in src/Makefile.am: cleaned up the spec file, removed

static libraries, adding virsh as an installed program
Daniel
This commit is contained in:
Daniel Veillard 2005-12-16 13:27:23 +00:00
parent 454544940a
commit a02a3266e9
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Fri Dec 16 14:26:05 CET 2005 Daniel Veillard <veillard@redhat.com>
* libvir.spec.in src/Makefile.am: cleaned up the spec file, removed
static libraries, adding virsh as an installed program
Fri Dec 16 13:59:35 CET 2005 Daniel Veillard <veillard@redhat.com>
* src/libvir_sym.version: oops forgot to export the new symbol

View File

@ -11,7 +11,8 @@ BuildRequires: xen
Requires: xen
%description
This C library provides an API to use the Xen virtualization framework
This C library provides an API to use the Xen virtualization framework,
and the virsh command line tool to control virtual domains.
%package devel
Summary: Libraries, includes, etc. to compile with the libvir library
@ -19,7 +20,8 @@ Group: Development/Libraries
Requires: libvir = %{version}
%description devel
This C library provides an API to use the Xen virtualization framework
Includes and documantations for the C library providing an API to use
the Xen virtualization framework
%prep
%setup -q
@ -33,6 +35,7 @@ rm -fr %{buildroot}
%makeinstall
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
%clean
rm -fr %{buildroot}
@ -47,13 +50,13 @@ rm -fr %{buildroot}
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING.LIB TODO
%{_bindir}/virsh
%{_libdir}/lib*.so.*
%files devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_libdir}/*a
%{_includedir}/libvir/*.h
%{_libdir}/pkgconfig/libvir.pc

View File

@ -17,7 +17,7 @@ libvir_la_SOURCES = \
xen_internal.c xen_internal.h \
xml.c
noinst_PROGRAMS=virsh
bin_PROGRAMS=virsh
virsh_SOURCES=virsh.c
virsh_LDFLAGS =