]> git.pld-linux.org Git - packages/ctags.git/blob - ctags.spec
- release 2.
[packages/ctags.git] / ctags.spec
1 Summary:        Exuberant ctags -- C cross-reference tool
2 Summary(de):    Exuberant ctags - C-Cross-Reference-Tool 
3 Summary(fr):    ctags exubérant
4 Summary(pl):    ctags - generator list odwo³añ
5 Summary(tr):    C dili için çapraz-baþvuru (cross-reference) aracý
6 Name:           ctags
7 Version:        4.0.3
8 Release:        2
9 License:        GPL
10 Group:          Development/Tools
11 Group(de):      Entwicklung/Werkzeuge
12 Group(fr):      Development/Outils
13 Group(pl):      Programowanie/Narzêdzia
14 Source0:        http://ctags.sourceforge.net/archives/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-glibc.patch
16 URL:            http://darren.hiebert.com/ctags/
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Ctags generates an index (or tag) file of C language objects found in
21 C source and header files. The index makes it easy for text editors or
22 other utilities to locate the indexed items. Ctags can also generate a
23 cross reference file which lists information about the various objects
24 found in a set of C language files in human readable form. Exuberant
25 Ctags improves on ctags because it can find all types of C language
26 tags, including macro definitions, enumerated values (values inside
27 enum{...}), function and method definitions, enum/struct/union tags,
28 external function prototypes, typedef names and variable declarations.
29 Exuberant Ctags is far less likely to be fooled by code containing #if
30 preprocessor conditional constructs than ctags. Exuberant ctags
31 supports output of emacs style TAGS files and can be used to print out
32 a list of selected objects found in source files.
33
34 %description -l de
35 Ein verbessertes ctags, das tags für alle möglichen tag-Typen
36 generiert: Makrodefinitionen, aufgezählte Werte (Werte in enum{...}),
37 Funktions- und Methodendefinitionen, enum/struct/union-tags, externe
38 Funktionsprototypen (wahlweise), typedefs und variable Deklarationen.
39 Es läßt sich weit weniger gut durch Code täuschen, der
40 #if-Präprozessor-Bedingungen enthält, dank eines konditionalen
41 Pfadauswahlalgorithmus, der komplizierte Entscheidungen trifft, und
42 eines Ausweiche-Algorithmus, der ins Spiel kommt, wenn der erste dem
43 Problem nicht gewachsen ist. Kann auch benutzt werden, um eine Liste
44 ausgewählter Objekte, die in Quelldateien gefunden wurden,
45 auszudrucken.
46
47 %description -l fr
48 un ctags amélioré générant des tags pour tous les types de tags
49 possibles : définitions de macros, valeurs énumérées (valeurs dans
50 enum{...}), définitions de fonctions et de méthodes, enum/struct/union
51 tags, prototypes de fonctions externes (optionnel), typedefs, et
52 déclarations de variables. Peut aussi être utilisé pour afficher une
53 liste des objets choisis trouvés dans les fichiers source.
54
55 %description -l pl
56 Generator tabeli odwo³añ dla: makr, zmiennych, funkcji i procedur,
57 definicji typów, metod (C++) itp. U¿ywany do generacji listy
58 wyspecyfikowanych obiektów znalezionych w plikach ¼ród³owych. Tablica
59 owych odwo³añ mo¿e byæ wykorzystywana przez wiekszosæ standardowych
60 edytorów tekstu (vim, joe, emacs), do przemieszczania siê w ¼ród³ach
61 miêdzy deklaracj± i u¿yciem danego symbolu.
62
63 %description -l tr
64 Olabilecek her türlü etiket çeþitleri - makro tanýmlamalarý, sayýlý
65 (enumerated) deðerler, fonksiyon ve yöntem (method) tanýmlamalarý, tip
66 ve deðiþken tanýmlarý - için etiketler üretir. Kaynak kodlarýnda
67 bulunan, seçilmiþ nesnelerin listesinin çýktýsýný yazýcýdan almak için
68 de kullanýlabilir.
69
70 %prep
71 %setup -q
72 %patch -p0
73
74 %build
75 autoconf
76 %configure
77
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         prefix=$RPM_BUILD_ROOT%{_prefix} \
85         bindir=$RPM_BUILD_ROOT%{_bindir} \
86         mandir=$RPM_BUILD_ROOT%{_mandir} 
87
88 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/etags.1
89 echo ".so ctags.1" > $RPM_BUILD_ROOT%{_mandir}/man1/etags.1
90
91 gzip -9nf FAQ NEWS QUOTES README
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files
97 %defattr(644,root,root,755)
98 %doc *.gz
99 %attr(755,root,root) %{_bindir}/*
100 %{_mandir}/man1/*
This page took 0.092744 seconds and 3 git commands to generate.