oniguruma-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. %define srcname onig
  2. Summary: Oniguruma - A regular expressions library
  3. Summary(ja): 鬼車 - 正規表現ライブラリ
  4. Name: oniguruma
  5. Version: 5.9.6
  6. Release: 1%{?_dist_release}
  7. License: BSD
  8. Group: System Environment/Libraries
  9. URL: https://github.com/kkos/oniguruma
  10. Source0: https://github.com/kkos/oniguruma/releases/download/%{version}/%{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}/pkgconfig/oniguruma.pc
  67. %{_libdir}/libonig.so
  68. %{_includedir}/onig*.h
  69. %changelog
  70. * Wed Nov 18 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.6-1
  71. - new upstream release
  72. - changed %%URL, %%Source0
  73. * Sun Jan 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 5.9.5-1
  74. - update to 5.9.5
  75. - add pkgconfig file in devel package
  76. * Sat Jan 05 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.3-1
  77. - new upstream release
  78. * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.9.2-2
  79. - rebuild on current VineSeed
  80. * Tue Jan 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.2-1
  81. - new upstream release
  82. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.1-1vl5
  83. - new upstream release
  84. - fixed remove unneeded files (added "delete libonig.la")
  85. * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 4.7.1-1vl5
  86. - applied new versioning policy, spec in utf-8
  87. - dropt lib*.la
  88. * Tue Sep 04 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.7.1-0vl1
  89. - new upstream release
  90. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.6.1-0vl1
  91. - new upstream release
  92. * Wed Dec 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.5.1-0vl1
  93. - new upstream release
  94. * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.6-0vl1
  95. - new upstream release
  96. * Fri Sep 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.4-0vl1
  97. - new upstream release
  98. * Wed Aug 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.1-0vl1
  99. - new upstream release
  100. * Mon Aug 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3.0-0vl1
  101. - new upstream release
  102. - fix typo
  103. * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl2
  104. - fix typo
  105. * Fri Aug 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl1
  106. - initial build