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ý
10 Group: Development/Tools
11 Group(fr): Development/Outils
12 Group(pl): Programowanie/Narzêdzia
13 Source0: ftp://ftp.oce.com/pub/cproto/%{name}-%{version}.tar.gz
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Cproto generates function prototypes for functions defined in the
19 specified C source files to the standard output. The function
20 definitions may be in the old style or ANSI C style. Optionally,
21 cproto also outputs declarations for variables defined in the files.
22 If no file argument is given, cproto reads its input from the standard
26 Cproto erzeugt Funktionsprototypen für in C-Quelldateien definierte
27 Funktionen für die Standardausgabe. Die Funktionsdefinitionen können
28 im alten oder ANSI-C-Format vorliegen. cproto kann auch Deklarationen
29 für in den Dateien definierten Variablen ausgeben. Wird kein
30 Dateiargument angegeben, liest cproto die Eingabe aus der
34 Cproto génére des prototypes de fonction définies dans sources C
35 spécifiées sur la sortie standard. Les fonctions défines peuvent être
36 en vieux style ou en style C ANSI. Optionnelement, cproto affiche
37 aussi les déclarations pour les variables définies dans ces sources.
38 Si aucun argument ne lui est donné, cproto lit ses entrées depuis
42 Cproto jest programem do generowania prototypów funkcji,
43 zdefiniowanych w plikach ¼ród³owtch C. Definicje funkcji mog± byæ
44 zarówno zgodne z ANSI C jak i ze starszymi. Cproto mo¿e tak¿e
45 dodatkowo tworzyæ wynik deklaracji dla ro¿nych zmiennych
46 zdefiniowanych w pliku. Je¿eli argumentem nie jest plik, cproto
47 pobiera argumenty ze standardowego wej¶cia (stdin).
50 Cproto, verilen C kaynak dosyalarýnda tanýmlanmýþ fonksiyonlar için
51 standart çýktýda prototipler oluþturur. Ýstenirse dosyalardaki
52 deðiþken tanýmlamalarýný da çýkartabilir. Programa hiçbir argüman
53 verilmemiþse, cproto girdi olarak standart giriþten bilgi okur.
66 --exec-prefix=%{_prefix}
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
74 bindir=$RPM_BUILD_ROOT%{_bindir} \
75 mandir=$RPM_BUILD_ROOT%{_mandir}/man1
77 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_bindir}/cproto