cdecl-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. %description
  14. The cdecl package includes the cdecl and c++decl utilities, which are
  15. used to translate English to C or C++ function declarations and vice
  16. versa.
  17. %description -l ja
  18. cdecl は cdecl や c++decl ユーティリティを含んだパッケージです。
  19. これらのユーティリティは英語を C や C++の関数宣言に翻訳したり、
  20. その逆の場合に使われます。
  21. %prep
  22. %setup -q
  23. %patch0 -p1 -b .misc
  24. %build
  25. make CFLAGS="$RPM_OPT_FLAGS"
  26. %install
  27. rm -rf %{buildroot}
  28. mkdir -p %{buildroot}%{_bindir}
  29. mkdir -p %{buildroot}%{_mandir}/man1
  30. make BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}/man1 \
  31. install
  32. %clean
  33. rm -rf %{buildroot}
  34. %files
  35. %defattr(-,root,root)
  36. %{_bindir}/*
  37. %{_mandir}/man1/*
  38. %changelog
  39. * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 2.5-23vl5
  40. - applied new versioning policy, spec in utf-8
  41. * Sat Mar 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5-22vl2
  42. - rebuilt with new toolchains
  43. * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 2.5-22vl1
  44. - patch/spec synced with Rawhide 2.5-22
  45. * Fri Oct 13 2000 MACHINO, Satoshi <machino@vinelinux.org> 2.5-9vl1
  46. - added %description -l ja
  47. - fixed in %files for brp-redhat
  48. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  49. - auto rebuild in the new build environment (release 9)
  50. * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
  51. - built for glibc 2.1
  52. * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
  53. - build root
  54. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  55. - translations modified for de, fr, tr
  56. * Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
  57. - built against readline lib w/ proper soname
  58. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  59. - built against glibc