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