1 | Summary: Encoding/decoding utilities for C/C++ function declarations. |
---|
2 | Name: cdecl |
---|
3 | Version: 2.5 |
---|
4 | Release: 23%{?_dist_release} |
---|
5 | License: distributable |
---|
6 | Group: Development/Tools |
---|
7 | Source: ftp://ibiblio.org/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz |
---|
8 | Patch0: cdecl-2.5.misc.patch |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | BuildPrereq: readline-devel libtermcap-devel bison flex |
---|
11 | Vendor: Project Vine |
---|
12 | Distribution: Vine Linux |
---|
13 | |
---|
14 | %description |
---|
15 | The cdecl package includes the cdecl and c++decl utilities, which are |
---|
16 | used to translate English to C or C++ function declarations and vice |
---|
17 | versa. |
---|
18 | |
---|
19 | %description -l ja |
---|
20 | cdecl は cdecl や c++decl ユーティリティを含んだパッケージです。 |
---|
21 | これらのユーティリティは英語を C や C++の関数宣言に翻訳したり、 |
---|
22 | その逆の場合に使われます。 |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q |
---|
26 | %patch0 -p1 -b .misc |
---|
27 | |
---|
28 | %build |
---|
29 | make CFLAGS="$RPM_OPT_FLAGS" |
---|
30 | |
---|
31 | %install |
---|
32 | rm -rf %{buildroot} |
---|
33 | mkdir -p %{buildroot}%{_bindir} |
---|
34 | mkdir -p %{buildroot}%{_mandir}/man1 |
---|
35 | |
---|
36 | make BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}/man1 \ |
---|
37 | install |
---|
38 | |
---|
39 | %clean |
---|
40 | rm -rf %{buildroot} |
---|
41 | |
---|
42 | %files |
---|
43 | %defattr(-,root,root) |
---|
44 | %{_bindir}/* |
---|
45 | %{_mandir}/man1/* |
---|
46 | |
---|
47 | %changelog |
---|
48 | * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-23vl5 |
---|
49 | - applied new versioning policy, spec in utf-8 |
---|
50 | |
---|
51 | * Sat Mar 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5-22vl2 |
---|
52 | - rebuilt with new toolchains |
---|
53 | |
---|
54 | * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 2.5-22vl1 |
---|
55 | - patch/spec synced with Rawhide 2.5-22 |
---|
56 | |
---|
57 | * Fri Oct 13 2000 MACHINO, Satoshi <machino@vinelinux.org> 2.5-9vl1 |
---|
58 | - added %description -l ja |
---|
59 | - fixed in %files for brp-redhat |
---|
60 | |
---|
61 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
62 | - auto rebuild in the new build environment (release 9) |
---|
63 | |
---|
64 | * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> |
---|
65 | - built for glibc 2.1 |
---|
66 | |
---|
67 | * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com> |
---|
68 | - build root |
---|
69 | |
---|
70 | * Tue May 05 1998 Prospector System <bugs@redhat.com> |
---|
71 | - translations modified for de, fr, tr |
---|
72 | |
---|
73 | * Fri Oct 10 1997 Erik Troan <ewt@redhat.com> |
---|
74 | - built against readline lib w/ proper soname |
---|
75 | |
---|
76 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
77 | - built against glibc |
---|