]>
Commit | Line | Data |
---|---|---|
9b235201 | 1 | Summary: Programs for encoding and decoding C and C++ function declarations. |
2 | Name: cdecl | |
3 | Version: 2.5 | |
4 | Release: 9 | |
5 | Copyright: distributable | |
6 | Group: Development/Tools | |
7 | Source: ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/cdecl-2.5.tar.gz | |
8 | Patch: cdecl-2.5.misc.patch | |
9 | BuildRoot: /var/tmp/cdecl-root | |
10 | ||
11 | %description | |
12 | The cdecl package includes the cdecl and c++decl utilities, which are | |
13 | used to translate English to C or C++ function declarations and vice | |
14 | versa. | |
15 | ||
16 | You should install the cdecl package if you intend to do C and/or C++ | |
17 | programming. | |
18 | ||
19 | %prep | |
20 | %setup -q | |
21 | %patch -p1 | |
22 | ||
23 | %build | |
24 | make | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/man1} | |
29 | ||
30 | make BINDIR=$RPM_BUILD_ROOT/usr/bin MANDIR=$RPM_BUILD_ROOT/usr/man/man1 \ | |
31 | install | |
32 | ||
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %files | |
37 | %defattr(-,root,root) | |
38 | /usr/bin/cdecl | |
39 | /usr/bin/c++decl | |
40 | /usr/man/man1/cdecl.1 | |
41 | /usr/man/man1/c++decl.1 | |
42 | ||
43 | %changelog | |
44 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> | |
45 | - auto rebuild in the new build environment (release 9) | |
46 | ||
47 | * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> | |
48 | - built for glibc 2.1 | |
49 | ||
50 | * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com> | |
51 | - build root | |
52 | ||
53 | * Tue May 05 1998 Prospector System <bugs@redhat.com> | |
54 | - translations modified for de, fr, tr | |
55 | ||
56 | * Fri Oct 10 1997 Erik Troan <ewt@redhat.com> | |
57 | - built against readline lib w/ proper soname | |
58 | ||
59 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> | |
60 | - built against glibc |