]> git.pld-linux.org Git - packages/cdecl.git/blob - cdecl.spec
- added de, fr, tr translation from Bero Linux distribution.
[packages/cdecl.git] / cdecl.spec
1 Summary:        Programs for encoding and decoding C and C++ function declarations
2 Summary(de):    Übersetzer von Deklarationen zwischen Englisch und C/C++
3 Summary(fr):    Traducteur anglais <--> déclarations C/C++
4 Summary(tr):    Ýngilizceden C/C++ bildirimlerine çevirici
5 Name:           cdecl
6 Version:        2.5
7 Release:        12
8 Copyright:      distributable
9 Group:          Development/Tools
10 Group(pl):      Programowanie/Narzêdzia
11 Source:         ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz
12 Patch:          cdecl-misc.patch
13 BuildRequires:  byacc
14 BuildRequires:  ncurses-devel >= 5.0
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %description
18 The cdecl package includes the cdecl and c++decl utilities, which are used
19 to translate English to C or C++ function declarations and vice versa.
20
21 You should install the cdecl package if you intend to do C and/or C++
22 programming.
23
24 %description -l de
25 Dies ist ein Paket zum Übersetzen von Englisch in C/C++ Funktionsanweisungen
26 und umgekehrt. Nützlich für Programmierer.
27
28 %description -l fr
29 C'est un package pour traduire de l'anglais en déclarations de fonctions
30 C/C++ et vice-versa. Utile pour les programmeurs.
31
32 %description -l tr
33 Ýngilizceden C/C++ bildirimlerine çeviri iþlemini ve tersini gerçekleþtirmek
34 için kullanýlan bir pakettir. Programcýlar için kullanýþlýdýr.
35
36 %prep
37 %setup -q
38 %patch -p1
39
40 %build
41 make CFLAGS="$RPM_OPT_FLAGS -DUSE_READLINE -s" \
42         LIBS="-lreadline -ltinfo"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT/usr/{bin,share/man/man1}
47
48 make BINDIR=$RPM_BUILD_ROOT%{_bindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
49         install
50
51 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/*
59 %{_mandir}/man1/*
This page took 0.045486 seconds and 3 git commands to generate.