Package firefox-vimperator: 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 | %define vname vimperator %define mname muttator %define vcid vimperator@mozdev.org %define mcid muttator@mozdev.org %define vciddir %firefox_noarch_extensionsdir/%vcid %ifnarch ppc64le %define mciddir %tbird_noarch_extensionsdir/%mcid %endif %define ver 3.16.0 %define mver 1.3.1 %define ft_release alt1.1 %define workdir %firefox_name-%vname-%ver %ifnarch ppc64le %define mworkdir %tbird_name-%mname-%mver %endif Name: %firefox_name-%vname Version: %ver Release: %ft_release Summary: Browser add-on for Firefox, which makes it like the Vim text editor Group: Networking/WWW License: MPL 1.1/GPL 2.0/LGPL 2.1 URL: http://%vname.org/ # https://github.com/vimperator/vimperator-labs/ Source: %vname-%version.tar Source1: asciidoc.tar Source2: vim-plugin-%version.tar Requires: %firefox_name >= 3.0 Requires: vim Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> #BuildArch: noarch BuildRequires(pre): rpm-build-firefox %ifnarch ppc64le BuildRequires(pre): rpm-build-thunderbird %endif BuildRequires(pre): rpm-build-vim BuildRequires(pre): java-devel-default /proc BuildPreReq: zip python-modules %description Vimperator is a free browser add-on for Firefox, which makes it look and behave like the Vim text editor. It has similar key bindings and you could call it a modal web browser, as key bindings differ according to which mode you are in. Warning: To provide the most authentic Vim experience, Vimperator hides the Firefox menubar and toolbar by default. Most users find them unnecessary once they're used to Vimperator, but if you really need them, type: :set guioptions+=mT to get them back. If you don't like Vimperator at all, you can uninstall it by typing :addons and removing/disabling it. If you like it, but can't remember the shortcuts, press F1 or :help. %ifnarch ppc64le %package -n %tbird_name-%mname Summary: Add-on for Thunderbird, which makes Thunderbird behave like Vim Version: %mver Release: %ft_release Group: Networking/Mail #BuildArch: noarch Requires: %tbird_name >= %tbird_version %description -n %tbird_name-%mname Muttator is a free browser add-on for Thunderbird, which makes it look and behave like the Vim text editor. It has similar key bindings, and you could call it a modal mail client, as key bindings differ according to which mode you are in. Warning: To provide the most authentic Vim experience, the Thunderbird menubar and toolbar were hidden. If you really need them, type: [set guioptions+=mT to get them back. If you don't like Muttator at all, you can uninstall it by typing :addons and remove/disable it. If you like it, but can't remember the shortcuts, press F1 or :help to get this help window back. %endif %prep %setup -n %vname-%ver tar -xf %SOURCE1 subst 's/maxVersion>24\.0/maxVersion>24.*/g' muttator/install.rdf tar -xf %SOURCE2 %build ln -s asciidoc.py asciidoc/asciidoc export PATH=$PWD/asciidoc:$PATH %make_build mkdir -p _%vname cp %vname/%{vname}rc.example _%vname/ pushd _%vname %jar xf ../downloads/%{vname}*.xpi popd mkdir -p _%mname pushd _%mname %jar xf ../downloads/%{mname}*.xpi popd %install install -d %buildroot%vciddir install -d %buildroot%vim_syntax_dir install -d %buildroot%vim_ftdetect_dir cp -fR _%vname/* %buildroot%vciddir/ install -m644 vim-plugin-%ver/syntax/%vname.vim \ %buildroot%vim_syntax_dir/ install -m644 vim-plugin-%ver/ftdetect/%vname.vim \ %buildroot%vim_ftdetect_dir/ %ifnarch ppc64le install -d %buildroot%mciddir cp -fR _%mname/* %buildroot%mciddir/ install -m644 %mname/contrib/vim/syntax/%mname.vim \ %buildroot%vim_syntax_dir/ install -m644 %mname/contrib/vim/ftdetect/%mname.vim\ %buildroot%vim_ftdetect_dir/ %endif %files %vciddir %vim_syntax_dir/%vname.vim %vim_ftdetect_dir/%vname.vim %ifnarch ppc64le %files -n %tbird_name-%mname %mciddir %vim_syntax_dir/%mname.vim %vim_ftdetect_dir/%mname.vim %endif %changelog * Thu Mar 25 2021 Andrey Cherepanov <cas@altlinux.org> 3.16.0-alt1.1 - thunderbird 78.9.0 is not built on ppc64le. * Sat Mar 25 2017 Nikolay A. Fetisov <naf@altlinux.org> 3.16.0-alt1 - New version * Mon Feb 02 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.8.4-alt2.git20150201 - Vimperator 3.8.4 * Thu May 29 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.8.3-alt1.hg20140527 - Vimperator 3.8.3, Muttator 1.3 * Thu Feb 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.8.2-alt4.hg20140213 - Vimperator 3.8.2 * Thu Jan 23 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.8.1-alt3.hg20131219 - Vimperator 3.8.1 * Tue Nov 05 2013 Andrey Cherepanov <cas@altlinux.org> 3.8-alt3.hg20131013 - Vimperator 3.8 and Muttator 1.2 * Sun Apr 28 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.8-alt3.hg20130426 - Version 3.8 * Fri Dec 21 2012 Andrey Cherepanov <cas@altlinux.org> 3.6-alt2.hg20121005 - Adapt for Firefox 17.0 and Thunderbird 17.0 * Tue Oct 30 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.6-alt1.hg20121005 - New snapshot * Thu Sep 06 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.6-alt1.hg20120828 - Version 3.6pre * Thu Jan 19 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.4-alt1.hg20120115 - Version 3.4 * Thu Aug 04 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.3-alt1.hg20110728 - Version 3.3 * Sun Nov 14 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.0pre-alt1.hg20101113 - Version 3.0pre * Thu Aug 19 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.4pre-alt1.hg20100810 - Version 2.4pre * Tue Feb 23 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.3a1pre-alt1.hg20100214 - Version 2.3a1pre * Fri Oct 23 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.b1-alt1.hg20091022 - Version 2.2.b1 * Mon Jul 27 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.1-alt3.git20090727 - Rebuild with asciidoc 8.2.7 (ALT #20851) * Thu Jul 23 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.1-alt1.git20090723 - Updated from upstream git repository - Resolved (ALT #20851) * Tue Apr 28 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.1-alt1.git20090428 - New version - Add Muttator add-on for Thunderbird - Rebuild with new libtool * Thu Mar 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0pre-alt1.git20090319 - New trunk from upstream - Build with dependency of Firefox >= 3.1 * Fri Jan 09 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0pre-alt1.git20090109 - Initial build for Sisyphus |