oniguruma-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. %define srcname onig
  2. %global ver 6.9.7
  3. %global rev 1
  4. Summary: Oniguruma - A regular expressions library
  5. Summary(ja): 鬼車 - 正規表現ライブラリ
  6. Name: oniguruma
  7. Version: %{ver}%{?rev:.}%{?rev}
  8. Release: 1%{?_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. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  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: programming
  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. %debug_package
  42. %prep
  43. %autosetup -p1 -n %{srcname}-%{ver}
  44. %build
  45. %configure \
  46. --enable-posix-api \
  47. --disable-silent-rules \
  48. --disable-static
  49. %__make %{?_smp_mflags}
  50. %install
  51. %__rm -rf %{buildroot}
  52. %makeinstall
  53. # remove unneeded files
  54. %__rm -f %{buildroot}%{_libdir}/libonig.a
  55. %__rm -f %{buildroot}%{_libdir}/libonig.la
  56. %clean
  57. %__rm -rf %{buildroot}
  58. %files
  59. %defattr(-,root,root,-)
  60. %license COPYING
  61. %doc AUTHORS HISTORY README README.ja
  62. %{_libdir}/libonig.so.*
  63. %files devel
  64. %defattr(-,root,root)
  65. %doc doc/*
  66. %{_bindir}/onig-config
  67. %{_libdir}/pkgconfig/oniguruma.pc
  68. %{_libdir}/libonig.so
  69. %{_includedir}/onig*.h
  70. %changelog
  71. * Tue Aug 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.7.1-1
  72. - new upstream release.
  73. - dropped Patch1000: fixed in upstream.
  74. * Wed Oct 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-3
  75. - imported Patch1000 from upstream to fix CVE-2020-26159.
  76. * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-2
  77. - enabled POSIX API.
  78. * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-1
  79. - new upstream release.
  80. * Wed Dec 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.4-1
  81. - new upstream release.
  82. * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.3-1
  83. - new upstream release.
  84. * Wed Nov 18 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.6-1
  85. - new upstream release
  86. - changed %%URL, %%Source0
  87. * Sun Jan 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 5.9.5-1
  88. - update to 5.9.5
  89. - add pkgconfig file in devel package
  90. * Sat Jan 05 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.3-1
  91. - new upstream release
  92. * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.9.2-2
  93. - rebuild on current VineSeed
  94. * Tue Jan 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.2-1
  95. - new upstream release
  96. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.1-1vl5
  97. - new upstream release
  98. - fixed remove unneeded files (added "delete libonig.la")
  99. * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 4.7.1-1vl5
  100. - applied new versioning policy, spec in utf-8
  101. - dropt lib*.la
  102. * Tue Sep 04 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.7.1-0vl1
  103. - new upstream release
  104. * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.6.1-0vl1
  105. - new upstream release
  106. * Wed Dec 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.5.1-0vl1
  107. - new upstream release
  108. * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.6-0vl1
  109. - new upstream release
  110. * Fri Sep 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.4-0vl1
  111. - new upstream release
  112. * Wed Aug 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.1-0vl1
  113. - new upstream release
  114. * Mon Aug 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3.0-0vl1
  115. - new upstream release
  116. - fix typo
  117. * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl2
  118. - fix typo
  119. * Fri Aug 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl1
  120. - initial build