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