Package libgfbgraph: 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 | %def_disable snapshot %define _name gfbgraph %define ver_major 0.2 %define api_ver 0.2 %def_disable static %def_enable gtk_doc %def_enable introspection # see tests/README %def_disable check Name: lib%_name Version: %ver_major.5 Release: alt1 Summary: A GObject library for Facebook Graph API License: %lgpl2plus Group: System/Libraries Url: http://developer.gnome.org/ %if_disabled snapshot Source: %gnome_ftp/%_name/%ver_major/%_name-%version.tar.xz %else Source: %name-%version.tar %endif %define glib_ver 2.31.2 BuildPreReq: rpm-build-gnome rpm-build-licenses gnome-common gtk-doc BuildPreReq: glib2-devel >= %glib_ver BuildRequires: libjson-glib-devel librest-devel libsoup-devel BuildRequires: libgnome-online-accounts-devel %{?_enable_introspection:BuildRequires: gobject-introspection-devel >= 1.30 librest-gir-devel libjson-glib-gir-devel libsoup-gir-devel} %description LibGFBGraph is a GObject library for Facebook Graph API. %package devel Summary: Development environment for LibGFBGraph Group: Development/C Requires: %name = %version-%release %description devel This package contains the necessary components to develop with LibGFBGraph library. %package devel-doc Summary: Development documentation for LibGFBGraph Group: Development/Documentation BuildArch: noarch Conflicts: %name < %version-%release %description devel-doc This package contains development documentation for LibGFBGraph library. %package gir Summary: GObject introspection data for the LibGFBGraph library Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the LibGFBGraph library %package gir-devel Summary: GObject introspection devel data for the LibGFBGraph library Group: Development/Other BuildArch: noarch Requires: %name-devel = %version-%release Requires: %name-gir = %version-%release %description gir-devel GObject introspection devel data for the LibGFBGraph library. %prep %setup -n %_name-%version %build %autoreconf %configure --disable-static \ %{?_enable_gtk_doc:--enable-gtk-doc} \ %{subst_enable introspection} %nil %make_build %install %makeinstall_std %find_lang %name %check %make -t check VERBOSE=1 %files -f %name.lang %_libdir/%name-%api_ver.so.* %doc AUTHORS NEWS README %files devel %_includedir/%_name-%api_ver/ %_libdir/%name-%api_ver.so %_pkgconfigdir/%name-%api_ver.pc %if_enabled gtk_doc %files devel-doc %_datadir/gtk-doc/html/* %endif %if_enabled introspection %files gir %_typelibdir/GFBGraph-%api_ver.typelib %files gir-devel %_girdir/GFBGraph-%api_ver.gir %endif %changelog * Sat Oct 30 2021 Yuri N. Sedunov <aris@altlinux.org> 0.2.5-alt1 - 0.2.5 (fixed CVE-2021-39358) * Fri May 29 2020 Yuri N. Sedunov <aris@altlinux.org> 0.2.4-alt1 - 0.2.4 * Wed Jul 15 2015 Yuri N. Sedunov <aris@altlinux.org> 0.2.3-alt1 - 0.2.3 release * Tue Feb 04 2014 Yuri N. Sedunov <aris@altlinux.org> 0.2.3-alt0.1 - first build for Sisyphus |