Package libgarcon: 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 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | %define _name garcon %def_without builtin_menu %def_enable introspection Name: lib%_name Version: 4.18.2 Release: alt1 Summary: Implementation of the freedesktop.org menu specification License: LGPLv2+ Group: System/Libraries URL: https://docs.xfce.org/xfce/garcon/start Packager: Xfce Team <xfce@packages.altlinux.org> Vcs: https://gitlab.xfce.org/xfce/garcon.git Source: %name-%version.tar Patch: %name-%version-%release.patch BuildRequires: rpm-build-xfce4 >= 0.1.0 xfce4-dev-tools BuildRequires: libxfce4util-devel >= 4.15.6-alt1 libxfce4ui-gtk3-devel >= 4.15.7-alt1 BuildRequires: glib2-devel >= 2.14 BuildRequires: libgtk+3-devel BuildRequires: gtk-doc BuildRequires: intltool %{?_enable_introspection:BuildRequires: gobject-introspection-devel libgtk+3-gir-devel libxfce4util-gir-devel libxfce4ui-gtk3-gir-devel} Obsoletes: libxfce4menu Requires: xfce-freedesktop-menu Requires: exo-utils %define _unpackaged_files_terminate_build 1 %description Garcon is an implementation of the freedesktop.org menu specification replacing the former Xfce menu library libxfce4menu. It is based on GLib/GIO only and aims at covering the entire specification except for legacy menus. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description devel This package contains libraries and header files for developing applications that use %name. %if_enabled introspection %package gir Summary: GObject introspection data for %name Group: System/Libraries Requires: %name = %EVR %description gir GObject introspection data for %name. %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. %endif %package devel-doc Summary: Development files for %name License: GFDL-1.1+ Group: Development/C Conflicts: %name-devel < %version BuildArch: noarch %description devel-doc This package contains development documentation for %name. %package gtk3 Summary: Common GTK+3 part of %name Group: Graphical desktop/XFce Requires: %name = %version-%release %description gtk3 %summary %package gtk3-devel Summary: Development files for %name-gtk3 Group: Development/C Requires: %name-gtk3 = %version-%release Requires: %name-devel = %version-%release Requires: libgtk+3-devel >= 2.12.0 Requires: libxfce4ui-gtk3-devel %description gtk3-devel %summary %if_enabled introspection %package gtk3-gir Summary: GObject introspection data for %name-gtk3 Group: System/Libraries Requires: %name-gtk3 = %EVR %description gtk3-gir GObject introspection data for %name-gtk3. %package gtk3-gir-devel Summary: GObject introspection devel data for %name-gtk3 Group: System/Libraries BuildArch: noarch Requires: %name-gtk3-gir = %EVR Requires: %name-gtk3-devel = %EVR %description gtk3-gir-devel GObject introspection devel data for %name-gtk3. %endif %package freedesktop-menu Summary: xfce menu shipped by default with %name Group: Graphical desktop/XFce Provides: xfce-freedesktop-menu # because of %%_datadir/desktop-directories/xfce-* Conflicts: xfdesktop <= 4.6.2 # to avoid conflicts during update Requires: %name = %version-%release BuildArch: noarch %description freedesktop-menu %summary %package settings-manager-menu Summary: Xfce menu directories for use with xfce4-settings. Group: Graphical desktop/XFce Requires: %name = %version-%release BuildArch: noarch %description settings-manager-menu %summary %prep %setup %patch -p1 %build %xfce4reconf %configure \ --disable-static \ %{subst_enable introspection} \ --enable-gtk-doc \ --enable-debug=minimum %make_build %install %makeinstall_std # Remove uz@Latn: it is the same as uz and # glibc not support such language in any case. rm -rf %buildroot%_datadir/locale/uz@Latn/ %find_lang %_name %files -f %_name.lang %doc AUTHORS NEWS README.md %_libdir/%name-1.so.* %if_with builtin_menu %files freedesktop-menu %_datadir/desktop-directories/* %config(noreplace) %_sysconfdir/xdg/menus/xfce-applications.menu %else %exclude %_datadir/desktop-directories/* %exclude %_sysconfdir/xdg/menus/xfce-applications.menu %endif %files settings-manager-menu %_datadir/desktop-directories/xfce-hardware.directory %_datadir/desktop-directories/xfce-personal.directory %_datadir/desktop-directories/xfce-other.directory %_datadir/desktop-directories/xfce-system.directory %files devel %_includedir/%_name-1/ %_libdir/%name-1.so %_libdir/pkgconfig/%_name-1.pc %if_enabled introspection %files gir %_libdir/girepository-1.0/Garcon-*.typelib %files gir-devel %_datadir/gir-1.0/Garcon-*.gir %endif %files devel-doc %doc %_datadir/gtk-doc/html/%_name %files gtk3 %_libdir/%name-gtk3-1.so.* %_iconsdir/hicolor/*/*/*.* %files gtk3-devel %_includedir/%_name-gtk3-1/ %_libdir/%name-gtk3-1.so %_libdir/pkgconfig/%_name-gtk3-1.pc %if_enabled introspection %files gtk3-gir %_libdir/girepository-1.0/GarconGtk-*.typelib %files gtk3-gir-devel %_datadir/gir-1.0/GarconGtk-*.gir %endif %changelog * Mon Feb 05 2024 Mikhail Efremov <sem@altlinux.org> 4.18.2-alt1 - Updated to 4.18.2. * Wed Mar 29 2023 Mikhail Efremov <sem@altlinux.org> 4.18.1-alt1 - Updated to 4.18.1. * Thu Dec 15 2022 Mikhail Efremov <sem@altlinux.org> 4.18.0-alt1 - Updated to 4.18.0. * Wed Nov 30 2022 Mikhail Efremov <sem@altlinux.org> 4.17.3-alt1 - Updated to 4.17.3. * Tue Nov 01 2022 Mikhail Efremov <sem@altlinux.org> 4.17.2-alt1 - Updated to 4.17.2. * Mon Jul 11 2022 Mikhail Efremov <sem@altlinux.org> 4.17.1-alt1 - Updated to 4.17.1. * Mon May 16 2022 Mikhail Efremov <sem@altlinux.org> 4.17.0-alt1 - Updated Url tag. - Updated to 4.17.0. * Fri Jan 15 2021 Mikhail Efremov <sem@altlinux.org> 4.16.1-alt1 - Updated to 4.16.1. * Wed Dec 23 2020 Mikhail Efremov <sem@altlinux.org> 0.8.0-alt1 - devel-doc: Fixed License tag. - Updated to 0.8.0. * Wed Dec 16 2020 Mikhail Efremov <sem@altlinux.org> 0.7.3-alt1 - Updated BR. - Updated to 0.7.3. * Mon Nov 09 2020 Mikhail Efremov <sem@altlinux.org> 0.7.2-alt1 - Updated to 0.7.2. * Wed Sep 02 2020 Mikhail Efremov <sem@altlinux.org> 0.7.1-alt1 - Enabled GObject introspection support. - Updated Vcs tag. - Updated to 0.7.1. * Sun Apr 05 2020 Mikhail Efremov <sem@altlinux.org> 0.7.0-alt1 - Dropped gtk2 packages. - Added Vcs tag. - Fixed docs license. - Don't use rpm-build-licenses. - Updated to 0.7.0. * Mon Jul 29 2019 Mikhail Efremov <sem@altlinux.org> 0.6.4-alt1 - Updated to 0.6.4. * Mon Jul 01 2019 Mikhail Efremov <sem@altlinux.org> 0.6.3-alt1 - Updated to 0.6.3. * Mon Dec 10 2018 Mikhail Efremov <sem@altlinux.org> 0.6.2-alt1 - Updated to 0.6.2. * Tue Aug 07 2018 Mikhail Efremov <sem@altlinux.org> 0.6.1-alt1 - Patch from upstream: + fix: some menu icons are too big (Bug #13785) - Update url. - Use _unpackaged_files_terminate_build. - gtk* subpackages: require exo-utils. - Enable debug (minimum level). - Build GTK+3 library. - Move libgtk+2-devel dependeces to gtk2-devel subpackage. - Updated to 0.6.1. * Thu Mar 05 2015 Mikhail Efremov <sem@altlinux.org> 0.4.0-alt1 - Updated to 0.4.0. * Mon Feb 24 2014 Mikhail Efremov <sem@altlinux.org> 0.3.0-alt2 - Updated to 0.3.0. * Mon Feb 17 2014 Mikhail Efremov <sem@altlinux.org> 0.3.0-alt1.git20140217 - Add libgarcon-gtk2 subpackage. - Don't package wrong uz@Latn locale. - Drop obsoleted patch. - Upstream git snapshot (master branch). * Tue Dec 03 2013 Mikhail Efremov <sem@altlinux.org> 0.2.1-alt2 - Fix crash with empty directory-files. - Fix Xfce name (XFCE -> Xfce). * Mon May 06 2013 Mikhail Efremov <sem@altlinux.org> 0.2.1-alt1 - Updated to 0.2.1. * Sun Apr 29 2012 Mikhail Efremov <sem@altlinux.org> 0.2.0-alt1 - Updated to 0.2.0. * Tue Apr 17 2012 Mikhail Efremov <sem@altlinux.org> 0.1.12-alt1 - Updated to 0.1.12. * Mon Apr 09 2012 Mikhail Efremov <sem@altlinux.org> 0.1.11-alt2 - New subpackage %name-settings-manager-menu. * Mon Apr 02 2012 Mikhail Efremov <sem@altlinux.org> 0.1.11-alt1 - Updated to 0.1.11. * Fri Feb 17 2012 Mikhail Efremov <sem@altlinux.org> 0.1.10-alt1 - Updated to 0.1.10. * Fri Oct 07 2011 Mikhail Efremov <sem@altlinux.org> 0.1.9-alt1 - Updated to 0.1.9. * Mon Aug 15 2011 Mikhail Efremov <sem@altlinux.org> 0.1.8-alt2 - Updated Russian (ru) translation (by Artem Zolochevskiy). * Fri Jun 24 2011 Mikhail Efremov <sem@altlinux.org> 0.1.8-alt1 - Updated to 0.1.8. * Sat Apr 16 2011 Mikhail Efremov <sem@altlinux.org> 0.1.7-alt1 - Updated to 0.1.7. * Mon Apr 11 2011 Mikhail Efremov <sem@altlinux.org> 0.1.6-alt1 - Drop obsoleted patch. - Updated to 0.1.6. * Tue Mar 29 2011 Igor Vlasenko <viy@altlinux.ru> 0.1.5-alt5 - disabled built-in menu in favor of system menu * Tue Mar 15 2011 Igor Vlasenko <viy@altlinux.ru> 0.1.5-alt4 - added BuildArch: noarch to libgarcon-freedesktop-menu * Mon Mar 14 2011 Igor Vlasenko <viy@altlinux.ru> 0.1.5-alt3 - preparations for future migration on freedesktop menu: added libgarcon-freedesktop-menu subpackage that provides virtual xfce-freedesktop-menu. * Wed Mar 09 2011 Mikhail Efremov <sem@altlinux.org> 0.1.5-alt2 - Patch from upstream: + Also try the garcon install sysconfigdir for config lookups. - Don't provide libxfce4menu. * Thu Jan 20 2011 Mikhail Efremov <sem@altlinux.org> 0.1.5-alt1 - Initial build (slightly based on FC spec). |