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