Package mintmenu: 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 | # TODO: fix urls and install icons like #/usr/share/linuxmint/mintMenu/search_engines/dictionary.png # see /usr/share/linuxmint/mintMenu/plugins/applications.py Name: mintmenu Version: 5.7.2 Release: alt3 Epoch: 1 # MIT is needed for keybinding.py License: GPLv2+ and MIT Summary: Advanced Menu for the MATE Desktop Group: Graphical desktop/GNOME Url: http://packages.linuxmint.com/pool/main/m/mintmenu/ # VCS: https://github.com/linuxmint/mintmenu.git Source0: http://packages.linuxmint.com/pool/main/m/mintmenu/%{name}_%{version}.tar.gz Source33: mintmenu_test.sh Source34: list-mintmenu.conf Source35: list-mintmenu.lua Source36: list-mintmenu.ignore Source37: mintmenu-basealt.png Source50: mintmenu.watch # SUSE patches from http://download.opensuse.org/repositories/home:/unamanic/Fedora_14/src/ # PATCH-FIX-OPENSUSE mintmenu-suse_branding.patch william@witt-famiylnet: Suse branding Patch2: mintmenu-alt_branding.patch # PATCH-FIX-OPENSUSE mintmenu-mintmenu_executables.patch william@witt-famiylnet: update paths for executable and bonobo server Patch9: mintmenu-change_locale_directory.patch # alt patches Patch34: mintmenu-alt-drop-mintinstall-check.patch Patch35: mintmenu-alt-apt-cache.patch Patch36: mintmenu-alt-no-mintengines.patch Patch37: mintmenu-alt-GPL-path.patch Patch38: mintmenu-alt-use-rpminstall.patch #Patch39: mintmenu-alt-cyrillic.patch # Use Synaptic via consolehelper intead of gksu Patch41: mintmenu-alt-fix-package-manager.patch Patch42: mintmenu-alt-do-not-use-mint-utils.patch Patch43: mintmenu-alt-disable-get_apt_cache.patch Patch44: mintmenu-alt-set-default-PATH.patch Patch45: mintmenu-alt-use-themed-app-list.patch Patch46: mintmenu-alt-applet-text-l10n.patch Patch47: mintmenu-fix-exec-field.patch Patch48: mintmenu-remove-uninstall-packages.patch Patch49: mintmenu-replace-obsoleted-gvfs-open.patch Requires: GConf2 mate-search-tool Requires: python-module-gnome-menus Requires: python-module-pygnome-desktop Requires: python-module-pyxdg Requires: python-module-configobj Requires: menu-icons-default Requires: mint-translations Requires: mate-menu-editor Requires: libgio Requires: apt BuildRequires: apt # due to apt: protocol Requires: rpminstall >= 1.1.1 # Recommends:( due to inode/directory preferences Requires: altlinux-mime-defaults > 0.17 # TODO: #Requires: tracker-search-tool BuildArch: noarch %description An advanced "slab" style menu for Linux. MintMenu supports filtering, favorites, autosession, and many other features. MintMenu can either be added to your gnome-panel or launched in its own window. %prep %setup -q -n mintmenu %patch2 -p1 #patch3 -p1 %patch9 -p1 %patch34 -p1 %if_with apthack %patch56 -p1 %else %patch35 -p0 %endif %patch36 -p0 %patch37 -p0 %patch38 -p0 #%%patch39 -p1 %patch41 -p0 %patch42 -p1 %patch43 -p1 %patch44 -p1 %patch45 -p1 %patch46 -p0 %patch47 -p0 %patch48 -p0 %patch49 -p1 # Replace path to %%_datadir subst 's,/usr/lib/linuxmint,%_datadir/linuxmint,g' `find usr -type f` # drop deprecated plugins rm -f usr/lib/linuxmint/mintMenu/plugins/easygconf.py %build #pure python %install #clean out questionably liscensed files. #rm -rf %{buildroot}%{_prefix}/lib/linuxmint/mintMenu/mint*.png #rm -rf %{buildroot}%{_prefix}/lib/linuxmint/mintMenu/mint*.svg find . -name '*.orig' -exec rm -f {} ';' find . -name '*.pyc' -exec rm -f {} ';' find . -name '*.pot' -exec rm -f {} ';' mkdir -p %buildroot%prefix cp -av usr/bin usr/share %buildroot%prefix cp -av usr/lib/linuxmint %buildroot%_datadir # Make utilites executable chmod +x %buildroot%_datadir/linuxmint/mintMenu/*.py %find_lang %name --with-gnome install -Dm644 %SOURCE34 %buildroot/etc/apt/apt.conf.d/list-mintmenu.conf install -Dm755 %SOURCE35 %buildroot/usr/share/apt/scripts/list-mintmenu.lua install -Dm644 %SOURCE36 %buildroot/etc/buildreqs/files/ignore.d/list-mintmenu # check patches sh -v %SOURCE33 # Use alternative for menu button icon mkdir -p %buildroot%_altdir rm -f %{buildroot}usr/lib/linuxmint/mintMenu/mintMenu.png install -Dm644 %SOURCE37 %buildroot%_pixmapsdir/mintmenu-basealt.png printf "/usr/share/linuxmint/mintMenu/mintMenu.png\t%_pixmapsdir/mintmenu-basealt.png\t20\n" > %buildroot%_altdir/mintmenu-icon-alt %files -f %{name}.lang %_bindir/mintmenu %_datadir/linuxmint/* %_datadir/mate-panel/* %_datadir/dbus-1/services/*.service %_datadir/glib-2.0/schemas/*.xml %_man1dir/%name.1.* %_pixmapsdir/mintmenu-basealt.png %_pixmapsdir/mintmenu.svg %_altdir/mintmenu-icon-alt # list-mintmenu /usr/share/apt %config /etc/apt/apt.conf.d/* %config /etc/buildreqs/files/ignore.d/* %changelog * Fri Dec 13 2019 Andrey Cherepanov <cas@altlinux.org> 1:5.7.2-alt3 - Use gio instead of gvfs-open (ALT #37612). * Wed Nov 21 2018 Andrey Bychkov <mrdrew@altlinux.org> 1:5.7.2-alt2 - tag fixed * Mon Nov 19 2018 Andrey Bychkov <mrdrew@altlinux.org> 1:5.7.2-alt1.M80P.6 - Running application fixed - Broken func of uninstall packages removed * Tue Nov 13 2018 Andrey Bychkov <mrdrew@altlinux.org> 1:5.7.2-alt1.M80P.5 - Error of exec field fixed * Fri May 18 2018 Andrey Cherepanov <cas@altlinux.org> 1:5.7.2-alt1.M80P.4 - Use GSettings localization for menu button text (thanks aris@). * Thu Apr 12 2018 Andrey Cherepanov <cas@altlinux.org> 1:5.7.2-alt1.M80P.3 - Use themed application list from %_datadir/linuxmint/mintMenu/applications.list-themed. * Mon Apr 02 2018 Andrey Cherepanov <cas@altlinux.org> 1:5.7.2-alt1.M80P.2 - Use default user PATH instead of value passed from DBus. * Sat May 06 2017 Andrey Cherepanov <cas@altlinux.org> 1:5.7.2-alt1.M80P.1 - Downgrade version to 5.7.2 to support old MatePanelApplet linked with Gtk 2.0 (ALT #33453) * Thu May 04 2017 Andrey Cherepanov <cas@altlinux.org> 5.7.8-alt1 - New version * Tue May 02 2017 Andrey Cherepanov <cas@altlinux.org> 5.7.7-alt1 - New version * Wed Apr 12 2017 Andrey Cherepanov <cas@altlinux.org> 5.7.6-alt2 - Change menu icon to Basealt logo (ALT #33358) * Fri Dec 09 2016 Andrey Cherepanov <cas@altlinux.org> 5.7.6-alt1 - new version 5.7.6 * Tue Dec 06 2016 Andrey Cherepanov <cas@altlinux.org> 5.7.5-alt2 - Disable get APT cache by non-working python-module-apt * Mon Nov 28 2016 Andrey Cherepanov <cas@altlinux.org> 5.7.5-alt1 - new version 5.7.5 * Sat Nov 05 2016 Andrey Cherepanov <cas@altlinux.org> 5.7.3-alt1 - new version 5.7.3 * Fri Jun 24 2016 Andrey Cherepanov <cas@altlinux.org> 5.7.2-alt1 - New version * Sun Jun 19 2016 Andrey Cherepanov <cas@altlinux.org> 5.7.0-alt1 - New version * Tue May 10 2016 Andrey Cherepanov <cas@altlinux.org> 5.6.7-alt2 - Replace mozo with mate-menu-editor (ALT #32083) * Tue Apr 26 2016 Andrey Cherepanov <cas@altlinux.org> 5.6.7-alt1 - New version * Sat Dec 19 2015 Andrey Cherepanov <cas@altlinux.org> 5.6.6-alt1 - New version * Tue Nov 10 2015 Andrey Cherepanov <cas@altlinux.org> 5.6.5-alt3 - Remove Mint-specific search engines (ALT #31463) * Mon Nov 09 2015 Michael Shigorin <mike@altlinux.org> 5.6.5-alt2 - Replace gnome-search-tool with mate-search-tool * Mon Nov 09 2015 Andrey Cherepanov <cas@altlinux.org> 5.6.5-alt1 - New version - Replace alacarte with mozo * Fri Sep 04 2015 Andrey Cherepanov <cas@altlinux.org> 5.6.4-alt3 - Change menu icon to 22x22 simplified ALT Linux logo * Tue Jul 07 2015 Andrey Cherepanov <cas@altlinux.org> 5.6.4-alt2 - Use alternative for menu button icon - Use ALT Linux logotype for menu button icon - Add Russian localization for applet description * Tue Jun 16 2015 Andrey Cherepanov <cas@altlinux.org> 5.6.4-alt1 - New version * Sun Jun 14 2015 Andrey Cherepanov <cas@altlinux.org> 5.6.3-alt1 - New version - Change path to /usr/share by subst instead of separate patch * Thu Mar 19 2015 Andrey Cherepanov <cas@altlinux.org> 5.6.2-alt1 - New version - Move translations to other package * Fri Nov 14 2014 Andrey Cherepanov <cas@altlinux.org> 5.6.0-alt1 - New version - Update translations to 2014.11.11 * Thu Oct 02 2014 Andrey Cherepanov <cas@altlinux.org> 5.5.9-alt1 - New version * Mon Jul 28 2014 Andrey Cherepanov <cas@altlinux.org> 5.5.8-alt1 - New version - Add .watch file - Update translations to 2014.05.25 - Fix Package manager open - Fix Preferences open (ALT #30118) * Wed Apr 30 2014 Andrey Cherepanov <cas@altlinux.org> 5.5.3-alt1.git6a7cf3f - New version * Wed Mar 19 2014 Andrey Cherepanov <cas@altlinux.org> 5.5.1-alt1.git0feb06e - New version (ALT #29878) - Drop deprecated plugin easygconf - Simplify spec * Mon Aug 08 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt1.M60P.4 - bugfixes (thanks to Aleksey Novodvorsky): * detectDE restored * xfce logout use -l and -h respectively * Fri Aug 05 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt1.M60P.3 - support for cyrillic in search * Thu Aug 04 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt1.M60P.2 - added requires on gnome-search-tool * Wed Aug 03 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt1.M60P.1 - use rpminstall directly instead of relying on apt:// protocol. * Tue Aug 02 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt0.M60T.5 - use rpminstall directly instead of relying on apt:// protocol. * Tue Aug 02 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt0.M60T.4 - accurate requires on rpminstall * Sat Jul 30 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt0.M60T.3 - apt support * Tue Jul 12 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt0.M60T.2 - apt demo support * Tue Jul 12 2011 Igor Vlasenko <viy@altlinux.ru> 5.2.1-alt0.M60T.1 - new version * Mon Jul 11 2011 Igor Vlasenko <viy@altlinux.ru> 5.1.9-alt0.1 - first build |