Package libgxml: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | %define _name gxml %define ver_major 0.8 %define api_ver 0.6 %def_disable docs Name: lib%_name Version: %ver_major.1 Release: alt1 Summary: GXml provides a GObject API for manipulating XML Group: System/Libraries License: LGPLv2.1+ Url: http://live.gnome.org/XML Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz #Source: %_name-%version.tar %define glib_ver 2.32 %define vala_ver 0.26 %define gee_ver 0.10.5 %define xml2_ver 2.7 BuildRequires: libgio-devel >= %glib_ver BuildRequires: libgee0.8-devel >= %gee_ver BuildRequires: libxml2-devel >= %xml2_ver BuildRequires: libvala-devel >= %vala_ver vala-tools BuildRequires: gobject-introspection-devel libgee0.8-gir-devel BuildRequires: intltool gtk-doc %{?_enable_docs:BuildRequires: valadoc} %description GXml provides a GObject API for manipulating XML. Most functionality is provided through libxml2. Currently, GXml provides the DOM Level 1 Core API. %package devel Summary: Development files for GXml Group: Development/C Requires: %name = %version-%release %description devel This package contains libraries and header files needed for development using GXml. %package gir Summary: GObject introspection data for the GXml library Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the GXml library %package gir-devel Summary: GObject introspection devel data for the GXml library Group: Development/Other BuildArch: noarch Requires: %name-gir = %version-%release Requires: %name-devel = %version-%release %description gir-devel GObject introspection devel data for the GXml library. %package devel-doc Summary: Development documentation for GXml Group: Development/Documentation BuildArch: noarch Conflicts: %name < %version-%release %description devel-doc This package contains development documentation for GXml library. %prep %setup -n %_name-%version %build %autoreconf %configure --disable-static %make_build %install %makeinstall_std %check %make check %find_lang --output=%_name.lang %_name GXml %files -f %_name.lang %_libdir/%name-%api_ver.so.* %doc NEWS README %files devel %_includedir/%_name-%api_ver/ %_libdir/%name-%api_ver.so %_pkgconfigdir/%_name-%api_ver.pc %_vapidir/%_name-%api_ver.deps %_vapidir/%_name-%api_ver.vapi %files gir %_typelibdir/GXml-%api_ver.typelib %files gir-devel %_girdir/GXml-%api_ver.gir %if_enabled docs %files devel-doc %_datadir/gtk-doc/html/* %endif %changelog * Wed Jan 13 2016 Yuri N. Sedunov <aris@altlinux.org> 0.8.1-alt1 - 0.8.1 * Thu Jul 09 2015 Yuri N. Sedunov <aris@altlinux.org> 0.6.0-alt1 - first build for Sisyphus |