]> git.pld-linux.org Git - packages/cproto.git/blob - cproto.spec
- more rpm macros,
[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 Group(pl):      Programowanie/Narzêdzia
12 Source:         ftp://ftp.oce.com/pub/cproto/cproto-4.4.tar.Z
13 Patch0:         cproto-gcc.patch
14 Buildroot:      /tmp/%{name}-%{version}-root
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 -p0
53
54 %build
55 autoconf
56 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
57 ./configure %{_target} \
58         --prefix=%{_prefix} \
59         --exec-prefix=%{_prefix}
60 make
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
65
66 make install \
67         bindir=$RPM_BUILD_ROOT%{_bindir} \
68         mandir=$RPM_BUILD_ROOT%{_mandir}/man1
69
70 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
71         README MANIFEST CHANGES
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc *.gz
79 %attr(755,root,root) %{_bindir}/cproto
80 %{_mandir}/man1/*
81
82 %changelog
83 * Mon Jun 15 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
84   [4.4-9]
85 - major changes,
86 - rewrote wrong spec file.
87
88 * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
89 - translations modified for de, fr, tr
90
91 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
92 - built against glibc
This page took 0.058958 seconds and 3 git commands to generate.