Package libgnome-autoar: 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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | %def_disable snapshot %define _name gnome-autoar %define ver_major 0.4 %define api_ver_base 0 %define api_ver %api_ver_base.1 %def_enable introspection %def_enable vala %def_enable gtk_doc %def_enable check Name: lib%_name Version: %ver_major.2 Release: alt1 Summary: Automatic archives creating and extracting library Group: System/Libraries License: LGPL-2.1 Url: https://gitlab.gnome.org/GNOME/gnome-autoar %if_disabled snapshot Source: https://download.gnome.org/sources/%_name/%ver_major/%_name-%version.tar.xz %else Vcs: https://gitlab.gnome.org/GNOME/gnome-autoar.git Source: %_name-%version.tar %endif %define glib_ver 2.38 %define gtk_ver 3.2 %define archive_ver 3.2.0 BuildRequires(pre): rpm-macros-meson BuildRequires: meson libgio-devel >= %glib_ver libgtk+3-devel >= %gtk_ver BuildRequires: libarchive-devel >= %archive_ver %{?_enable_introspection: BuildRequires(pre): rpm-build-gir BuildRequires: gobject-introspection-devel libgtk+3-gir-devel} %{?_enable_vala: BuildRequires(pre): rpm-build-vala BuildRequires: vala-tools} %{?_enable_gtk_doc:BuildRequires: gtk-doc} %{?_enable_check:BuildRequires: dbus-tools-gui} %description %_name provides functions, widgets, and gschemas for GNOME applicatsions which want to use archives as a method to transfer directories over the Internet. %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 devel-doc Summary: Development documentation for %_name Group: Development/Documentation Conflicts: %name < %version-%release BuildArch: noarch %description devel-doc This package contains development documentation for %_name library. %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: System/Libraries BuildArch: noarch Requires: %name-gir = %version-%release %description gir-devel GObject introspection devel data for the %_name library %prep %setup -n %_name-%version %build %meson \ %{?_disable_introspection:-Dintrospection=disabled} \ %{?_enable_gtk_doc:-Dgtk_doc=true} \ %{?_enable_vala:-Dvapi=true} \ %{?_enable_check:-Dtests=true} %nil %meson_build %install %meson_install %find_lang %_name %check %__meson_test %files -f %_name.lang %_libdir/lib%_name-%api_ver_base.so.* %_libdir/lib%_name-gtk-%api_ver_base.so.* %doc NEWS README* %files devel %_includedir/%_name-%api_ver_base/ %_libdir/lib%_name-%api_ver_base.so %_libdir/lib%_name-gtk-%api_ver_base.so %_pkgconfigdir/%_name-%api_ver_base.pc %_pkgconfigdir/%_name-gtk-%api_ver_base.pc %{?_enable_vala: %_vapidir/%_name-%api_ver_base.deps %_vapidir/%_name-%api_ver_base.vapi %_vapidir/%_name-gtk-%api_ver_base.deps %_vapidir/%_name-gtk-%api_ver_base.vapi} %if_enabled gtk_doc %files devel-doc %_datadir/gtk-doc/html/* %endif %if_enabled introspection %files gir %_typelibdir/GnomeAutoar-%api_ver.typelib %_typelibdir/GnomeAutoarGtk-%api_ver.typelib %files gir-devel %_girdir/GnomeAutoar-%api_ver.gir %_girdir/GnomeAutoarGtk-%api_ver.gir %endif %changelog * Fri Jan 07 2022 Yuri N. Sedunov <aris@altlinux.org> 0.4.2-alt1 - 0.4.2 * Sat Oct 30 2021 Yuri N. Sedunov <aris@altlinux.org> 0.4.1-alt1 - 0.4.1 * Tue Aug 10 2021 Yuri N. Sedunov <aris@altlinux.org> 0.4.0-alt1 - 0.4.0 (ported to Meson build system) * Fri Jun 04 2021 Yuri N. Sedunov <aris@altlinux.org> 0.3.3-alt1 - 0.3.3 * Fri Apr 30 2021 Yuri N. Sedunov <aris@altlinux.org> 0.3.2-alt1 - 0.3.2 * Sat Mar 13 2021 Yuri N. Sedunov <aris@altlinux.org> 0.3.1-alt1 - 0.3.1 * Fri Feb 12 2021 Yuri N. Sedunov <aris@altlinux.org> 0.3.0-alt1 - 0.3.0 (fixed CVE-2020-36241) * Thu Dec 12 2019 Yuri N. Sedunov <aris@altlinux.org> 0.2.4-alt1 - 0.2.4 * Sun Feb 25 2018 Yuri N. Sedunov <aris@altlinux.org> 0.2.3-alt1 - 0.2.3 * Tue Mar 21 2017 Yuri N. Sedunov <aris@altlinux.org> 0.2.2-alt1 - 0.2.2 * Fri Mar 03 2017 Yuri N. Sedunov <aris@altlinux.org> 0.2.1-alt1 - 0.2.1 * Wed Feb 22 2017 Yuri N. Sedunov <aris@altlinux.org> 0.2.0-alt1 - 0.2.0 * Fri Sep 02 2016 Yuri N. Sedunov <aris@altlinux.org> 0.1.1-alt1 - 0.1.1 * Tue Feb 10 2015 Yuri N. Sedunov <aris@altlinux.org> 0.1-alt1 - first build for Sisyphus |