Package libtemplate-glib: 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 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | %def_disable snapshot %define _name template-glib # probably meson bug %define libname libtemplate_glib %define ver_major 3.36 %define api_ver 1.0 %def_enable introspection %def_enable gtk_doc Name: lib%_name Version: %ver_major.2 Release: alt1 Summary: A templating library for GLib Group: System/Libraries License: LGPLv2.1 Url: https://wiki.gnome.org/Projects/TemplateGlib %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz %else Source: %name-%version.tar %endif BuildRequires(pre): rpm-macros-meson BuildRequires: meson bison flex gtk-doc vala-tools BuildRequires: libgio-devel %{?_enable_introspection:BuildRequires: gobject-introspection-devel} %description Template-GLib is a templating library for GLib. It includes a simple template format along with integration into GObject-Introspection for properties and methods. It separates the parsing of templates and the expansion of templates for faster expansion. You can also define scope, custom functions, and more with the embedded expression language. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package gir Summary: GObject introspection data for the %name library Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the %name library %package gir-devel Summary: GObject introspection devel data for the %name 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 %name library %package devel-doc Summary: Development documentation for %name Group: Development/C BuildArch: noarch Conflicts: %name < %version-%release %description devel-doc This package contains development documentation for %name %prep %setup -n %_name-%version %build %meson %{?_enable_gtk_doc:-Dgtk_doc=true} %meson_build %install %meson_install %find_lang %_name %check %meson_test %files -f %_name.lang %_libdir/%libname-%api_ver.so.* %doc README.md NEWS AUTHORS %files devel %_includedir/%_name-%api_ver/ %_libdir/%libname-%api_ver.so %_pkgconfigdir/%_name-%api_ver.pc %_vapidir/%_name-%api_ver.deps %_vapidir/%_name-%api_ver.vapi %if_enabled introspection %files gir %_typelibdir/Template-%api_ver.typelib %files gir-devel %_girdir/Template-%api_ver.gir %endif %if_enabled gtk_doc %files devel-doc %_datadir/gtk-doc/html/%_name/ %endif %changelog * Tue Mar 05 2024 Yuri N. Sedunov <aris@altlinux.org> 3.36.2-alt1 - 3.36.2 * Sat Mar 04 2023 Yuri N. Sedunov <aris@altlinux.org> 3.36.1-alt1 - 3.36.1 * Wed Sep 21 2022 Yuri N. Sedunov <aris@altlinux.org> 3.36.0-alt1 - 3.36.0 * Sat Mar 19 2022 Yuri N. Sedunov <aris@altlinux.org> 3.34.1-alt1 - 3.34.1 * Tue Sep 10 2019 Yuri N. Sedunov <aris@altlinux.org> 3.34.0-alt1 - 3.34.0 * Wed Mar 13 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.0-alt1 - 3.32.0 * Wed Sep 05 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.0-alt1 - 3.30.0 * Wed Mar 14 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.0-alt1 - 3.28.0 * Wed Oct 04 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.1-alt1 - 3.26.1 * Tue Sep 12 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.0-alt1 - 3.26.0 * Wed Jun 07 2017 Yuri N. Sedunov <aris@altlinux.org> 3.25.2-alt1 - first build for Sisyphus |