]>
Commit | Line | Data |
---|---|---|
8e5c353f | 1 | # |
b13b56c0 | 2 | # Conditional build: |
d7353ab6 | 3 | %bcond_without xemacs # without xemacs subpackage |
b13b56c0 | 4 | %bcond_without pgsql # without PostgreSQL support |
3168f075 ER |
5 | %bcond_without home_etc # use home_etc |
6 | ||
6557cc60 | 7 | Summary: GNU GLOBAL - common source code tag system |
57356af9 | 8 | Summary(pl.UTF-8): GNU GLOBAL - system list odwołań powszechnego użytku |
e78b020d | 9 | Name: global |
8e5c353f | 10 | Version: 6.6.6 |
3168f075 | 11 | Release: 0.1 |
8e5c353f | 12 | License: GPL v3+ |
e78b020d | 13 | Group: Development/Tools |
8e5c353f JB |
14 | Source0: https://ftp.gnu.org/gnu/global/%{name}-%{version}.tar.gz |
15 | # Source0-md5: a8bfe02e0872db39bd11758f82a01c10 | |
d7353ab6 | 16 | #Source1: http://www.vim.org/scripts/download_script.php?src_id=2708 |
8e5c353f JB |
17 | Patch0: %{name}-link.patch |
18 | Patch1: %{name}-info.patch | |
e12d7620 | 19 | Patch20: %{name}-ac-shared-pgsql.patch |
e78b020d | 20 | URL: http://www.gnu.org/software/global/ |
b13b56c0 | 21 | BuildRequires: autoconf |
22 | BuildRequires: automake | |
b03a50e8 | 23 | %{?with_home_etc:BuildRequires: home-etc-devel} |
3168f075 | 24 | BuildRequires: libtool |
b03a50e8 | 25 | %{?with_pgsql:BuildRequires: postgresql-devel} |
4282b1b1 | 26 | BuildRequires: texinfo |
d7353ab6 | 27 | %{?with_xemacs:BuildRequires: xemacs} |
b13b56c0 | 28 | Requires: coreutils |
29 | Requires: findutils | |
d64c4a3a | 30 | Requires: idutils |
3dada9d2 | 31 | Requires: setup >= 2.4.6-2 |
e78b020d JB |
32 | Provides: gtags-%{version}-%{release} |
33 | Provides: htags-%{version}-%{release} | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
b13b56c0 | 35 | |
d7353ab6 | 36 | # definitions useful for vim-global-tags subpackage |
1943c8d9 | 37 | %define _vimdatadir %{_datadir}/vim/vimfiles |
48b746e4 | 38 | |
3168f075 ER |
39 | %define filterout_c -Werror=format-security |
40 | ||
b13b56c0 | 41 | %description |
42 | GNU GLOBAL is a source code tag system that works the same way across | |
43 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
44 | assembler source code. You can locate the specified function or method | |
45 | in source files and move there easily. It is useful to hack a large | |
46 | project containing many subdirectories, many general, main()-type | |
47 | functions. It allows you to create one tags container for a big code | |
48 | tree. | |
49 | %if %{with pgsql} | |
d7353ab6 | 50 | Tagging information may be keept in the traditional db files, or shared |
99aa7559 ER |
51 | GNU GLOBAL is a source code tag system that works the same way across |
52 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
53 | assembler source code. You can locate the specified function or method | |
54 | in source files and move there easily. It is useful to hack a large | |
55 | project containing many subdirectories, many general, main()-type | |
56 | functions. It allows you to create one tags container for a big code | |
57 | tree. using the PostgreSQL database. | |
b13b56c0 | 58 | %endif |
b13b56c0 | 59 | You can also find some subpackages, containing support for additional |
99aa7559 ER |
60 | GNU GLOBAL is a source code tag system that works the same way across |
61 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
62 | assembler source code. You can locate the specified function or method | |
63 | in source files and move there easily. It is useful to hack a large | |
64 | project containing many subdirectories, many general, main()-type | |
65 | functions. It allows you to create one tags container for a big code | |
66 | tree. using the PostgreSQL database. GLOBAL's features, and for | |
67 | compliance with common code editors (symbols' completion, jumping). | |
b13b56c0 | 68 | |
9fb02459 JR |
69 | %description -l pl.UTF-8 |
70 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
71 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
72 | Umożliwia on odszukanie podanej funkcji lub metody w plikach | |
73 | źródłowych i przeniesienie się do niej w łatwy sposób. Narzędzie to | |
74 | jest przydatne do dłubania w dużych projektach, zawierających mnóstwo | |
75 | podkatalogów, wiele funkcji głównych w stylu main(). Pozwala on | |
76 | utworzyć jeden kontener ze znacznikami dla dużego drzewa kodu. | |
b13b56c0 | 77 | %if %{with pgsql} |
9fb02459 JR |
78 | Informacje o znacznikach mogą być przechowywane w postaci plików db, |
79 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
80 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
81 | Umożliwia on odszukanie podanej funkcji lub metody w plikach | |
82 | źródłowych i przeniesienie się do niej w łatwy sposób. Narzędzie to | |
83 | jest przydatne do dłubania w dużych projektach, zawierających mnóstwo | |
84 | podkatalogów, wiele funkcji głównych w stylu main(). Pozwala on | |
85 | utworzyć jeden kontener ze znacznikami dla dużego drzewa kodu. lub też | |
86 | współdzielone przy pomocy bazy danych PostgreSQL. | |
b13b56c0 | 87 | %endif |
9fb02459 JR |
88 | Można także znaleźć kilka podpakietów, które zawierają wsparcie dla |
89 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
90 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
91 | Umożliwia on odszukanie podanej funkcji lub metody w plikach | |
92 | źródłowych i przeniesienie się do niej w łatwy sposób. Narzędzie to | |
93 | jest przydatne do dłubania w dużych projektach, zawierających mnóstwo | |
94 | podkatalogów, wiele funkcji głównych w stylu main(). Pozwala on | |
95 | utworzyć jeden kontener ze znacznikami dla dużego drzewa kodu. lub też | |
96 | współdzielone przy pomocy bazy danych PostgreSQL. dodatkowych | |
97 | mechanizmów GLOBAL, a także pozwalają na współpracę z niektórymi | |
98 | znanymi edytorami kodu (dopełnianie nazw symboli, przeskakiwanie). | |
b13b56c0 | 99 | |
100 | %package htags | |
101 | Summary: GNU GLOBAL - programs for making hypertext from source code | |
57356af9 | 102 | Summary(pl.UTF-8): GNU GLOBAL - programy produkujące hypertext z kodów źródłowych |
b13b56c0 | 103 | Group: Development/Tools |
e78b020d JB |
104 | Requires: %{name} = %{version}-%{release} |
105 | Requires: perl-base >= 5.005 | |
b13b56c0 | 106 | Provides: gozilla-%{version}-%{release} |
107 | Provides: htags-%{version}-%{release} | |
b13b56c0 | 108 | |
109 | %description htags | |
110 | GNU GLOBAL is a source code tag system that works the same way across | |
111 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
112 | assembler source code. | |
113 | ||
114 | Htags makes hypertext from source code. The package also contains the | |
115 | gozilla wrapper, which enforces Mozilla-based web browsers to display | |
116 | source code in an elegant way. Htags can also work with a CVS | |
117 | repository, which makes it more easy to navigate though the code over | |
118 | the Web. | |
119 | ||
9fb02459 JR |
120 | %description htags -l pl.UTF-8 |
121 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
122 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
b13b56c0 | 123 | |
9fb02459 JR |
124 | Htags jest narzędziem generującym hypertext z kodów. Pakiet ten |
125 | zawiera także program wyskakujący o nazwie gozilla, który zmusza | |
126 | przeglądarki bazujące na Mozilla, aby wyświetlały kod źródłowy w | |
127 | elegancki sposób. Htags potrafi również współpracować z repozytorium | |
128 | CVS ułatwiając nawigację w kodach poprzez WWW. | |
b13b56c0 | 129 | |
130 | %package gtags-perl-wrapper | |
131 | Summary: GNU GLOBAL - gtags wrapper for tools which use Perl | |
57356af9 | 132 | Summary(pl.UTF-8): GNU GLOBAL - program pomocniczy dla narzędzi używających Perl |
b13b56c0 | 133 | Group: Development/Tools |
b13b56c0 | 134 | Requires: %{name} = %{version}-%{release} |
e78b020d JB |
135 | Requires: perl-base >= 5.005 |
136 | Provides: gtags-perl-wrapper-%{version}-%{release} | |
b13b56c0 | 137 | |
138 | %description gtags-perl-wrapper | |
139 | GNU GLOBAL is a source code tag system that works the same way across | |
140 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
141 | assembler source code. | |
142 | ||
143 | This package contains simple Perl wrapper, which allows to use the | |
144 | system for some tools and editors. | |
145 | ||
9fb02459 JR |
146 | %description gtags-perl-wrapper -l pl.UTF-8 |
147 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
148 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
b13b56c0 | 149 | |
9fb02459 JR |
150 | Ten pakiet zawiera program pomocniczy, który pozwala używać tego |
151 | systemu niektórym narzędziom i edytorom. | |
b13b56c0 | 152 | |
153 | %package globash | |
154 | Summary: GNU GLOBAL - Bash customization to walk though the source trees | |
57356af9 | 155 | Summary(pl.UTF-8): GNU GLOBAL - usprawnienie dla Bash do poruszania się po drzewach źródeł |
b13b56c0 | 156 | Group: Development/Tools |
b13b56c0 | 157 | Requires: %{name} = %{version}-%{release} |
158 | Requires: bash >= 2.05 | |
e78b020d | 159 | Provides: globash-%{version}-%{release} |
b13b56c0 | 160 | |
161 | %description globash | |
162 | GNU GLOBAL is a source code tag system that works the same way across | |
163 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
164 | assembler source code. | |
165 | ||
166 | This package allows you to invoke a customized Bash with features that | |
167 | makes easy to navigate in the sources trees. These are: Vi-like tag | |
168 | stack, Emacs-like tag name completion, editor or viewer automatic | |
169 | invocation, tag mark facility, and a cookie facility for managing | |
170 | directories. | |
171 | ||
9fb02459 JR |
172 | %description globash -l pl.UTF-8 |
173 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
174 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
b13b56c0 | 175 | |
9fb02459 JR |
176 | Ten pakiet pozwala wywoływać odpowiednio przystosowaną wersję powłoki |
177 | Bash z udogodnieniami, które czynią nawigowanie po drzewku źródeł | |
178 | rzeczą łatwą. Do tych udogodnień należą: stos znaczników w stylu Vi, | |
179 | dopełnianie nazw w stylu edytora Emacs, automatyczne wywoływanie | |
180 | edytorów lub przeglądarek, mechanizm wyróżniania znaczników, oraz | |
181 | mechanizm ciasteczek pomagający zarządzać katalogami. | |
b13b56c0 | 182 | |
183 | %package -n xemacs-gtags-mode-pkg | |
184 | Summary: XEmacs mode for the GNU GLOBAL source tag system | |
57356af9 | 185 | Summary(pl.UTF-8): Tryb systemu list odwołań GNU GLOBAL dla edytora XEmacs |
b13b56c0 | 186 | Group: Development/Tools |
b13b56c0 | 187 | Requires: %{name} = %{version}-%{release} |
e78b020d | 188 | Requires: xemacs |
b13b56c0 | 189 | |
190 | %description -n xemacs-gtags-mode-pkg | |
191 | GNU GLOBAL is a source code tag system that works the same way across | |
192 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
193 | assembler source code. | |
194 | ||
195 | This package allows to integrate the GLOBAL source tag system with the | |
196 | XEmacs editor. | |
197 | ||
9fb02459 JR |
198 | %description -n xemacs-gtags-mode-pkg -l pl.UTF-8 |
199 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
200 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
b13b56c0 | 201 | |
9fb02459 | 202 | Ten pakiet pozwala zintegrować system GLOBAL z edytorem XEmacs. |
d7353ab6 | 203 | |
d7353ab6 | 204 | %package -n vim-global-tags |
205 | Summary: ViM editor plugin for GNU GLOBAL source tag system | |
57356af9 | 206 | Summary(pl.UTF-8): wtyczka dla edytora ViM do systemu odwołań GNU GLOBAL |
d7353ab6 | 207 | Group: Development/Tools |
208 | Requires: %{name} = %{version}-%{release} | |
9ce90f7c ER |
209 | # for _vimdatadir existence |
210 | Requires: vim-rt >= 4:6.3.058-3 | |
d7353ab6 | 211 | |
212 | %description -n vim-global-tags | |
213 | GNU GLOBAL is a source code tag system that works the same way across | |
214 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
215 | assembler source code. | |
216 | ||
217 | This package allows users to use GLOBAL tag system in ViM editor. | |
218 | ||
9fb02459 JR |
219 | %description -n vim-global-tags -l pl.UTF-8 |
220 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
221 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
d7353ab6 | 222 | |
9fb02459 JR |
223 | Ten pakiet pozwala użytkownikom na używanie systemu znaczników i |
224 | odwołań GLOBAL w edytorze ViM. | |
b13b56c0 | 225 | |
54d991f6 | 226 | %package -n less-global-tags |
227 | Summary: less pager's helper for GNU GLOBAL source tag system | |
57356af9 | 228 | Summary(pl.UTF-8): wsparcie dla polecenia less do systemu odwołań GNU GLOBAL |
54d991f6 | 229 | Group: Development/Tools |
230 | Requires: %{name} = %{version}-%{release} | |
231 | Requires: xemacs | |
232 | ||
233 | %description -n less-global-tags | |
234 | GNU GLOBAL is a source code tag system that works the same way across | |
235 | diverse environments. It supports C, C++, Yacc, Java, PHP and | |
236 | assembler source code. | |
237 | ||
238 | This package allows users to navigate through GLOBAL tags and | |
239 | references system using less pager. | |
240 | ||
9fb02459 JR |
241 | %description -n less-global-tags -l pl.UTF-8 |
242 | GNU GLOBAL jest powszechnym systemem generowania list odwołań dla | |
243 | kodów źródłowych napisanych w C, C++, Yacc, Java, PHP i asemblerze. | |
54d991f6 | 244 | |
9fb02459 JR |
245 | Ten pakiet pozwala użytkownikom na nawigację poprzez system znaczników |
246 | i odwołań systemu GLOBAL używając polecenia less. | |
54d991f6 | 247 | |
b13b56c0 | 248 | %prep |
249 | %setup -q | |
8e5c353f JB |
250 | %patch0 -p1 |
251 | %patch1 -p1 | |
3168f075 | 252 | #%patch20 -p1 |
b13b56c0 | 253 | |
8e5c353f JB |
254 | %{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' plugin-factory/maps2conf.pl |
255 | %{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' plugin-factory/pygments_parser.py.in | |
256 | ||
b13b56c0 | 257 | %build |
3168f075 | 258 | %{__libtoolize} |
b13b56c0 | 259 | %{__aclocal} |
260 | %{__autoconf} | |
261 | %{__autoheader} | |
262 | %{__automake} | |
263 | %configure \ | |
e12d7620 | 264 | %{?with_pgsql:--with-postgres=shared} \ |
8e5c353f | 265 | %{?with_home_etc:--with-home-etc} |
b13b56c0 | 266 | %{__make} |
267 | ||
268 | %install | |
269 | rm -rf $RPM_BUILD_ROOT | |
270 | install -d $RPM_BUILD_ROOT%{_bindir} \ | |
271 | $RPM_BUILD_ROOT%{_sysconfdir}/gtags \ | |
272 | $RPM_BUILD_ROOT%{_mandir}/man1 \ | |
5c387611 | 273 | $RPM_BUILD_ROOT%{_datadir}/{xemacs-packages/lisp/gtags,gtags} \ |
ca3e7e77 | 274 | $RPM_BUILD_ROOT%{_vimdatadir}/plugin \ |
5c387611 | 275 | $RPM_BUILD_ROOT%{_infodir} \ |
276 | $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \ | |
3dada9d2 | 277 | $RPM_BUILD_ROOT/etc/profile.d \ |
278 | $RPM_BUILD_ROOT/etc/shrc.d \ | |
b13b56c0 | 279 | |
3dada9d2 | 280 | # /etc/shrc.d/*.sh hook for globash |
6557cc60 | 281 | cat << EOF > $RPM_BUILD_ROOT/etc/shrc.d/globash.sh |
3168f075 | 282 | alias globash='/bin/bash --rcfile %{_sysconfdir}/gtags/globash.rc' |
55c1e223 | 283 | EOF |
2a6b5aca | 284 | |
3dada9d2 | 285 | # /etc/shrc.d/*.csh hook for globash |
6557cc60 | 286 | cat << EOF > $RPM_BUILD_ROOT/etc/shrc.d/globash.csh |
3168f075 | 287 | alias globash '/bin/bash --rcfile %{_sysconfdir}/gtags/globash.rc' |
55c1e223 | 288 | EOF |
b13b56c0 | 289 | |
d7353ab6 | 290 | # /etc/profile.d/*sh hooks for less-global-tags |
54d991f6 | 291 | echo 'LESSGLOBALTAGS="global"' > $RPM_BUILD_ROOT/etc/profile.d/less-global.sh |
292 | echo 'export LESSGLOBALTAGS' >> $RPM_BUILD_ROOT/etc/profile.d/less-global.sh | |
293 | echo 'setenv LESSGLOBALTAGS global' > $RPM_BUILD_ROOT/etc/profile.d/less-global.csh | |
294 | ||
b13b56c0 | 295 | %{__make} install \ |
296 | DESTDIR=$RPM_BUILD_ROOT | |
297 | ||
8e5c353f JB |
298 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtags/*.{la,a} |
299 | ||
5c387611 | 300 | # documentation and other stuff |
8e5c353f JB |
301 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/gtags/{AUTHORS,BUILD_TOOLS,NEWS,COPYING,COPYING.LIB,ChangeLog,DONORS,FAQ,INSTALL,LICENSE,PLUGIN*,README*,SERVERSIDE_HOWTO,THANKS} |
302 | # $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
303 | #%{__rm} $RPM_BUILD_ROOT%{_datadir}/gtags/{dir.gz,nvi*gtags.diff} | |
5c387611 | 304 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
305 | ||
306 | # vim support | |
8e5c353f | 307 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/gtags/*.vim $RPM_BUILD_ROOT%{_vimdatadir}/plugin |
5c387611 | 308 | |
309 | # perl wrapper | |
8e5c353f | 310 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/gtags/gtags.pl $RPM_BUILD_ROOT%{_bindir} |
5c387611 | 311 | |
312 | # globash | |
8e5c353f | 313 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/gtags/globash.rc $RPM_BUILD_ROOT%{_sysconfdir}/gtags |
5c387611 | 314 | |
315 | # default config | |
8e5c353f | 316 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/gtags/gtags.conf $RPM_BUILD_ROOT%{_sysconfdir}/gtags |
5c387611 | 317 | |
318 | # emacs support | |
319 | %if %{with xemacs} | |
8e5c353f | 320 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/gtags/gtags.el $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/lisp/gtags |
5c387611 | 321 | xemacs -batch -no-autoloads -l autoload -f batch-update-directory \ |
322 | $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/lisp/gtags | |
323 | xemacs -batch -vanilla -f batch-byte-compile \ | |
324 | $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/lisp/gtags/gtags.el | |
325 | find $RPM_BUILD_ROOT%{_datadir} -type f -name "*.el" | while read i; do test ! -f ${i}c || rm -f $i; done | |
8e5c353f JB |
326 | %else |
327 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/gtags/gtags.el | |
5c387611 | 328 | %endif |
329 | ||
b13b56c0 | 330 | %clean |
331 | rm -rf $RPM_BUILD_ROOT | |
332 | ||
8e5c353f | 333 | %post -p /sbin/postshell |
50624495 | 334 | -/usr/sbin/fix-info-dir -c %{_infodir} |
5c387611 | 335 | |
8e5c353f | 336 | %postun -p /sbin/postshell |
50624495 | 337 | -/usr/sbin/fix-info-dir -c %{_infodir} |
5c387611 | 338 | |
b13b56c0 | 339 | %files |
340 | %defattr(644,root,root,755) | |
8e5c353f | 341 | %doc AUTHORS NEWS ChangeLog DONORS FAQ LICENSE README THANKS plugin-factory/PLUGIN_HOWTO script/SERVERSIDE_HOWTO |
b13b56c0 | 342 | %attr(755,root,root) %{_bindir}/global |
8e5c353f JB |
343 | %attr(755,root,root) %{_bindir}/gtags |
344 | %attr(755,root,root) %{_bindir}/gtags-cscope | |
e78b020d | 345 | %dir %{_sysconfdir}/gtags |
b03a50e8 | 346 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/gtags/gtags.conf |
8e5c353f JB |
347 | %dir %{_libdir}/gtags |
348 | %attr(755,root,root) %{_libdir}/gtags/exuberant-ctags.so | |
349 | %attr(755,root,root) %{_libdir}/gtags/pygments-parser.so | |
350 | %attr(755,root,root) %{_libdir}/gtags/universal-ctags.so | |
351 | %attr(755,root,root) %{_libdir}/gtags/user-custom.so | |
352 | %{_datadir}/gtags | |
353 | %{_mandir}/man1/global.1* | |
354 | %{_mandir}/man1/gtags.1* | |
355 | %{_mandir}/man1/gtags-cscope.1* | |
356 | %{_mandir}/man5/gtags.conf.5* | |
357 | %{_infodir}/global.info* | |
b13b56c0 | 358 | |
359 | %files htags | |
360 | %defattr(644,root,root,755) | |
b13b56c0 | 361 | %attr(755,root,root) %{_bindir}/htags |
8e5c353f | 362 | %attr(755,root,root) %{_bindir}/htags-server |
b13b56c0 | 363 | %attr(755,root,root) %{_bindir}/gozilla |
e78b020d JB |
364 | %{_mandir}/man1/htags* |
365 | %{_mandir}/man1/gozilla* | |
b13b56c0 | 366 | |
367 | %files gtags-perl-wrapper | |
368 | %defattr(644,root,root,755) | |
369 | %attr(755,root,root) %{_bindir}/gtags.pl | |
370 | ||
371 | %files globash | |
372 | %defattr(644,root,root,755) | |
8e5c353f | 373 | %attr(755,root,root) %{_bindir}/globash |
b03a50e8 ER |
374 | %attr(755,root,root) %config %{_sysconfdir}/shrc.d/globash* |
375 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gtags/globash.rc | |
8e5c353f | 376 | %{_mandir}/man1/globash.1* |
b13b56c0 | 377 | |
d7353ab6 | 378 | %if %{with xemacs} |
b13b56c0 | 379 | %files -n xemacs-gtags-mode-pkg |
380 | %defattr(644,root,root,755) | |
381 | %dir %{_datadir}/xemacs-packages/lisp/* | |
382 | %{_datadir}/xemacs-packages/lisp/*/*.el* | |
d7353ab6 | 383 | %endif |
54d991f6 | 384 | |
385 | %files -n less-global-tags | |
386 | %defattr(644,root,root,755) | |
387 | %attr(755,root,root) %config /etc/profile.d/less-global* | |
d7353ab6 | 388 | |
389 | %files -n vim-global-tags | |
390 | %defattr(644,root,root,755) | |
8e5c353f JB |
391 | %{_vimdatadir}/plugin/gtags.vim |
392 | %{_vimdatadir}/plugin/gtags-cscope.vim |