cproto-vl.spec 4.4 KB

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