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