mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
* TODO libxen.pc.in libxen.spec.in include/Makefile.am Makefile.am
config.h.in configure.in: fix make dist, add rpm packaging * src/libxen_sym.version src/Makefile.am: set a policy of no export by default of library symbols Daniel
This commit is contained in:
parent
6fa55690b9
commit
70eb59b8be
@ -1,3 +1,10 @@
|
|||||||
|
Wed Nov 2 16:35:54 CET 2005 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* TODO libxen.pc.in libxen.spec.in include/Makefile.am Makefile.am
|
||||||
|
config.h.in configure.in: fix make dist, add rpm packaging
|
||||||
|
* src/libxen_sym.version src/Makefile.am: set a policy of no
|
||||||
|
export by default of library symbols
|
||||||
|
|
||||||
Wed Nov 2 14:17:50 CET 2005 Daniel Veillard <veillard@redhat.com>
|
Wed Nov 2 14:17:50 CET 2005 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* AUTHORS NEWS README autogen.sh configure.in: allow autogen.sh and
|
* AUTHORS NEWS README autogen.sh configure.in: allow autogen.sh and
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
SUBDIRS = src #docs
|
SUBDIRS = src include #docs
|
||||||
EXTRA_DIST = libxen.spec.in libxen.spec COPYING.LIB \
|
EXTRA_DIST = libxen.spec.in libxen.spec COPYING.LIB \
|
||||||
libxen.pc.in libxen.pc
|
libxen.pc.in libxen.pc TODO AUTHORS ChangeLog \
|
||||||
|
NEWS README
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = libxen.pc
|
pkgconfig_DATA = libxen.pc
|
||||||
|
|
||||||
|
rpm: clean
|
||||||
|
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
|
||||||
|
61
config.h.in
61
config.h.in
@ -0,0 +1,61 @@
|
|||||||
|
/* config.h.in. Generated from configure.in by autoheader. */
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
#undef HAVE_DLFCN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Name of package */
|
||||||
|
#undef PACKAGE
|
||||||
|
|
||||||
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
|
/* Define to the full name of this package. */
|
||||||
|
#undef PACKAGE_NAME
|
||||||
|
|
||||||
|
/* Define to the full name and version of this package. */
|
||||||
|
#undef PACKAGE_STRING
|
||||||
|
|
||||||
|
/* Define to the one symbol short name of this package. */
|
||||||
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
|
/* Define to the version of this package. */
|
||||||
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
|
/* Define to 1 if the C compiler supports function prototypes. */
|
||||||
|
#undef PROTOTYPES
|
||||||
|
|
||||||
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
|
/* Version number of package */
|
||||||
|
#undef VERSION
|
||||||
|
|
||||||
|
/* Define like PROTOTYPES; this can be used by system headers. */
|
||||||
|
#undef __PROTOTYPES
|
@ -50,4 +50,4 @@ AM_PROG_LIBTOOL
|
|||||||
dnl search for the low level Xen library
|
dnl search for the low level Xen library
|
||||||
AC_SEARCH_LIBS(xc_domain_create, [xenctrl])
|
AC_SEARCH_LIBS(xc_domain_create, [xenctrl])
|
||||||
|
|
||||||
AC_OUTPUT(Makefile src/Makefile)
|
AC_OUTPUT(Makefile src/Makefile include/Makefile libxen.pc libxen.spec)
|
||||||
|
9
include/Makefile.am
Normal file
9
include/Makefile.am
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
xenincdir = $(includedir)/libxen
|
||||||
|
|
||||||
|
xeninc_HEADERS = libxen.h
|
||||||
|
|
||||||
|
install-exec-hook:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(xenincdir)
|
||||||
|
|
9
include/libvirt/Makefile.am
Normal file
9
include/libvirt/Makefile.am
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
xenincdir = $(includedir)/libxen
|
||||||
|
|
||||||
|
xeninc_HEADERS = libxen.h
|
||||||
|
|
||||||
|
install-exec-hook:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(xenincdir)
|
||||||
|
|
11
libxen.pc.in
Normal file
11
libxen.pc.in
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: libxen
|
||||||
|
Version: @VERSION@
|
||||||
|
Description: libxen library
|
||||||
|
Requires:
|
||||||
|
Libs: -L${libdir} -lxen @LIBS@
|
||||||
|
Cflags:
|
62
libxen.spec.in
Normal file
62
libxen.spec.in
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
Summary: Library providing an API to use the Xen virtualization
|
||||||
|
Name: libxen
|
||||||
|
Version: @VERSION@
|
||||||
|
Release: 1
|
||||||
|
License: LGPL
|
||||||
|
Group: Development/Libraries
|
||||||
|
Source: libxen-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
URL: http://www.gnome.org/~veillard/gamin/
|
||||||
|
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 libxen library
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: libxen = %{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}/libxen/*.h
|
||||||
|
%{_libdir}/pkgconfig/libxen.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Nov 2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1
|
||||||
|
- created
|
@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include -I@srcdir@/include
|
INCLUDES = -I$(top_builddir)/include -I@srcdir@/include
|
||||||
|
|
||||||
|
EXTRA_DIST = libxen_sym.version
|
||||||
|
|
||||||
lib_LTLIBRARIES = libxen.la
|
lib_LTLIBRARIES = libxen.la
|
||||||
libxen_la_LIBADD =
|
libxen_la_LIBADD =
|
||||||
libxen_la_LDFLAGS = -version-info @LIBXEN_VERSION_INFO@
|
libxen_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libxen_sym.version \
|
||||||
libxen_la_SOURCES = libxen.c
|
-version-info @LIBXEN_VERSION_INFO@
|
||||||
|
libxen_la_SOURCES = libxen.c internal.h
|
||||||
|
8
src/libxen_sym.version
Normal file
8
src/libxen_sym.version
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
global:
|
||||||
|
xenOpenConnect;
|
||||||
|
xenCloseConnect;
|
||||||
|
xenGetVersion;
|
||||||
|
xenCreateLinuxDomain;
|
||||||
|
local: *;
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user