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