oniguruma-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. %define srcname onig
  2. %global ver 6.9.5
  3. %global rev rev1
  4. Summary: Oniguruma - A regular expressions library
  5. Summary(ja): 鬼車 - 正規表現ライブラリ
  6. Name: oniguruma
  7. Version: %{ver}%{?rev:.}%{?rev}
  8. Release: 3%{?_dist_release}
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. License: BSD
  12. Group: system
  13. URL: https://github.com/kkos/oniguruma
  14. Source0: https://github.com/kkos/oniguruma/releases/download/v%{ver}%{?rev:_}%{?rev}/%{srcname}-%{ver}%{?rev:-}%{?rev}.tar.gz
  15. Patch1000: CVE-2020-26159.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Requires(post): ldconfig
  18. Requires(postun): ldconfig
  19. %description
  20. Oniguruma is a regular expressions library.
  21. The characteristics of this library is that different character encoding
  22. for every regular expression object can be specified.
  23. %description -l ja
  24. 鬼車は正規表現ライブラリです。
  25. このライブラリの特長は、それぞれの正規表現オブジェクトごとに
  26. 異なる文字エンコーディングを指定できることです。
  27. %package devel
  28. Summary: Libraries/include files for Oniguruma
  29. Summary(ja): 鬼車の開発用ファイル
  30. Group: programming
  31. Requires: %{name} = %{version}-%{release}
  32. %description devel
  33. Oniguruma is a regular expressions library.
  34. The characteristics of this library is that different character encoding
  35. for every regular expression object can be specified.
  36. This package contains the libraries and includes files necessary to develop
  37. applications with Oniguruma.
  38. %description -l ja devel
  39. 鬼車は正規表現ライブラリです。
  40. このライブラリの特長は、それぞれの正規表現オブジェクトごとに
  41. 異なる文字エンコーディングを指定できることです。
  42. このパッケージには、鬼車を使ったアプリケーションの開発に必要な
  43. ライブラリ及びヘッダファイルが含まれています。
  44. %debug_package
  45. %prep
  46. %autosetup -p1 -n %{srcname}-%{ver}
  47. %build
  48. %configure \
  49. --enable-posix-api \
  50. --disable-silent-rules \
  51. --disable-static
  52. %__make %{?_smp_mflags}
  53. %install
  54. %__rm -rf %{buildroot}
  55. %makeinstall
  56. # remove unneeded files
  57. %__rm -f %{buildroot}%{_libdir}/libonig.a
  58. %__rm -f %{buildroot}%{_libdir}/libonig.la
  59. %clean
  60. %__rm -rf %{buildroot}
  61. %post -p /sbin/ldconfig
  62. %postun -p /sbin/ldconfig
  63. %files
  64. %defattr(-,root,root,-)
  65. %license COPYING
  66. %doc AUTHORS HISTORY README README.ja
  67. %{_libdir}/libonig.so.*
  68. %files devel
  69. %defattr(-,root,root)
  70. %doc doc/*
  71. %{_bindir}/onig-config
  72. %{_libdir}/pkgconfig/oniguruma.pc
  73. %{_libdir}/libonig.so
  74. %{_includedir}/onig*.h
  75. %changelog
  76. * Wed Oct 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-3
  77. - imported Patch1 from upstream to fix CVE-2020-26159.
  78. * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-2
  79. - enabled POSIX API.
  80. * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-1
  81. - new upstream release.
  82. * Wed Dec 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.4-1
  83. - new upstream release.
  84. * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.3-1
  85. - new upstream release.
  86. * Wed Nov 18 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.6-1
  87. - new upstream release
  88. - changed %%URL, %%Source0
  89. * Sun Jan 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 5.9.5-1
  90. - update to 5.9.5
  91. - add pkgconfig file in devel package
  92. * Sat Jan 05 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.3-1
  93. - new upstream release
  94. * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.9.2-2
  95. - rebuild on current VineSeed
  96. * Tue Jan 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.2-1
  97. - new upstream release
  98. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.1-1vl5
  99. - new upstream release
  100. - fixed remove unneeded files (added "delete libonig.la")
  101. * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 4.7.1-1vl5
  102. - applied new versioning policy, spec in utf-8
  103. - dropt lib*.la
  104. * Tue Sep 04 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.7.1-0vl1
  105. - new upstream release
  106. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.6.1-0vl1
  107. - new upstream release
  108. * Wed Dec 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.5.1-0vl1
  109. - new upstream release
  110. * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.6-0vl1
  111. - new upstream release
  112. * Fri Sep 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.4-0vl1
  113. - new upstream release
  114. * Wed Aug 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.1-0vl1
  115. - new upstream release
  116. * Mon Aug 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3.0-0vl1
  117. - new upstream release
  118. - fix typo
  119. * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl2
  120. - fix typo
  121. * Fri Aug 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl1
  122. - initial build