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