X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcdecl.git;a=blobdiff_plain;f=cdecl.spec;h=af2f728044d9801e41d93227ae516dd0e3d845f2;hp=3909c5a9d0072032a36837db80d22ce114d03c12;hb=6a1ddf1ba912e8a7ddf9f0a3648c5a02c3d02651;hpb=7cc32952e3cacac541933e6e0b04020cded3bfef diff --git a/cdecl.spec b/cdecl.spec index 3909c5a..af2f728 100644 --- a/cdecl.spec +++ b/cdecl.spec @@ -1,19 +1,37 @@ -Summary: Programs for encoding and decoding C and C++ function declarations. +Summary: Programs for encoding and decoding C and C++ function declarations +Summary(de): Übersetzer von Deklarationen zwischen Englisch und C/C++ +Summary(fr): Traducteur anglais <--> déclarations C/C++ +Summary(tr): Ýngilizceden C/C++ bildirimlerine çevirici Name: cdecl Version: 2.5 -Release: 10 +Release: 14 Copyright: distributable Group: Development/Tools +Group(fr): Development/Outils +Group(pl): Programowanie/Narzêdzia Source: ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz Patch: cdecl-misc.patch +BuildRequires: byacc +BuildRequires: ncurses-devel >= 5.0 +BuildRequires: readline-devel >= 4.1 BuildRoot: /tmp/%{name}-%{version}-root %description The cdecl package includes the cdecl and c++decl utilities, which are used to translate English to C or C++ function declarations and vice versa. -You should install the cdecl package if you intend to do C and/or C++ -programming. +%description -l de +Dies ist ein Paket zum Übersetzen von Englisch in C/C++ +Funktionsanweisungen und umgekehrt. Nützlich für Programmierer. + +%description -l fr +C'est un package pour traduire de l'anglais en déclarations de fonctions +C/C++ et vice-versa. Utile pour les programmeurs. + +%description -l tr +Ýngilizceden C/C++ bildirimlerine çeviri iþlemini ve tersini +gerçekleþtirmek için kullanýlan bir pakettir. Programcýlar için +kullanýþlýdýr. %prep %setup -q @@ -21,46 +39,22 @@ programming. %build make CFLAGS="$RPM_OPT_FLAGS -DUSE_READLINE -s" \ - LIBS="-lreadline -lncurses" + LIBS="-lreadline -ltinfo" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/usr/{bin,man/man1} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} -make BINDIR=$RPM_BUILD_ROOT/usr/bin MANDIR=$RPM_BUILD_ROOT/usr/man/man1 \ - install +make install \ + BINDIR=$RPM_BUILD_ROOT%{_bindir} \ + MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \ -gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/* +gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%attr(755,root,root) /usr/bin/* -/usr/man/man1/* - -%changelog -* Thu Apr 15 1999 Tomasz K³oczko - [2.5-10] -- added passing $RPM_OPT_FLAGS on compile time, -- added gzipping man pages, -- compile against ncurses. - -* Sun Mar 21 1999 Cristian Gafton -- auto rebuild in the new build environment (release 9) - -* Wed Dec 30 1998 Cristian Gafton -- built for glibc 2.1 - -* Sat Aug 15 1998 Jeff Johnson -- build root - -* Tue May 05 1998 Prospector System -- translations modified for de, fr, tr - -* Fri Oct 10 1997 Erik Troan -- built against readline lib w/ proper soname - -* Thu Jul 10 1997 Erik Troan -- built against glibc +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/*