]> git.pld-linux.org Git - packages/cdecl.git/blob - cdecl.spec
- masive changes:
[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 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
10 BuildRoot:      /tmp/%{name}-%{version}-root
11
12 %description
13 The cdecl package includes the cdecl and c++decl utilities, which are used
14 to translate English to C or C++ function declarations and vice 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 CFLAGS="$RPM_OPT_FLAGS -DUSE_READLINE -s" \
25         LIBS="-lreadline -lncurses"
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT/usr/{bin,man/man1}
30
31 make BINDIR=$RPM_BUILD_ROOT/usr/bin MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
32         install
33
34 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %attr(755,root,root) /usr/bin/*
42 %{_mandir}/man1/*
43
44 %changelog
45 * Thu Apr 15 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
46   [2.5-10]
47 - added passing $RPM_OPT_FLAGS on compile time,
48 - added gzipping man pages,
49 - compile against ncurses.
50
51 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
52 - auto rebuild in the new build environment (release 9)
53
54 * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
55 - built for glibc 2.1
56
57 * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
58 - build root
59
60 * Tue May 05 1998 Prospector System <bugs@redhat.com>
61 - translations modified for de, fr, tr
62
63 * Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
64 - built against readline lib w/ proper soname
65
66 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
67 - built against glibc
This page took 0.051291 seconds and 3 git commands to generate.