]> git.pld-linux.org Git - packages/cdecl.git/blob - cdecl.spec
kupa drobnych poprawek (teraz te pakiety buduja sie poprawnie)
[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:        11
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 BuildPrereq:    byacc
11 BuildRoot:      /tmp/%{name}-%{version}-root
12
13 %description
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.
16
17 You should install the cdecl package if you intend to do C and/or C++
18 programming.
19
20 %prep
21 %setup -q
22 %patch -p1
23
24 %build
25 make CFLAGS="$RPM_OPT_FLAGS -DUSE_READLINE -s" \
26         LIBS="-lreadline -lncurses"
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT/usr/{bin,share/man/man1}
31
32 make BINDIR=$RPM_BUILD_ROOT%{_bindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
33         install
34
35 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_bindir}/*
43 %{_mandir}/man1/*
44
45 %changelog
46 * Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
47   [2.5-11]
48 - spec cleanup
49
50 * Thu Apr 15 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
51   [2.5-10]
52 - added passing $RPM_OPT_FLAGS on compile time,
53 - added gzipping man pages,
54 - compile against ncurses.
55
56 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
57 - auto rebuild in the new build environment (release 9)
58
59 * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
60 - built for glibc 2.1
61
62 * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
63 - build root
64
65 * Tue May 05 1998 Prospector System <bugs@redhat.com>
66 - translations modified for de, fr, tr
67
68 * Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
69 - built against readline lib w/ proper soname
70
71 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
72 - built against glibc
This page took 0.137807 seconds and 4 git commands to generate.