Package libcolord-gtk: 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 | %define _name colord %define api_ver 1.0 %def_enable introspection %def_enable vala %def_enable man %def_enable docs %def_enable tests %def_disable check %def_enable gtk3 Name: lib%_name-gtk Version: 0.3.1 Release: alt1 Summary: GTK+3 support library for colord daemon License: GPLv2+ Group: System/Libraries Url: https://github.com/hughsie/colord-gtk Vcs: https://github.com/hughsie/colord-gtk.git Source: https://github.com/hughsie/colord-gtk/archive/%version/%_name-gtk-%version.tar.gz %define glib_ver 2.32 %define colord_ver 0.1.27 Requires: lib%_name >= %colord_ver BuildRequires(pre): rpm-macros-meson rpm-build-gir %{?_enable_vala:BuildRequires(pre): rpm-build-vala} BuildRequires: meson glib2-devel >= %glib_ver BuildRequires: lib%_name-devel >= %colord_ver libgtk4-devel %{?_enable_gtk3:BuildRequires: libgtk+3-devel} %{?_enable_introspection:BuildRequires: gobject-introspection-devel BuildRequires: libgtk4-gir-devel lib%_name-gir-devel %{?_enable_gtk3:BuildRequires: libgtk+3-gir-devel}} %{?_enable_vala:BuildRequires: vala-tools lib%_name-vala} %{?_enable_man:BuildRequires: xsltproc docbook5-style-xsl} %{?_enable_docs:BuildRequires: gtk-doc} %description colord is a low level system activated daemon that maps color devices to color profiles in the system context. This package provides GTK+3 library for interaction with colord. %package devel Summary: Development package for %name Group: Development/C Requires: %name = %version-%release %description devel colord is a low level system activated daemon that maps color devices to color profiles in the system context. This package provides development files for the %_name-gtk library. %package gir Summary: GObject introspection data for the %_name-gtk library Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the %_name-gtk library. %package gir-devel Summary: GObject introspection devel data for the %_name-gtk 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 %_name-gtk library. %package vala Summary: Vala Bindings for %_name-gtk Group: Development/C BuildArch: noarch Requires: %name-devel = %version-%release %description vala This package provides Vala language bindings for %_name-gtk library. %package devel-doc Summary: Development documentation for %_name-gtk Group: Development/Documentation Conflicts: %name < %version-%release BuildArch: noarch %description devel-doc This package contains development documentation for %_name-gtk library. %prep %setup -n %_name-gtk-%version %build %meson \ %{?_disable_gtk3:-Dgtk3=false} \ %{?_enable_vala:-Dvapi=true} \ %{?_disable_man:-Dman=false} \ %{?_disable_docs:-Ddocs=false} \ %{?_disable_tests:-Dtests=false} %meson_build %install %meson_install %find_lang %_name-gtk %check %__meson_test %files -f %_name-gtk.lang %_bindir/cd-convert %{?_enable_man:%_man1dir/cd-convert.1.*} %{?_enable_gtk3:%_libdir/%name.so.*} %_libdir/lib%_name-gtk4.so.* %files devel %_includedir/%_name-1/%_name-gtk.h %_includedir/%_name-1/%_name-gtk/ %{?_enable_gtk3:%_libdir/%name.so} %_libdir/lib%_name-gtk4.so %{?_enable_gtk3:%_pkgconfigdir/%_name-gtk.pc} %_pkgconfigdir/%_name-gtk4.pc %if_enabled introspection %files gir %{?_enable_gtk3:%_typelibdir/ColordGtk-%api_ver.typelib} %files gir-devel %{?_enable_gtk3:%_girdir/ColordGtk-%api_ver.gir} %endif %if_enabled vala %files vala %{?_enable_gtk3:%_datadir/vala/vapi/%_name-gtk.*} %endif %if_enabled docs %files devel-doc %_datadir/gtk-doc/html/%_name-gtk/ %endif %changelog * Sat Jan 27 2024 Yuri N. Sedunov <aris@altlinux.org> 0.3.1-alt1 - 0.3.1 * Mon Mar 07 2022 Yuri N. Sedunov <aris@altlinux.org> 0.3.0-alt1 - 0.3.0 * Thu Jun 20 2019 Yuri N. Sedunov <aris@altlinux.org> 0.2.0-alt1 - 0.2.0 (ported to Meson build system) - new -devel-doc subpackage * Sat Jun 04 2016 Yuri N. Sedunov <aris@altlinux.org> 0.1.26-alt1 - 0.1.26 * Sun Jun 08 2014 Yuri N. Sedunov <aris@altlinux.org> 0.1.25-alt2 - rebuilt against libcolord.so.2 * Sat Mar 23 2013 Yuri N. Sedunov <aris@altlinux.org> 0.1.25-alt1 - 0.1.25 * Sat Feb 16 2013 Yuri N. Sedunov <aris@altlinux.org> 0.1.24-alt2 - rebuilt against libcolord.so.2 * Mon Dec 17 2012 Yuri N. Sedunov <aris@altlinux.org> 0.1.24-alt1 - 0.1.24 * Tue Sep 04 2012 Yuri N. Sedunov <aris@altlinux.org> 0.1.23-alt1 - 0.1.23 * Sun Jul 01 2012 Yuri N. Sedunov <aris@altlinux.org> 0.1.22-alt1 - first build for Sisyphus |