global-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. #%define priority 30
  2. Summary: GNU GLOBAL is a source code tag system
  3. Summary(ja): GNU GLOBAL ソースコードタグシステム
  4. Name: global
  5. Version: 6.2.2
  6. Release: 1%{?_dist_release}
  7. License: GPLv3
  8. Group: Development/Tools
  9. URL: http://www.gnu.org/software/global/
  10. Source0: ftp://ftp.gnu.org/pub/gnu/global/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: ncurses-devel
  13. Requires: perl
  14. Requires(post,preun): /sbin/install-info
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. GNU GLOBAL is a source code tag system that works the same way across diverse
  19. environments. It supports C, C++, Yacc, Java and PHP4 source code.
  20. %description -l ja
  21. GNU GLOBAL はソースコードに索引付けを行います.
  22. C, C++, Yacc, Java, PHP4 のソースコードをサポートします.
  23. %prep
  24. %setup -q
  25. %build
  26. %configure --disable-static
  27. make
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make DESTDIR=$RPM_BUILD_ROOT install
  31. pushd $RPM_BUILD_ROOT%{_datadir}/gtags
  32. rm -f AUTHORS BOKIN_* COPYING ChangeLog DONORS FAQ \
  33. INSTALL LICENSE NEWS README THANKS
  34. popd
  35. rm -f $RPM_BUILD_ROOT%{_libdir}/gtags/*.la
  36. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %post
  40. /sbin/install-info %{_infodir}/global.info.* %{_infodir}/dir
  41. %preun
  42. if [ $1 = 0 ]; then
  43. /sbin/install-info --delete %{_infodir}/global.info.* %{_infodir}/dir
  44. fi
  45. %files
  46. %defattr(-,root,root)
  47. %doc AUTHORS BOKIN_* COPYING ChangeLog DONORS FAQ INSTALL
  48. %doc LICENSE NEWS README THANKS
  49. %doc gtags.conf gtags.el gtags.pl gtags.vim
  50. %{_bindir}/*
  51. %{_libdir}/gtags/*.so
  52. %{_mandir}/man?/*
  53. %{_datadir}/gtags
  54. %{_infodir}/global.info*
  55. %changelog
  56. * Tue May 15 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 6.2.2-1
  57. - new upstream release
  58. - added BR: ncurses-devel
  59. * Tue May 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.8.2-1
  60. - new upstream release
  61. * Tue May 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.8.2-1
  62. - new upstream release
  63. * Thu Dec 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.7.7-1
  64. - new upstream release
  65. * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.7.5-1
  66. - new upstream release
  67. - spec in UTF-8
  68. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.7.1-1
  69. - new upstream release
  70. * Fri Jan 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.6.2-0vl1
  71. - new upstream release
  72. * Wed Aug 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.6-0vl1
  73. - new upstream release
  74. * Tue Oct 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.2-0vl1
  75. - new upstream release
  76. * Tue Oct 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.7-0vl1
  77. - new upstream release
  78. - this version is not necessary to use alternatives
  79. * Wed Aug 6 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 4.6-0vl2
  80. - use alternatives for gctags
  81. - fix typo in URL
  82. * Fri Aug 1 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 4.6-0vl1
  83. - update to 4.6
  84. - rename gctags.1 to gctags.global.1
  85. * Sat Jul 19 2003 Kunio Murasawa <murasawa@fa2.so-net.ne.jp> 4.5.3-0vl1
  86. - update to 4.5.3
  87. - changed URL
  88. - removed gctags.1* (conflict emacs package)
  89. * Mon May 5 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 4.5.2-0vl1
  90. - Initial build.