]> git.pld-linux.org Git - packages/cdecl.git/blob - cdecl.spec
[2.5-10]
[packages/cdecl.git] / cdecl.spec
1 Summary:        Programs for encoding and decoding C and C++ function declarations.
2 Name:           cdecl
3 Version:        2.5
4 Release:        10
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
10
11 %description
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.
14
15 You should install the cdecl package if you intend to do C and/or C++
16 programming.
17
18 %prep
19 %setup -q
20 %patch -p1
21
22 %build
23 make CFLAGS="$RPM_OPT_FLAGS -DUSE_READLINE -s" \
24         LIBS="-lreadline -lncurses"
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 install -d $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 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %attr(755,root,root) /usr/bin/*
41 /usr/man/man1/*
42
43 %changelog
44 * Thu Apr 15 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
45   [2.5-10]
46 - added passing $RPM_OPT_FLAGS on compile time,
47 - added gzipping man pages,
48 - compile against ncurses.
49
50 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
51 - auto rebuild in the new build environment (release 9)
52
53 * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
54 - built for glibc 2.1
55
56 * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
57 - build root
58
59 * Tue May 05 1998 Prospector System <bugs@redhat.com>
60 - translations modified for de, fr, tr
61
62 * Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
63 - built against readline lib w/ proper soname
64
65 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
66 - built against glibc
This page took 0.105237 seconds and 4 git commands to generate.