]> git.pld-linux.org Git - packages/cproto.git/blob - cproto.spec
- release 6 (for allow upgrade from RH 7),
[packages/cproto.git] / cproto.spec
1 Summary:        C Prototype Utility
2 Summary(de):    C-Prototyp-Dienstprogramm
3 Summary(fr):    Utilitaire de prototypage C
4 Summary(pl):    Narzêdzia dla prototypów C
5 Summary(tr):    C prototip aracý
6 Name:           cproto
7 Version:        4.6
8 Release:        6
9 License:        Public Domain
10 Group:          Development/Tools
11 Group(de):      Entwicklung/Werkzeuge
12 Group(fr):      Development/Outils
13 Group(pl):      Programowanie/Narzêdzia
14 Source0:        ftp://ftp.oce.com/pub/cproto/%{name}-%{version}.tar.gz
15 Patch0:         %{name}.patch
16 Patch1:         %{name}-DESTDIR.patch
17 BuildRequires:  flex
18 BuildRequires:  bison
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Cproto generates function prototypes for functions defined in the
23 specified C source files to the standard output. The function
24 definitions may be in the old style or ANSI C style. Optionally,
25 cproto also outputs declarations for variables defined in the files.
26 If no file argument is given, cproto reads its input from the standard
27 input.
28
29 %description -l de
30 Cproto erzeugt Funktionsprototypen für in C-Quelldateien definierte
31 Funktionen für die Standardausgabe. Die Funktionsdefinitionen können
32 im alten oder ANSI-C-Format vorliegen. cproto kann auch Deklarationen
33 für in den Dateien definierten Variablen ausgeben. Wird kein
34 Dateiargument angegeben, liest cproto die Eingabe aus der
35 Standardeingabe.
36
37 %description -l fr
38 Cproto génére des prototypes de fonction définies dans sources C
39 spécifiées sur la sortie standard. Les fonctions défines peuvent être
40 en vieux style ou en style C ANSI. Optionnelement, cproto affiche
41 aussi les déclarations pour les variables définies dans ces sources.
42 Si aucun argument ne lui est donné, cproto lit ses entrées depuis
43 l'entrée standard.
44
45 %description -l pl
46 Cproto jest programem do generowania prototypów funkcji,
47 zdefiniowanych w plikach ¼ród³owych C. Definicje funkcji mog± byæ
48 zarówno zgodne z ANSI C jak i ze starszymi. Cproto mo¿e tak¿e
49 dodatkowo tworzyæ wynik deklaracji dla ró¿nych zmiennych
50 zdefiniowanych w pliku. Je¿eli argumentem nie jest plik, cproto
51 pobiera argumenty ze standardowego wej¶cia (stdin).
52
53 %description -l tr
54 Cproto, verilen C kaynak dosyalarýnda tanýmlanmýþ fonksiyonlar için
55 standart çýktýda prototipler oluþturur. Ýstenirse dosyalardaki
56 deðiþken tanýmlamalarýný da çýkartabilir. Programa hiçbir argüman
57 verilmemiþse, cproto girdi olarak standart giriþten bilgi okur.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62 %patch1 -p1
63
64 %build
65 autoconf
66 CPP="/lib/cpp"
67 export CPP
68 %configure
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 gzip -9nf README CHANGES
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %doc *.gz
85 %attr(755,root,root) %{_bindir}/cproto
86 %{_mandir}/man1/*
This page took 0.059997 seconds and 3 git commands to generate.