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