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 | %define _name garcon %def_without builtin_menu Name: lib%_name Version: 0.6.4 Release: alt1 Summary: Implementation of the freedesktop.org menu specification License: %lgpl2plus Group: System/Libraries URL: https://xfce.org/ Packager: Xfce Team <xfce@packages.altlinux.org> # Upstream: git://git.xfce.org/xfce/garcon Source: %name-%version.tar Patch: %name-%version-%release.patch BuildRequires(pre): rpm-build-licenses BuildPreReq: rpm-build-xfce4 >= 0.1.0 xfce4-dev-tools BuildPreReq: libxfce4util-devel libxfce4ui-devel libxfce4ui-gtk3-devel BuildRequires: glib2-devel >= 2.14 BuildRequires: libgtk+2-devel >= 2.12.0 BuildRequires: libgtk+3-devel BuildRequires: gtk-doc BuildRequires: intltool 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. %package devel-doc Summary: Development files for %name License: GFDLv1.1 Group: Development/C Conflicts: %name-devel < %version BuildArch: noarch %description devel-doc This package contains development documentation for %name. %package gtk2 Summary: Common GTK+2 part of %name Group: Graphical desktop/XFce Requires: %name = %version-%release %description gtk2 %summary %package gtk2-devel Summary: Development files for %name-gtk2 Group: Development/C Requires: %name-gtk2 = %version-%release Requires: %name-devel = %version-%release Requires: libgtk+2-devel >= 2.12.0 Requires: libxfce4ui-devel %description gtk2-devel %summary %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 %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 \ --enable-gtk2 \ --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 %_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 %files devel-doc %doc HACKING STATUS TODO %doc %_datadir/gtk-doc/html/%_name %files gtk2 %_libdir/%name-gtk2-1.so.* %files gtk2-devel %_includedir/%_name-gtk2-1/ %_libdir/%name-gtk2-1.so %_libdir/pkgconfig/%_name-gtk2-1.pc %files gtk3 %_libdir/%name-gtk3-1.so.* %files gtk3-devel %_includedir/%_name-gtk3-1/ %_libdir/%name-gtk3-1.so %_libdir/pkgconfig/%_name-gtk3-1.pc %changelog * 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). |