]> git.pld-linux.org Git - packages/cdecl.git/blob - cdecl.spec
- release 19: use new rpm automation.
[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:        19
8 License:        Distributable
9 Group:          Development/Tools
10 Group(de):      Entwicklung/Werkzeuge
11 Group(fr):      Development/Outils
12 Group(pl):      Programowanie/Narzêdzia
13 Source0:        ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-misc.patch
15 BuildRequires:  byacc
16 BuildRequires:  ncurses-devel >= 5.0
17 BuildRequires:  readline-devel >= 4.1
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The cdecl package includes the cdecl and c++decl utilities, which are
22 used to translate English to C or C++ function declarations and vice
23 versa.
24
25 %description -l pl
26 Pakiet cdecl zawiera narzêdzia cdecl oraz c++decl, których u¿ywa sie
27 do t³umaczenia deklaracji funkcji C lub C++ na angielski i vice versa.
28
29 %description -l de
30 Dies ist ein Paket zum Übersetzen von Englisch in C/C++
31 Funktionsanweisungen und umgekehrt. Nützlich für Programmierer.
32
33 %description -l fr
34 C'est un package pour traduire de l'anglais en déclarations de
35 fonctions C/C++ et vice-versa. Utile pour les programmeurs.
36
37 %description -l tr
38 Ýngilizceden C/C++ bildirimlerine çeviri iþlemini ve tersini
39 gerçekleþtirmek için kullanýlan bir pakettir. Programcýlar için
40 kullanýþlýdýr.
41
42 %prep
43 %setup -q
44 %patch -p1
45
46 %build
47 %{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS -s}%{?debug:-O -g} -DUSE_READLINE" \
48         LIBS="-lreadline -ltinfo"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
53
54 %{__make} install \
55         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
56         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/*
64 %{_mandir}/man1/*
This page took 0.073247 seconds and 3 git commands to generate.