]>
Commit | Line | Data |
---|---|---|
ff2b97e0 | 1 | Summary: Exuberant ctags -- C cross-reference tool |
0fa89c3e ER |
2 | Summary(de.UTF-8): Exuberant ctags - C-Cross-Reference-Tool |
3 | Summary(es.UTF-8): ctags - generador de listas de referencia | |
4 | Summary(fr.UTF-8): ctags exubérant | |
5 | Summary(ko.UTF-8): 여러 언어로 된 소스 코드에 색인을 만들어주는 도구 | |
6 | Summary(pl.UTF-8): ctags - generator list odwołań | |
7 | Summary(pt_BR.UTF-8): Ctags exuberantes! Ferramenta de referência cruzada para C | |
8 | Summary(ru.UTF-8): Утилита для индексации и построения ссылок для языка C | |
9 | Summary(tr.UTF-8): C dili için çapraz-başvuru (cross-reference) aracı | |
10 | Summary(uk.UTF-8): Утиліта для індексації та побудови посилань для мови C | |
ff2b97e0 | 11 | Name: ctags |
b5f00a21 | 12 | Version: 5.8 |
8b298b81 | 13 | Release: 2 |
8efad4f9 | 14 | License: GPL v2+ |
ff2b97e0 | 15 | Group: Development/Tools |
439ee066 | 16 | Source0: http://dl.sourceforge.net/ctags/%{name}-%{version}.tar.gz |
b5f00a21 | 17 | # Source0-md5: c00f82ecdcc357434731913e5b48630d |
2d91e5b4 | 18 | URL: http://ctags.sourceforge.net/ |
8efad4f9 | 19 | BuildRequires: autoconf >= 1.12 |
a0c754b5 | 20 | BuildRequires: automake |
e53447ae | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
99303794 | 22 | |
23 | %description | |
ecc89c38 | 24 | Ctags generates an index (or tag) file of C language objects found in |
25 | C source and header files. The index makes it easy for text editors or | |
26 | other utilities to locate the indexed items. Ctags can also generate a | |
27 | cross reference file which lists information about the various objects | |
28 | found in a set of C language files in human readable form. Exuberant | |
29 | Ctags improves on ctags because it can find all types of C language | |
30 | tags, including macro definitions, enumerated values (values inside | |
31 | enum{...}), function and method definitions, enum/struct/union tags, | |
32 | external function prototypes, typedef names and variable declarations. | |
33 | Exuberant Ctags is far less likely to be fooled by code containing #if | |
34 | preprocessor conditional constructs than ctags. Exuberant ctags | |
35 | supports output of emacs style TAGS files and can be used to print out | |
36 | a list of selected objects found in source files. | |
e4795ca2 | 37 | |
594ca743 JR |
38 | %description -l de.UTF-8 |
39 | '#if'-Präprozessor-Bedingungen enthält, dank eines konditionalen Ein | |
40 | verbessertes ctags, das tags für alle möglichen tag-Typen generiert: | |
41 | Makrodefinitionen, aufgezählte Werte (Werte in enum{...}), Funktions- | |
e4bb1e42 | 42 | und Methodendefinitionen, enum/struct/union-tags, externe |
ecc89c38 | 43 | Funktionsprototypen (wahlweise), typedefs und variable Deklarationen. |
594ca743 | 44 | Es läßt sich weit weniger gut durch Code täuschen, der |
ecc89c38 | 45 | Pfadauswahlalgorithmus, der komplizierte Entscheidungen trifft, und |
46 | eines Ausweiche-Algorithmus, der ins Spiel kommt, wenn der erste dem | |
47 | Problem nicht gewachsen ist. Kann auch benutzt werden, um eine Liste | |
594ca743 | 48 | ausgewählter Objekte, die in Quelldateien gefunden wurden, |
e4795ca2 | 49 | auszudrucken. |
99303794 | 50 | |
594ca743 | 51 | %description -l es.UTF-8 |
8f851ff0 | 52 | Un ctags mejor que crea tags para todos los tipos posibles de tag: |
594ca743 JR |
53 | definiciones de macro, valores enumerados, definiciones de función y |
54 | método, tags enum/struct/union, prototipos de función externa | |
55 | (opcional), typedefs y declaraciones variables. Es más difícil de ser | |
56 | engañado en códigos que contenga la directiva condicional #if para el | |
8f851ff0 | 57 | preprocesador, pues utiliza un algoritmo condicional de camino para |
58 | solucionar decisiones complicadas, y un algoritmo de rescate cuando | |
594ca743 JR |
59 | este falla. También puede ser usado para enseñar una lista de objetos |
60 | seleccionados que esté en los archivos fuente. | |
8f851ff0 | 61 | |
594ca743 JR |
62 | %description -l fr.UTF-8 |
63 | un ctags amélioré générant des tags pour tous les types de tags | |
64 | possibles : définitions de macros, valeurs énumérées (valeurs dans | |
65 | enum{...}), définitions de fonctions et de méthodes, enum/struct/union | |
ecc89c38 | 66 | tags, prototypes de fonctions externes (optionnel), typedefs, et |
594ca743 JR |
67 | déclarations de variables. Peut aussi être utilisé pour afficher une |
68 | liste des objets choisis trouvés dans les fichiers source. | |
99303794 | 69 | |
594ca743 JR |
70 | %description -l pl.UTF-8 |
71 | Generator tabeli odwołań dla: makr, zmiennych, funkcji i procedur, | |
72 | definicji typów, metod (C++) itp. Używany do generacji listy | |
73 | wyspecyfikowanych obiektów znalezionych w plikach źródłowych. Tablica | |
74 | owych odwołań może być wykorzystywana przez większość standardowych | |
75 | edytorów tekstu (vim, joe, emacs), do przemieszczania się w źródłach | |
76 | między deklaracją i użyciem danego symbolu. | |
99303794 | 77 | |
594ca743 JR |
78 | %description -l pt_BR.UTF-8 |
79 | Um ctags melhor que gera tags para todos os tipos possíveis de tag: | |
80 | definições de macro, valores enumerados, definições de função e | |
81 | método, tags enum/struct/union, protótipos de função externa | |
82 | (opcional), typedefs e declarações variáveis. É mais difícil de ser | |
83 | enganado em códigos que contenha a diretiva condicional #if para o | |
84 | pré-processador, pois utiliza um algoritmo condicional de caminho para | |
85 | resolver decisões complicadas, e um algoritmo de resgate quando este | |
86 | falha. Também pode ser usado para mostrar uma lista de objetos | |
8f851ff0 | 87 | selecionados que estejam nos arquivos fonte. |
88 | ||
594ca743 JR |
89 | %description -l ru.UTF-8 |
90 | Ctags генерирует индексный (или тэг-) файл объектов языка C, которые | |
91 | находятся в файлах исходных текстов и хедерах на языке C. Такой индекс | |
92 | облегчает текстовым редакторам и другим утилитам поиск индексированных | |
93 | объектов. Ctags также может генерировать файл перекрестных ссылок, | |
94 | который содержит информацию о различных объектах, содержащихся в | |
95 | наборе файлов на языке C в пригодной для чтения форме. Exuberant Ctags | |
96 | представляет собой усовершенствование стандартного ctags, т.к. он | |
97 | способен находить все типы тэгов языка C, включая макроопределения, | |
98 | перечисляемые значения (значения внутри enum{...}), определения | |
99 | функций и методов, тэги enum/struct/union, прототипы внешних функций, | |
100 | имена typedef и декларации переменных. Exuberant Ctags значительно | |
101 | труднее обмануть кодом, содержащим условные конструкции препроцессора | |
102 | '#if', чем оригинальный ctags. Exuberant Ctags поддерживает вывод | |
103 | файла TAGS в стиле Emacs и может быть использован для вывода списка | |
104 | выбранных объектов, найденных в исходных файлах. | |
0243666e | 105 | |
594ca743 JR |
106 | %description -l tr.UTF-8 |
107 | Olabilecek her türlü etiket çeşitleri - makro tanımlamaları, sayılı | |
108 | (enumerated) değerler, fonksiyon ve yöntem (method) tanımlamaları, tip | |
109 | ve değişken tanımları - için etiketler üretir. Kaynak kodlarında | |
110 | bulunan, seçilmiş nesnelerin listesinin çıktısını yazıcıdan almak için | |
111 | de kullanılabilir. | |
99303794 | 112 | |
594ca743 JR |
113 | %description -l uk.UTF-8 |
114 | Ctags генерує індексний (або тег-) файл об'єктів мови C, які | |
115 | знаходяться у файлах вихідних текстів та хедерах на мові C. Такий | |
116 | індекс полегшує текстовим редакторам та іншим утилітам пошук | |
117 | індексованих об'єктів. Ctags також може генерувати файл перехресних | |
118 | посилань, який містить інформацію про різні об'єкти, які містяться у | |
119 | наборі файлів на мові C у придатній для читання формі. Exuberant Ctags | |
120 | являє собою вдосконалення стандартного ctags, так як він у стані | |
121 | знаходити всі типи тегів мови C, включаючи макровизначення, значення | |
122 | всередині enum{...}, визначення функцій та методів, теги | |
123 | enum/struct/union, прототипи зовнішніх функцій, імена typedef та | |
124 | декларації змінних. Exuberant Ctags значно тяжче обманути кодом, що | |
125 | містить умовні конструкцію препроцесора #if, ніж оригінальний ctags. | |
126 | Exuberant Ctags підтримує вивід файлу TAGS у стилі Emacs і може бути | |
127 | використаний для виводу списку вибраних об'єктів, які знаходяться у | |
128 | вихідних файлах. | |
0243666e | 129 | |
99303794 | 130 | %prep |
131 | %setup -q | |
132 | ||
133 | %build | |
34654635 | 134 | %{__autoconf} |
439ee066 | 135 | cp -f /usr/share/automake/install-sh . |
136 | cp -f /usr/share/automake/config.sub . | |
e4bb1e42 | 137 | %configure \ |
8efad4f9 JB |
138 | --enable-etags \ |
139 | --enable-tmpdir=/tmp | |
8b298b81 | 140 | |
b04036fd | 141 | %{__make} |
99303794 | 142 | |
143 | %install | |
2bbb6978 | 144 | rm -rf $RPM_BUILD_ROOT |
8b298b81 | 145 | %{__make} -j1 install \ |
fd224178 | 146 | prefix=$RPM_BUILD_ROOT%{_prefix} \ |
82f53da3 | 147 | bindir=$RPM_BUILD_ROOT%{_bindir} \ |
49bd0d48 | 148 | mandir=$RPM_BUILD_ROOT%{_mandir} |
99303794 | 149 | |
a66741de | 150 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/etags.1 |
8b298b81 | 151 | echo ".so man1/ctags.1" > $RPM_BUILD_ROOT%{_mandir}/man1/etags.1 |
d48797c4 | 152 | |
99303794 | 153 | %clean |
154 | rm -rf $RPM_BUILD_ROOT | |
155 | ||
156 | %files | |
ff2b97e0 | 157 | %defattr(644,root,root,755) |
b5df3b46 | 158 | %doc EXTENDING.html FAQ NEWS README |
8b298b81 JR |
159 | %attr(755,root,root) %{_bindir}/ctags |
160 | %attr(755,root,root) %{_bindir}/etags | |
161 | %{_mandir}/man1/ctags.1* | |
162 | %{_mandir}/man1/etags.1* |