Package libgudev: 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 | %def_disable snapshot %define _name gudev %define ver_major 233 %define api_ver 1.0 %def_disable static %def_enable gtk_doc %def_enable introspection %def_enable umockdev %def_enable check Name: lib%_name Version: %ver_major Release: alt1 Epoch: 1 Summary: UDev GObject bindings Group: System/Libraries License: LGPLv2 Url: https://wiki.gnome.org/Projects/%name %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz %else Source: %name-%version.tar %endif %define udev_ver 199 %define glib_ver 2.38 # https://github.com/martinpitt/umockdev/issues/69 %define umockdev_ver 0.11.2 BuildRequires: libudev-devel >= %udev_ver BuildRequires: libgio-devel >= %glib_ver %{?_enable_umockdev:BuildRequires: libumockdev-devel >= %umockdev_ver} %{?_enable_gtk_doc:BuildRequires: gtk-doc} BuildRequires: intltool %{?_enable_introspection:BuildRequires: gobject-introspection-devel} %description %name is a library with GObject bindings to libudev, now made independent, after being part of udev itself, and later systemd. %package devel Summary: Development files and libraries for %name Group: Development/C Requires: %name = %EVR %description devel %name is a library with GObject bindings to libudev, now made independent, after being part of udev itself, and later systemd. This package provides files for development with %name. %package devel-doc Summary: Development documentaion for %name Group: Development/C BuildArch: noarch Conflicts: %name < %EVR %description devel-doc %name is a library with GObject bindings to libudev, now made independent, after being part of udev itself, and later systemd. This package provides development documentations for %name. %package gir Summary: GObject introspection data for %name Group: System/Libraries Requires: %name = %EVR %description gir GObject introspection data for the %name library. %package gir-devel Summary: GObject introspection devel data for %name Group: System/Libraries BuildArch: noarch Requires: %name-gir = %EVR Requires: %name-devel = %EVR %description gir-devel GObject introspection devel data for %name. %prep %setup %build %autoreconf %configure --disable-static \ %{subst_enable umockdev} \ %{?_enable_gtk_doc:--enable-gtk-doc} \ %{subst_enable introspection} %make_build %install %makeinstall_std %find_lang %name %check %make check %files -f %name.lang %_libdir/%name-%api_ver.so.* %doc README NEWS %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/GUdev-%api_ver.typelib %files gir-devel %_girdir/GUdev-%api_ver.gir %endif %changelog * Sat Aug 03 2019 Yuri N. Sedunov <aris@altlinux.org> 1:233-alt1 - 233 * Sat Apr 14 2018 Yuri N. Sedunov <aris@altlinux.org> 1:232-alt3 - required umockdev >= 0.11.2 for check * Fri Feb 02 2018 Yuri N. Sedunov <aris@altlinux.org> 1:232-alt2 - updated to 232-4-gbf8664a (fixed BGO ##792845, 787314) - disabled check while umockdev not fixed for systemd-237 * Fri Sep 01 2017 Yuri N. Sedunov <aris@altlinux.org> 1:232-alt1 - 232 * Mon Feb 13 2017 Yuri N. Sedunov <aris@altlinux.org> 1:231-alt1 - 231 * Sun Jun 21 2015 Yuri N. Sedunov <aris@altlinux.org> 1:230-alt1 - 230 * Fri May 22 2015 Yuri N. Sedunov <aris@altlinux.org> 1:219-alt3 - first build separate from systemd |