From ad8638d46c3de29a6af2136dfd78ae415de4d083 Mon Sep 17 00:00:00 2001 From: davehome Date: Fri, 28 Sep 2012 02:46:37 -0600 Subject: [PATCH] New package: libosinfo-0.2.0. --- common/shlibs | 1 + srcpkgs/libosinfo-devel | 1 + srcpkgs/libosinfo/libosinfo-devel.template | 17 +++++++++++++++++ srcpkgs/libosinfo/libosinfo.rshlibs | 9 +++++++++ srcpkgs/libosinfo/template | 16 ++++++++++++++++ 5 files changed, 44 insertions(+) create mode 120000 srcpkgs/libosinfo-devel create mode 100644 srcpkgs/libosinfo/libosinfo-devel.template create mode 100644 srcpkgs/libosinfo/libosinfo.rshlibs create mode 100644 srcpkgs/libosinfo/template diff --git a/common/shlibs b/common/shlibs index f7a8a896b8..86a958e8d2 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1059,3 +1059,4 @@ librygel-core-1.0.so.0 librygel-0.16.0_1 librygel-renderer-1.0.so.0 librygel-0.16.0_1 librygel-server-1.0.so.0 librygel-0.16.0_1 libharfbuzz.so.0 libharfbuzz-0.9.4_1 +libosinfo-1.0.so.0 libosinfo-0.2.0_1 diff --git a/srcpkgs/libosinfo-devel b/srcpkgs/libosinfo-devel new file mode 120000 index 0000000000..897e467961 --- /dev/null +++ b/srcpkgs/libosinfo-devel @@ -0,0 +1 @@ +libosinfo \ No newline at end of file diff --git a/srcpkgs/libosinfo/libosinfo-devel.template b/srcpkgs/libosinfo/libosinfo-devel.template new file mode 100644 index 0000000000..c06b0c7bca --- /dev/null +++ b/srcpkgs/libosinfo/libosinfo-devel.template @@ -0,0 +1,17 @@ +# Template file for 'libosinfo-devel'. +# +depends="glib-devel libsoup-gnome-devel libxml2-devel libxslt-devel gobject-introspection vala-devel libosinfo" +short_desc="${sourcepkg} development files" +long_desc="${long_desc} +noarch=yes + + This package contains files for development, headers, static libs, etc." + +do_install() +{ + vmove "usr/lib/*.a" usr/lib + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove usr/share/gir-1.0 usr/share + vmove usr/share/vala usr/share +} diff --git a/srcpkgs/libosinfo/libosinfo.rshlibs b/srcpkgs/libosinfo/libosinfo.rshlibs new file mode 100644 index 0000000000..5c0f044c15 --- /dev/null +++ b/srcpkgs/libosinfo/libosinfo.rshlibs @@ -0,0 +1,9 @@ +libxslt.so.1 +libz.so.1 +libm.so.6 +libxml2.so.2 +libgio-2.0.so.0 +libgobject-2.0.so.0 +libglib-2.0.so.0 +libpthread.so.0 +libc.so.6 diff --git a/srcpkgs/libosinfo/template b/srcpkgs/libosinfo/template new file mode 100644 index 0000000000..edc38c20fb --- /dev/null +++ b/srcpkgs/libosinfo/template @@ -0,0 +1,16 @@ +# Template file for 'libosinfo' +pkgname=libosinfo +version=0.2.0 +revision=1 +distfiles="https://fedorahosted.org/releases/l/i/${pkgname}/${pkgname}-${version}.tar.gz" +build_style=gnu-configure +configure_args="--disable-tests" +makedepends="pkg-config glib-devel libsoup-gnome-devel libxml2-devel libxslt-devel gobject-introspection vala-devel" +short_desc="GObject based library API for managing info about operating systems" +maintainer="davehome " +checksum=6aa68ad635afd6e86cb8c54c28c8b02658782b5072eac5ba6db421c0c3cc8916 +long_desc=" + GObject based library API for managing information about operating systems, + hypervisors and the (virtual) hardware devices they can support." + +subpackages="${pkgname}-devel"