oniguruma-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. %define srcname onig
  2. Summary: Oniguruma - A regular expressions library
  3. Summary(ja): 鬼車 - 正規表現ライブラリ
  4. Name: oniguruma
  5. Version: 5.9.2
  6. Release: 1%{?_dist_release}
  7. License: BSD
  8. Group: System Environment/Libraries
  9. URL: http://www.geocities.jp/kosako3/oniguruma/
  10. Source0: http://www.geocities.jp/kosako3/oniguruma/archive/%{srcname}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Requires(post): ldconfig
  15. Requires(postun): ldconfig
  16. %description
  17. Oniguruma is a regular expressions library.
  18. The characteristics of this library is that different character encoding
  19. for every regular expression object can be specified.
  20. %description -l ja
  21. 鬼車は正規表現ライブラリです。
  22. このライブラリの特長は、それぞれの正規表現オブジェクトごとに
  23. 異なる文字エンコーディングを指定できることです。
  24. %package devel
  25. Summary: Libraries/include files for Oniguruma
  26. Summary(ja): 鬼車の開発用ファイル
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. %description devel
  30. Oniguruma is a regular expressions library.
  31. The characteristics of this library is that different character encoding
  32. for every regular expression object can be specified.
  33. This package contains the libraries and includes files necessary to develop
  34. applications with Oniguruma.
  35. %description -l ja devel
  36. 鬼車は正規表現ライブラリです。
  37. このライブラリの特長は、それぞれの正規表現オブジェクトごとに
  38. 異なる文字エンコーディングを指定できることです。
  39. このパッケージには、鬼車を使ったアプリケーションの開発に必要な
  40. ライブラリ及びヘッダファイルが含まれています。
  41. %prep
  42. %setup -q -n %{srcname}-%{version}
  43. %build
  44. %configure
  45. %__make %{?_smp_mflags}
  46. %install
  47. %__rm -rf %{buildroot}
  48. %makeinstall
  49. # remove unneeded files
  50. %__rm -f %{buildroot}%{_libdir}/libonig.a
  51. %__rm -f %{buildroot}%{_libdir}/libonig.la
  52. %clean
  53. %__rm -rf %{buildroot}
  54. %post
  55. /sbin/ldconfig
  56. %postun
  57. /sbin/ldconfig
  58. %files
  59. %defattr(-,root,root,-)
  60. %doc AUTHORS COPYING HISTORY README README.ja
  61. %{_libdir}/libonig.so.*
  62. %files devel
  63. %defattr(-,root,root)
  64. %doc doc/*
  65. %{_bindir}/onig-config
  66. %{_libdir}/libonig.so
  67. #%{_libdir}/libonig.la
  68. %{_includedir}/onig*.h
  69. %changelog
  70. * Tue Jan 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.2-1
  71. - new upstream release
  72. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.1-1vl5
  73. - new upstream release
  74. - fixed remove unneeded files (added "delete libonig.la")
  75. * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 4.7.1-1vl5
  76. - applied new versioning policy, spec in utf-8
  77. - dropt lib*.la
  78. * Tue Sep 04 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.7.1-0vl1
  79. - new upstream release
  80. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.6.1-0vl1
  81. - new upstream release
  82. * Wed Dec 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.5.1-0vl1
  83. - new upstream release
  84. * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.6-0vl1
  85. - new upstream release
  86. * Fri Sep 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.4-0vl1
  87. - new upstream release
  88. * Wed Aug 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.1-0vl1
  89. - new upstream release
  90. * Mon Aug 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3.0-0vl1
  91. - new upstream release
  92. - fix typo
  93. * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl2
  94. - fix typo
  95. * Fri Aug 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl1
  96. - initial build