1 | Summary: Generates function prototypes and variable declarations from C code. |
---|
2 | Summary(ja): C コードから関数プロトタイプと変数宣言を生成するツール |
---|
3 | Name: cproto |
---|
4 | Version: 4.7l |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: Public Domain |
---|
7 | Group: Development/Tools |
---|
8 | URL: http://invisible-island.net/ |
---|
9 | |
---|
10 | Source: ftp://invisible-island.net/%{name}/%{name}-%{version}.tgz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: bison |
---|
14 | BuildRequires: flex |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | |
---|
19 | %description |
---|
20 | Cproto generates function prototypes and variable declarations from C |
---|
21 | source code. Cproto can also convert function definitions between the |
---|
22 | old style and the ANSI C style. This conversion will overwrite the |
---|
23 | original files, however, so be sure to make a backup copy of your |
---|
24 | original files in case something goes wrong. Cproto uses a Yacc |
---|
25 | generated parser, so it should not be confused by complex function |
---|
26 | definitions as much as other prototype generators. |
---|
27 | |
---|
28 | %description -l ja |
---|
29 | cproto は C のソースコードから関数プロトタイプと変数宣言を生成します. |
---|
30 | cproto は古い形式と ANSI C 形式の関数定義の相互変換も行うことが出来ます. |
---|
31 | この変換を行うとオリジナルのファイルを上書きしてしまいますので,もしもの |
---|
32 | 時の為にオリジナルファイルのバックアップは必ず取っておいて下さい. |
---|
33 | cproto は yacc により生成された解析器を使用しますので,他のプロトタイプ |
---|
34 | 生成プログラムとは異なり,複雑な関数定義も難なく処理出来ます. |
---|
35 | |
---|
36 | cproto は C プログラマにとっては便利なプログラムですので, |
---|
37 | C でプログラムをする際には cproto をインストールして下さい. |
---|
38 | |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | |
---|
43 | %build |
---|
44 | %configure |
---|
45 | make %{?_smp_mflags} |
---|
46 | |
---|
47 | |
---|
48 | %install |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | |
---|
51 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
52 | |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root) |
---|
60 | %doc CHANGES README |
---|
61 | %{_prefix}/bin/cproto |
---|
62 | %{_mandir}/man1/cproto.* |
---|
63 | |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Sat Feb 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.7l-1 |
---|
67 | - update to 4.7l |
---|
68 | |
---|
69 | * Sat Jun 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7j-1 |
---|
70 | - update to 4.7j |
---|
71 | - add BuildRequires: bison, flex |
---|
72 | |
---|
73 | * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 4.7c-6vl5 |
---|
74 | - applied new versioning policy, spec in utf-8 |
---|
75 | |
---|
76 | * Sun Apr 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7c-5vl1 |
---|
77 | - based on 4.7c-5 from Fedora development |
---|
78 | * Wed Feb 9 2005 Jindrich Novy <jnovy@redhat.com> 4.7c-4 |
---|
79 | - add RPM_OPT_FLAGS to CFLAGS |
---|
80 | - convert Copyright to License |
---|
81 | - rebuild with -D_FORTIFY_SOURCE=2 |
---|
82 | * Thu Oct 14 2004 Jindrich Novy <jnovy@redhat.com> 4.7c-3 |
---|
83 | - define OPT_LINTLIBRARY to enable type definitions output |
---|
84 | and other cproto features disabled otherwise |
---|
85 | - s/Copyright/License/ |
---|
86 | - updated URL |
---|
87 | |
---|
88 | * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.6-13vl1 |
---|
89 | - based on 4.6-13 from Rawhide and built for Vine Linux |
---|
90 | - added Japanese summary and description |
---|
91 | |
---|
92 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
93 | - automated rebuild |
---|
94 | |
---|
95 | * Mon Jun 17 2002 Bill Nottingham <notting@redhat.com> 4.6-12 |
---|
96 | - don't strip it |
---|
97 | |
---|
98 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
99 | - automated rebuild |
---|
100 | |
---|
101 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
102 | - automated rebuild |
---|
103 | |
---|
104 | * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com> |
---|
105 | - predefine __builtin_va_list (#46246, original patch from <urban@teststation.com>) |
---|
106 | |
---|
107 | * Tue Jun 12 2001 Bill Nottingham <notting@redhat.com> |
---|
108 | - actually *apply* the 4.6.1 patch. Fixes #35654, at least. |
---|
109 | |
---|
110 | * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com> |
---|
111 | - rebuild because of broken fileutils |
---|
112 | |
---|
113 | * Mon Oct 13 2000 Bill Nottingham <notting@redhat.com> |
---|
114 | - use /lib/cpp, not gcc -E, again (#20535) |
---|
115 | |
---|
116 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
117 | - automatic rebuild |
---|
118 | |
---|
119 | * Tue Jun 6 2000 Bill Nottingham <notting@redhat.com> |
---|
120 | - rebuild against glibc-2.2, FHS stuff |
---|
121 | |
---|
122 | * Tue Feb 1 2000 Bill Nottingham <notting@redhat.com> |
---|
123 | - use /lib/cpp, not gcc -E (#8612) |
---|
124 | |
---|
125 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
126 | - auto rebuild in the new build environment (release 2) |
---|
127 | |
---|
128 | * Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com> |
---|
129 | - update to 4.6.1 (#1516). |
---|
130 | - use %configure |
---|
131 | |
---|
132 | * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com> |
---|
133 | - build for 6.0 |
---|
134 | |
---|
135 | * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com> |
---|
136 | - build root |
---|
137 | |
---|
138 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
139 | - translations modified for de, fr, tr |
---|
140 | |
---|
141 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
142 | - built against glibc |
---|