mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Added pkgconfig file (libguestfs.pc).
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -46,6 +46,7 @@ java/api
|
||||
java/com_redhat_et_libguestfs_GuestFS.h
|
||||
java/doc-stamp
|
||||
missing
|
||||
libguestfs.pc
|
||||
libguestfs.spec
|
||||
libguestfs-*.tar.gz
|
||||
libtool
|
||||
|
||||
@@ -42,7 +42,8 @@ EXTRA_DIST = \
|
||||
libguestfs.spec \
|
||||
html/pod.css \
|
||||
HACKING TODO \
|
||||
tests.c
|
||||
tests.c \
|
||||
libguestfs.pc libguestfs.pc.in
|
||||
|
||||
# Build the root filesystem.
|
||||
# Currently this is arch-dependent, so it seems like putting it in
|
||||
@@ -136,6 +137,11 @@ html/guestfish.1.html: guestfish.pod guestfish-actions.pod
|
||||
website: html/guestfs.3.html html/guestfish.1.html
|
||||
cp $^ html/pod.css $(HOME)/d/redhat/et-website/libguestfs/
|
||||
|
||||
# Pkgconfig.
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libguestfs.pc
|
||||
|
||||
# Test-boot the image.
|
||||
|
||||
test-boot: emptydisk
|
||||
|
||||
4
TODO
4
TODO
@@ -5,7 +5,3 @@ https://www.redhat.com/archives/fedora-virt/2009-April/msg00114.html
|
||||
|
||||
We badly need to actually implement the FTP server mentioned in the
|
||||
documentation.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Needs pkgconfig file.
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
AC_INIT([libguestfs],[1.0.7])
|
||||
AC_INIT([libguestfs],[1.0.8])
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
@@ -340,7 +340,7 @@ AC_CONFIG_FILES([Makefile src/Makefile fish/Makefile examples/Makefile
|
||||
ruby/Makefile ruby/Rakefile
|
||||
java/Makefile
|
||||
make-initramfs.sh update-initramfs.sh
|
||||
libguestfs.spec
|
||||
libguestfs.spec libguestfs.pc
|
||||
ocaml/META perl/Makefile.PL])
|
||||
AC_OUTPUT
|
||||
|
||||
|
||||
11
libguestfs.pc.in
Normal file
11
libguestfs.pc.in
Normal file
@@ -0,0 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libguestfs
|
||||
Version: @VERSION@
|
||||
Description: libguestfs library for accessing and modifying VM images
|
||||
Requires:
|
||||
Cflags:
|
||||
Libs: -lguestfs @LIBS@
|
||||
@@ -91,6 +91,7 @@ For Java bindings, see 'libguestfs-java-devel'.
|
||||
Summary: Development tools and libraries for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
|
||||
%description devel
|
||||
@@ -320,6 +321,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/guestfs.h
|
||||
%{_includedir}/guestfs-actions.h
|
||||
%{_includedir}/guestfs-structs.h
|
||||
%{_libdir}/pkgconfig/libguestfs.pc
|
||||
|
||||
|
||||
%files -n guestfish
|
||||
|
||||
Reference in New Issue
Block a user