From 25239a9c092f0511f02bf6a7a03167723f39f281 Mon Sep 17 00:00:00 2001 From: kloczek Date: Sun, 20 Dec 1998 10:16:22 +0000 Subject: [PATCH] =?utf8?q?-=20revision=20up=20to=209.=20By=20Wojtek=20?= =?utf8?q?=C5=9Alusarczyk=20:=20-=20major=20changes,?= =?utf8?q?=20-=20rewrote=20wrong=20spec=20file.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Changed files: cproto.spec -> 1.1 --- cproto.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 cproto.spec diff --git a/cproto.spec b/cproto.spec new file mode 100644 index 0000000..01a16b6 --- /dev/null +++ b/cproto.spec @@ -0,0 +1,89 @@ +Summary: C Prototype Utility +Summary(de): C-Prototyp-Dienstprogramm +Summary(fr): Utilitaire de prototypage C. +Summary(pl): Narzêdzia dla prototypów C +Summary(tr): C prototip aracý +Name: cproto +Version: 4.4 +Release: 9 +Copyright: Public Domain +Group: Development/Tools +Source: ftp://ftp.oce.com/pub/cproto/cproto-4.4.tar.Z +Patch0: cproto-gcc.patch +Buildroot: /tmp/%{name}-%{version}-root + +%description +Cproto generates function prototypes for functions defined in the specified +C source files to the standard output. The function definitions may be in +the old style or ANSI C style. Optionally, cproto also outputs declarations +for variables defined in the files. If no file argument is given, cproto +reads its input from the standard input. + +%description -l de +Cproto erzeugt Funktionsprototypen für in C-Quelldateien definierte +Funktionen für die Standardausgabe. Die Funktionsdefinitionen können im +alten oder ANSI-C-Format vorliegen. cproto kann auch Deklarationen für in +den Dateien definierten Variablen ausgeben. Wird kein Dateiargument +angegeben, liest cproto die Eingabe aus der Standardeingabe. + +%description -l fr +Cproto génére des prototypes de fonction définies dans sources C spécifiées +sur la sortie standard. Les fonctions défines peuvent être en vieux style ou +en style C ANSI. Optionnelement, cproto affiche aussi les déclarations pour +les variables définies dans ces sources. Si aucun argument ne lui est donné, +cproto lit ses entrées depuis l'entrée standard. + +%description -l pl +Cproto jest programem do generowania prototypów funkcji, zdefiniowanych w +plikach ¼ród³owtch C. Definicje funkcji mog± byæ zarówno zgodne z ANSI C jak +i ze starszymi. Cproto mo¿e tak¿e dodatkowo tworzyæ wynik deklaracji dla +ro¿nych zmiennych zdefiniowanych w pliku. Je¿eli argumentem nie jest plik, +cproto pobiera argumenty ze standardowego wej¶cia (stdin). + +%description -l tr +Cproto, verilen C kaynak dosyalarýnda tanýmlanmýþ fonksiyonlar için standart +çýktýda prototipler oluþturur. Ýstenirse dosyalardaki deðiþken +tanýmlamalarýný da çýkartabilir. Programa hiçbir argüman verilmemiþse, +cproto girdi olarak standart giriþten bilgi okur. + +%prep +%setup -q + +%build +autoconf +CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ +./configure \ + --prefix=/usr \ + --exec-prefix=/usr +make + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/{bin,man/man1} + +make install \ + bindir=$RPM_BUILD_ROOT/usr/bin \ + mandir=$RPM_BUILD_ROOT/usr/man/man1 + +gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/* + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644, root, root, 755) +%doc README MANIFEST CHANGES +%attr(755, root, root) /usr/bin/cproto +%attr(644, root, man) /usr/man/man1/* + +%changelog +* Mon Jun 15 1998 Wojtek ¦lusarczyk + [4.4-9] +- major changes, +- rewrote wrong spec file. + +* Mon Apr 27 1998 Prospector System +- translations modified for de, fr, tr + +* Thu Jul 10 1997 Erik Troan +- built against glibc -- 2.44.0