1 Summary: Programs for encoding and decoding C and C++ function declarations.
5 Copyright: distributable
6 Group: Development/Tools
7 Source: ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz
8 Patch: cdecl-misc.patch
9 BuildRoot: /tmp/%{name}-%{version}-root
12 The cdecl package includes the cdecl and c++decl utilities, which are used
13 to translate English to C or C++ function declarations and vice versa.
15 You should install the cdecl package if you intend to do C and/or C++
23 make CFLAGS="$RPM_OPT_FLAGS -DUSE_READLINE -s" \
24 LIBS="-lreadline -lncurses"
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
30 make BINDIR=$RPM_BUILD_ROOT/usr/bin MANDIR=$RPM_BUILD_ROOT/usr/man/man1 \
33 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
40 %attr(755,root,root) /usr/bin/*
44 * Thu Apr 15 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
46 - added passing $RPM_OPT_FLAGS on compile time,
47 - added gzipping man pages,
48 - compile against ncurses.
50 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
51 - auto rebuild in the new build environment (release 9)
53 * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
56 * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
59 * Tue May 05 1998 Prospector System <bugs@redhat.com>
60 - translations modified for de, fr, tr
62 * Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
63 - built against readline lib w/ proper soname
65 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>