1 Summary: Programs for encoding and decoding C and C++ function declarations.
5 Copyright: distributable
6 Group: Development/Tools
7 Group(pl): Programowanie/Narzêdzia
8 Source: ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz
9 Patch: cdecl-misc.patch
11 BuildRoot: /tmp/%{name}-%{version}-root
14 The cdecl package includes the cdecl and c++decl utilities, which are used
15 to translate English to C or C++ function declarations and vice versa.
17 You should install the cdecl package if you intend to do C and/or C++
25 make CFLAGS="$RPM_OPT_FLAGS -DUSE_READLINE -s" \
26 LIBS="-lreadline -lncurses"
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT/usr/{bin,share/man/man1}
32 make BINDIR=$RPM_BUILD_ROOT%{_bindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
35 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_bindir}/*