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