source: projects/specs/branches/6/c/cproto/cproto-vl.spec @ 6356

Revision 6356, 4.5 KB checked in by Takemikaduchi, 12 years ago (diff)

adjtimex,coriander,corosync,cproto,cscope,dbmail,dcraw: new upstream release
others: rebuild

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